32 lines
564 B
Go
32 lines
564 B
Go
package game
|
|
|
|
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: "game",
|
|
}
|
|
|
|
type Client struct {
|
|
sdk.Client
|
|
}
|
|
|
|
func NewClient() (client *Client, err error) {
|
|
client = new(Client)
|
|
err = client.Init()
|
|
return
|
|
}
|
|
|
|
// GetGameOsInfo 获取游戏系统信息
|
|
func (c *Client) GetGameOsInfo(req *GetGameOsInfoReq) (resp *GetGameOsInfoResp, err error) {
|
|
resp = CreateGetGameOsInfoResp()
|
|
err = c.DoAction(req, resp)
|
|
return
|
|
}
|