package script import ( "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk" "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk/requests" ) const ( VERSION = "2020-11-16" ) var HOST = requests.Host{ Default: "script", } type Client struct { sdk.Client } func NewClient() (client *Client, err error) { client = new(Client) err = client.Init() return } // OpenGame 同步到游戏中心 func (c *Client) OpenGame(req *OpenGameReq) (resp *OpenGameResp, err error) { resp = CreateOpenGameResp() err = c.DoAction(req, resp) if err != nil { return } return }