| | |
| | | "FlashGiftbag":(
|
| | | ("DWORD", "GiftbagID", 1),
|
| | | ("WORD", "GiftbagType", 0),
|
| | | ("DWORD", "OriginalRMB", 0),
|
| | | ("float", "OriginalRMB", 0),
|
| | | ("WORD", "BuyCountLimit", 0),
|
| | | ("list", "GiftItemList", 0),
|
| | | ("DWORD", "MainItemID", 0),
|
| | |
| | |
|
| | | "TotalRechargeTemplate":(
|
| | | ("DWORD", "TemplateID", 1),
|
| | | ("DWORD", "NeedGold", 0),
|
| | | ("float", "NeedGold", 0),
|
| | | ("BYTE", "AwardIndex", 0),
|
| | | ("dict", "AwardItem", 0),
|
| | | ("char", "NotifyKey", 0),
|
| | |
| | |
|
| | | "HistoryRechargeAward":(
|
| | | ("BYTE", "ID", 1),
|
| | | ("DWORD", "Recharge", 0),
|
| | | ("float", "NeedRMB", 0),
|
| | | ("dict", "Reward", 0),
|
| | | ),
|
| | | }
|
| | |
| | | def __init__(self): |
| | | self.GiftbagID = 0
|
| | | self.GiftbagType = 0
|
| | | self.OriginalRMB = 0
|
| | | self.OriginalRMB = 0.0
|
| | | self.BuyCountLimit = 0
|
| | | self.GiftItemList = []
|
| | | self.MainItemID = 0
|
| | |
| | | |
| | | def __init__(self): |
| | | self.TemplateID = 0
|
| | | self.NeedGold = 0
|
| | | self.NeedGold = 0.0
|
| | | self.AwardIndex = 0
|
| | | self.AwardItem = {}
|
| | | self.NotifyKey = "" |
| | | return |
| | | |
| | | def GetTemplateID(self): return self.TemplateID # 模板ID
|
| | | def GetNeedGold(self): return self.NeedGold # 需要充值仙玉数
|
| | | def GetNeedGold(self): return self.NeedGold # 需要充值RMB,元
|
| | | def GetAwardIndex(self): return self.AwardIndex # 返利奖励索引0~31,同个模板中不重复
|
| | | def GetAwardItem(self): return self.AwardItem # 返利物品信息列表 {职业:[(物品ID,个数,是否绑定),...]}
|
| | | def GetNotifyKey(self): return self.NotifyKey # 全服广播key,默认两个参数(玩家名, 档位额度) |
| | |
| | | |
| | | def __init__(self): |
| | | self.ID = 0
|
| | | self.Recharge = 0
|
| | | self.NeedRMB = 0.0
|
| | | self.Reward = {} |
| | | return |
| | | |
| | | def GetID(self): return self.ID # id
|
| | | def GetRecharge(self): return self.Recharge # 所需充值元
|
| | | def GetNeedRMB(self): return self.NeedRMB # 所需充值元
|
| | | def GetReward(self): return self.Reward # 职业对应的奖励内容,每个职业4组数据,物品ID和物品数量(1.枪豪2.道师3.剑修) |
| | |
|
| | |
|