| | |
| | |
|
| | | "DailyAction":(
|
| | | ("DWORD", "DailyID", 1),
|
| | | ("dict", "OpenTimeDict", 0),
|
| | | ("DWORD", "Duration", 0),
|
| | | ("DWORD", "DayTimes", 0),
|
| | | ("DWORD", "DayBuyTimes", 0),
|
| | | ("DWORD", "BuyNeedMoney", 0),
|
| | |
| | | |
| | | def __init__(self): |
| | | self.DailyID = 0
|
| | | self.OpenTimeDict = {}
|
| | | self.Duration = 0
|
| | | self.DayTimes = 0
|
| | | self.DayBuyTimes = 0
|
| | | self.BuyNeedMoney = 0
|
| | |
| | | return |
| | | |
| | | def GetDailyID(self): return self.DailyID # 活动ID
|
| | | def GetOpenTimeDict(self): return self.OpenTimeDict # 开启时间
|
| | | def GetDuration(self): return self.Duration # 持续时间, 0为不限制
|
| | | def GetDayTimes(self): return self.DayTimes # 每日次数, 0为不限制
|
| | | def GetDayBuyTimes(self): return self.DayBuyTimes # 每日可购买次数
|
| | | def GetBuyNeedMoney(self): return self.BuyNeedMoney # 购买次数需要仙玉
|