package values import "server/common" // GameListReq 请求gamelist // Provider 游戏供应商,为0时代表请求所有 // Name 游戏名 // Type 游戏类别 // Mark 标签 // Page 页码 // Num 单页个数 type GameListReq struct { Provider int // 游戏提供商 Name string // 游戏名 Page int Num int Type int Mark int } type GameTagReq struct { TagId int `json:"tagId"` // 标签id } type GameTagResp struct { Banners []Banner Tags []TagWithGameList } type GameListNewReq struct { TagId int `json:"tagId"` // 一级标签 SubTagId int `json:"subTagId"` // 二级标签 GameName string `json:"gameName"` // 游戏名称(模糊匹配) Page int `json:"page"` PageSize int `json:"pageSize"` } // Provider 游戏提供商 // List 列表 type GameListResp struct { Provider int // 游戏提供商 List []*common.ConfigGameList } type GameListNewResp struct { List []GameData `json:"list"` Total int `json:"total"` } // EnterGameReq 进入游戏 // Provider int 游戏提供商 // GameID int 游戏id // Currency int 选择的币种 // IsDemo bool 是否是免费模式 // SubID int 游戏子id type EnterGameReq struct { Provider int // 游戏提供商 GameID int // 游戏id Currency common.CurrencyType // 选择的币种 IsDemo bool // 免费模式 SubID int // 游戏子id } type EnterGameNewReq struct { Provider int `json:"provider"` // 游戏提供商 GameID int `json:"gameId"` // 游戏id } // EnterGameResp 进入游戏 // Method 进入方式 1url 2html type EnterGameResp struct { GameId int `json:"gameId"` // 游戏id URL string `json:"url"` // 跳转网址 Method int } // GameHistoryReq 请求历史 // Page 页码 // Num 单页个数 type GameHistoryReq struct { UID int Page int Num int } type GameHistoryResp struct { List []BetRecord } // BetRecord 下注记录 // GameName 游戏名 // Vip vip等级 // BetAmount 下注额 // SettleAmount 发奖 // Multiplier 倍率 type BetRecord struct { UID int Provider int GameID int GameName string Time int64 Nick string Avatar string Vip int BetAmount int64 SettleAmount int64 Multiplier string CurrencyType common.CurrencyType } // GameProfileReq 请求生涯数据返回 type GameProfileResp struct { Birth int64 Statistics []common.PlayerProfile TopWins []TopWins } type TopWins struct { Provider int GameID int GameName string Time int64 BetAmount int64 SettleAmount int64 CurrencyType common.CurrencyType } type GameSearchReq struct { Provider int // 游戏提供商 Name string // 游戏名 Page int Num int } type GameSearchResp struct { List []*common.ConfigGameList }