| | |
| | | ("BYTE", "IsDayReset", 0),
|
| | | ("DWORD", "Prosperity", 0),
|
| | | ("WORD", "CandyTimes", 0),
|
| | | ("list", "CandyItemInfo", 0),
|
| | | ("list", "CandyItemWeightInfo", 0),
|
| | | ("list", "CandyNotifyItemInfo", 0),
|
| | | ("list", "BrideGiftItemInfo", 0),
|
| | | ("char", "WorldNotifyKey", 0),
|
| | | ),
|
| | |
| | | self.IsDayReset = 0
|
| | | self.Prosperity = 0
|
| | | self.CandyTimes = 0
|
| | | self.CandyItemInfo = []
|
| | | self.CandyItemWeightInfo = []
|
| | | self.CandyNotifyItemInfo = []
|
| | | self.BrideGiftItemInfo = []
|
| | | self.WorldNotifyKey = "" |
| | | return |
| | |
| | | def GetIsDayReset(self): return self.IsDayReset # 是否每日重置
|
| | | def GetProsperity(self): return self.Prosperity # 初始繁荣度
|
| | | def GetCandyTimes(self): return self.CandyTimes # 喜糖持续时间秒
|
| | | def GetCandyItemInfo(self): return self.CandyItemInfo # 喜糖物品列表[[物品ID,个数,是否拍品], ...]
|
| | | def GetCandyItemWeightInfo(self): return self.CandyItemWeightInfo # 喜糖物品库权重列表[[权重, 物品ID,个数,是否拍品], ...]
|
| | | def GetCandyNotifyItemInfo(self): return self.CandyNotifyItemInfo # 喜糖需要广播的物品ID列表
|
| | | def GetBrideGiftItemInfo(self): return self.BrideGiftItemInfo # 聘礼物品列表[[物品ID,个数,是否拍品], ...]
|
| | | def GetWorldNotifyKey(self): return self.WorldNotifyKey # 广播key |
| | | |