18 lines
526 B
Go
18 lines
526 B
Go
![]() |
package data
|
||
|
|
||
|
type BattlePassSeason struct {
|
||
|
Id int `json:"id"` //赛季ID
|
||
|
MaxLevel int `json:"max_level"` //通行证最大等级
|
||
|
Price int `json:"price"` //特权通行证购买价格
|
||
|
BeginTime string `json:"begin_time"` //通行证开启时间
|
||
|
ContinuousDay int `json:"continuous_day"` //通行证玩法持续时间
|
||
|
}
|
||
|
|
||
|
func (data *BattlePassSeason) id() int {
|
||
|
return data.Id
|
||
|
}
|
||
|
|
||
|
type BattlePassSeasonTable struct {
|
||
|
table[int, *BattlePassSeason]
|
||
|
}
|