印度包网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

98 lines
2.0 KiB

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
}
// Provider 游戏提供商
// List 列表
type GameListResp struct {
Provider int // 游戏提供商
List []*common.ConfigGameList
}
// 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
}
// EnterGameResp 进入游戏
// Method 进入方式 1url 2html
type EnterGameResp struct {
URL string // 跳转网址
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
}