ecs/servers/game/data_old/monthly_card.go

25 lines
1.0 KiB
Go
Raw Normal View History

2025-06-04 18:17:39 +08:00
package data
type MonthlyCard struct {
Id int `json:"id"` //索引(对应充值ID)
MonthlyCardType int `json:"monthly_card_type"` //月卡类型
CardRewardId int `json:"card_reward_id"` //月卡一次性奖励id
CardRewardNum int `json:"card_reward_num"` //月卡一次性奖励物品数量
EffectiveDay int `json:"effective_day"` //月卡生效天数
MaxEffectiveDay int `json:"max_effective_day"` //月卡最大生效天数
ActiveRewardList []int `json:"active_reward_list"` //每日活跃道具奖励id
ActiveNumList []int `json:"active_num_list"` //每日活跃道具奖励num
PrivilegeType []int `json:"privilege_type"` //特权类型
PrivilegeArg []int `json:"privilege_arg"` //特权参数
MailTitle int `json:"mail_title"` //邮件标题
MailContent int `json:"mail_content"` //邮件内容
}
func (data *MonthlyCard) id() int {
return data.Id
}
type MonthlyCardTable struct {
table[int, *MonthlyCard]
}