| | |
| | | ("list", "LingQiAttrID", 0),
|
| | | ("list", "LingQiAttrValue", 0),
|
| | | ("DWORD", "LingQiAttrScore", 0),
|
| | | ("dict", "UpCostItem", 0),
|
| | | ("DWORD", "NextItemID", 0),
|
| | | ),
|
| | |
|
| | | "Realm":(
|
| | |
| | | ("WORD", "LimiRealmLV", 0),
|
| | | ("DWORD", "LimitMissionID", 0),
|
| | | ("BYTE", "LimitVIPLV", 0),
|
| | | ("char", "MailKey", 0),
|
| | | ),
|
| | |
|
| | | "ItemCompound":(
|
| | |
| | | ("BYTE", "ItemType", 1),
|
| | | ("BYTE", "ItemColor", 1),
|
| | | ("BYTE", "IsSuit", 1),
|
| | | ("BYTE", "ItemQuality", 1),
|
| | | ("list", "LegendAttrCountInfo", 0),
|
| | | ),
|
| | |
|
| | |
| | | ("BYTE", "ItemClassLV", 1),
|
| | | ("BYTE", "ItemColor", 1),
|
| | | ("BYTE", "IsSuit", 1),
|
| | | ("BYTE", "ItemQuality", 1),
|
| | | ("dict", "LVLegendAttrLibNumInfo", 0),
|
| | | ),
|
| | |
|
| | |
| | | ("DWORD", "LostHPPerSecond", 0),
|
| | | ("BYTE", "MaxPlayerCount", 0),
|
| | | ("DWORD", "LostHPPerSecondEx", 0),
|
| | | ("BYTE", "FightPowerMinByLV", 0),
|
| | | ("DWORD", "FightPowerMin", 0),
|
| | | ("DWORD", "FightPowerMax", 0),
|
| | | ("DWORD", "EveryFightPower", 0),
|
| | |
| | | ("BYTE", "ClassLV", 1),
|
| | | ("BYTE", "EquipColor", 1),
|
| | | ("BYTE", "IsSuit", 1),
|
| | | ("BYTE", "ItemQuality", 1),
|
| | | ("DWORD", "BaseEquipMaxHPAddPerC", 0),
|
| | | ("DWORD", "BaseEquipAtkAddPerC", 0),
|
| | | ("DWORD", "SuperHitC", 0),
|
| | |
| | | ("DWORD", "PerLVMaxHPC", 0),
|
| | | ("DWORD", "DropMoneyPerC", 0),
|
| | | ("DWORD", "SuperHitReduceC", 0),
|
| | | ("DWORD", "SuperHitRateReduceC", 0),
|
| | | ("DWORD", "HitC", 0),
|
| | | ("DWORD", "MissC", 0),
|
| | | ("DWORD", "PetDamPerC", 0),
|
| | | ),
|
| | |
|
| | | "Success":(
|
| | |
| | |
|
| | | "AppointItem":(
|
| | | ("DWORD", "ID", 1),
|
| | | ("BYTE", "SuiteLV", 0),
|
| | | ("BYTE", "CancelUseLimit", 0),
|
| | | ("list", "LegendAttrID", 0),
|
| | | ("list", "LegendAttrValue", 0),
|
| | |
| | | "SealDemon":(
|
| | | ("DWORD", "NPCID", 1),
|
| | | ("BYTE", "LineID", 0),
|
| | | ("WORD", "KillTime", 0),
|
| | | ("list", "OwnerAwardItemEx", 0),
|
| | | ),
|
| | |
|
| | | "FbEncourage":(
|
| | |
| | | ("BYTE", "MoneyType", 0),
|
| | | ("DWORD", "MoneyCount", 0),
|
| | | ("list", "NeedNotifyItemList", 0),
|
| | | ("BYTE", "IsDropJobSelf", 0),
|
| | | ("list", "PieRateDrop", 0),
|
| | | ("BYTE", "PieRateDoCnt", 0),
|
| | | ("dict", "IndepRateDrop", 0),
|
| | | ("dict", "EquipColorSuitInfo", 0),
|
| | | ("dict", "EquipPartKeyRateInfo", 0),
|
| | | ),
|
| | |
|
| | | "VIPKillNPC":(
|
| | |
| | |
|
| | | "CTG":(
|
| | | ("BYTE", "RecordID", 1),
|
| | | ("BYTE", "CanResetBuyCount", 0),
|
| | | ("BYTE", "TotalBuyCount", 0),
|
| | | ("BYTE", "DailyBuyCount", 0),
|
| | | ("WORD", "GainGold", 0),
|
| | | ("WORD", "GainGoldPrize", 0),
|
| | |
| | | ("char", "Reward", 0),
|
| | | ),
|
| | |
|
| | | "ZhuXianSuitAttr":(
|
| | | ("BYTE", "SuitType", 1),
|
| | | ("BYTE", "SuitLV", 1),
|
| | | ("list", "SuitAttrIDList", 0),
|
| | | ("list", "SuitAttrValueList", 0),
|
| | | ),
|
| | |
|
| | | "ZhuXianBoss":(
|
| | | ("DWORD", "NPCID", 0),
|
| | | ("BYTE", "LineID", 1),
|
| | | ("WORD", "KillTime", 0),
|
| | | ("WORD", "RealmLV", 0),
|
| | | ("DWORD", "ZhuXianScore", 0),
|
| | | ),
|
| | |
|
| | | "ZhuXianEquipDecompose":(
|
| | | ("BYTE", "ClassLV", 1),
|
| | | ("dict", "DecomposeInfo", 0),
|
| | | ),
|
| | |
|
| | | "ActFeastWeekParty":(
|
| | |
| | | ("DWORD", "Index", 1),
|
| | | ("DWORD", "NeedPoint", 0),
|
| | | ("dict", "Award", 0),
|
| | | ),
|
| | |
|
| | | "ZhuXianStoneAttr":(
|
| | | ("BYTE", "SuitType", 1),
|
| | | ("BYTE", "ShareSoneLV", 1),
|
| | | ("list", "AttrIDList", 0),
|
| | | ("list", "AttrValueList", 0),
|
| | | ),
|
| | |
|
| | | "ActLuckyTreasure":(
|
| | |
| | | ("BYTE", "IsJobLimit", 0),
|
| | | ("list", "CostEquipColor", 0),
|
| | | ("BYTE", "CostEquipCnt", 0),
|
| | | ("BYTE", "SuitTotalRate", 0),
|
| | | ("BYTE", "UnSuitRate", 0),
|
| | | ("BYTE", "SuitRate", 0),
|
| | | ("dict", "CostItemDict", 0),
|
| | | ("dict", "StarAttrInfo", 0),
|
| | | ("dict", "BaseAttrInfo", 0),
|
| | |
| | | ),
|
| | |
|
| | | "FamilyBossAward":(
|
| | | ("DWORD", "BossID", 1),
|
| | | ("list", "WorldLV", 0),
|
| | | ("list", "Rank", 0),
|
| | | ("list", "Award1", 0),
|
| | |
| | | ("DWORD", "FightPower", 0),
|
| | | ("BYTE", "IsNotify", 0),
|
| | | ),
|
| | |
|
| | | "LingGenEffect":(
|
| | | ("DWORD", "ID", 0),
|
| | | ("DWORD", "PointID", 1),
|
| | | ("BYTE", "QualityLV", 1),
|
| | | ),
|
| | |
|
| | | "HorsePetSkin":(
|
| | | ("BYTE", "Type", 1),
|
| | | ("DWORD", "ID", 1),
|
| | | ("BYTE", "SkinLV", 1),
|
| | | ("DWORD", "NeedExp", 0),
|
| | | ("dict", "AttrInfo", 0),
|
| | | ("BYTE", "SkinIndex", 0),
|
| | | ),
|
| | |
|
| | | "HistoryRechargeAward":(
|
| | | ("BYTE", "ID", 1),
|
| | | ("DWORD", "Recharge", 0),
|
| | | ("dict", "Reward", 0),
|
| | | ),
|
| | | }
|
| | |
|
| | | |
| | |
| | | self.ItemID = 0
|
| | | self.LingQiAttrID = []
|
| | | self.LingQiAttrValue = []
|
| | | self.LingQiAttrScore = 0 |
| | | self.LingQiAttrScore = 0
|
| | | self.UpCostItem = {}
|
| | | self.NextItemID = 0 |
| | | return |
| | | |
| | | def GetItemID(self): return self.ItemID # 属性ID
|
| | | def GetLingQiAttrID(self): return self.LingQiAttrID # 灵器属性ID
|
| | | def GetLingQiAttrValue(self): return self.LingQiAttrValue # 灵器属性数值
|
| | | def GetLingQiAttrScore(self): return self.LingQiAttrScore # 灵器属性评分 |
| | | def GetLingQiAttrScore(self): return self.LingQiAttrScore # 灵器属性评分
|
| | | def GetUpCostItem(self): return self.UpCostItem # 突破需要材料
|
| | | def GetNextItemID(self): return self.NextItemID # 突破后物品ID |
| | | |
| | | # 境界表 |
| | | class IPY_Realm(): |
| | |
| | | self.LimitMagicWeapon = 0
|
| | | self.LimiRealmLV = 0
|
| | | self.LimitMissionID = 0
|
| | | self.LimitVIPLV = 0 |
| | | self.LimitVIPLV = 0
|
| | | self.MailKey = "" |
| | | return |
| | | |
| | | def GetFuncId(self): return self.FuncId # 功能标识
|
| | |
| | | def GetLimitMagicWeapon(self): return self.LimitMagicWeapon # 需要解锁法宝ID
|
| | | def GetLimiRealmLV(self): return self.LimiRealmLV # 需要境界等级
|
| | | def GetLimitMissionID(self): return self.LimitMissionID # 需要完成的任务ID
|
| | | def GetLimitVIPLV(self): return self.LimitVIPLV # 需要VIP等级 |
| | | def GetLimitVIPLV(self): return self.LimitVIPLV # 需要VIP等级
|
| | | def GetMailKey(self): return self.MailKey # 邮件 |
| | | |
| | | # 合成表 |
| | | class IPY_ItemCompound(): |
| | |
| | | self.ItemType = 0
|
| | | self.ItemColor = 0
|
| | | self.IsSuit = 0
|
| | | self.ItemQuality = 0
|
| | | self.LegendAttrCountInfo = [] |
| | | return |
| | | |
| | | def GetItemType(self): return self.ItemType # 物品类型
|
| | | def GetItemColor(self): return self.ItemColor # 物品颜色
|
| | | def GetIsSuit(self): return self.IsSuit # 是否套装
|
| | | def GetItemQuality(self): return self.ItemQuality # 物品星级
|
| | | def GetLegendAttrCountInfo(self): return self.LegendAttrCountInfo # 传奇属性条数信息 [[条数, [属性类型库编号, ...]], ...] |
| | | |
| | | # 装备传奇属性类型表 |
| | |
| | | self.ItemClassLV = 0
|
| | | self.ItemColor = 0
|
| | | self.IsSuit = 0
|
| | | self.ItemQuality = 0
|
| | | self.LVLegendAttrLibNumInfo = {} |
| | | return |
| | | |
| | |
| | | def GetItemClassLV(self): return self.ItemClassLV # 物品阶级
|
| | | def GetItemColor(self): return self.ItemColor # 物品颜色
|
| | | def GetIsSuit(self): return self.IsSuit # 是否套装
|
| | | def GetItemQuality(self): return self.ItemQuality # 物品星级
|
| | | def GetLVLegendAttrLibNumInfo(self): return self.LVLegendAttrLibNumInfo # 属性ID等级段对应数值库编号 {属性ID:{等级:库编号, ...}} |
| | | |
| | | # 神兽表 |
| | |
| | | self.LostHPPerSecond = 0
|
| | | self.MaxPlayerCount = 0
|
| | | self.LostHPPerSecondEx = 0
|
| | | self.FightPowerMinByLV = 0
|
| | | self.FightPowerMin = 0
|
| | | self.FightPowerMax = 0
|
| | | self.EveryFightPower = 0
|
| | |
| | | def GetLostHPPerSecond(self): return self.LostHPPerSecond # 单人每秒掉血量
|
| | | def GetMaxPlayerCount(self): return self.MaxPlayerCount # 最大人数
|
| | | def GetLostHPPerSecondEx(self): return self.LostHPPerSecondEx # 每增加一人附加掉血量
|
| | | def GetFightPowerMinByLV(self): return self.FightPowerMinByLV # 标准战力是否取等级表
|
| | | def GetFightPowerMin(self): return self.FightPowerMin # 标准战力
|
| | | def GetFightPowerMax(self): return self.FightPowerMax # 上限战力
|
| | | def GetEveryFightPower(self): return self.EveryFightPower # 每x点战力
|
| | |
| | | self.ClassLV = 0
|
| | | self.EquipColor = 0
|
| | | self.IsSuit = 0
|
| | | self.ItemQuality = 0
|
| | | self.BaseEquipMaxHPAddPerC = 0
|
| | | self.BaseEquipAtkAddPerC = 0
|
| | | self.SuperHitC = 0
|
| | |
| | | self.PerLVMaxHPC = 0
|
| | | self.DropMoneyPerC = 0
|
| | | self.SuperHitReduceC = 0
|
| | | self.SuperHitRateReduceC = 0
|
| | | self.HitC = 0
|
| | | self.MissC = 0 |
| | | self.MissC = 0
|
| | | self.PetDamPerC = 0 |
| | | return |
| | | |
| | | def GetClassLV(self): return self.ClassLV # 装备阶级
|
| | | def GetEquipColor(self): return self.EquipColor # 装备颜色
|
| | | def GetIsSuit(self): return self.IsSuit # 是否套装
|
| | | def GetItemQuality(self): return self.ItemQuality # 物品星级
|
| | | def GetBaseEquipMaxHPAddPerC(self): return self.BaseEquipMaxHPAddPerC # 基础防具生命百分比系数
|
| | | def GetBaseEquipAtkAddPerC(self): return self.BaseEquipAtkAddPerC # 基础武器攻击百分比系数
|
| | | def GetSuperHitC(self): return self.SuperHitC # 暴击值系数
|
| | |
| | | def GetPerLVAtkC(self): return self.PerLVAtkC # 每级增加攻击力系数
|
| | | def GetPerLVMaxHPC(self): return self.PerLVMaxHPC # 每级增加生命值系数
|
| | | def GetDropMoneyPerC(self): return self.DropMoneyPerC # 增加掉落金币量百分比系数
|
| | | def GetSuperHitReduceC(self): return self.SuperHitReduceC # 暴击抗性百分比系数
|
| | | def GetSuperHitReduceC(self): return self.SuperHitReduceC # 暴击减伤百分比系数
|
| | | def GetSuperHitRateReduceC(self): return self.SuperHitRateReduceC # 暴击抗性系数
|
| | | def GetHitC(self): return self.HitC # 命中系数
|
| | | def GetMissC(self): return self.MissC # 闪避系数 |
| | | def GetMissC(self): return self.MissC # 闪避系数
|
| | | def GetPetDamPerC(self): return self.PetDamPerC # 灵宠增伤百分比系数 |
| | | |
| | | # 成就表 |
| | | class IPY_Success(): |
| | |
| | | |
| | | def __init__(self): |
| | | self.ID = 0
|
| | | self.SuiteLV = 0
|
| | | self.CancelUseLimit = 0
|
| | | self.LegendAttrID = []
|
| | | self.LegendAttrValue = [] |
| | | return |
| | | |
| | | def GetID(self): return self.ID # 定制物品ID
|
| | | def GetSuiteLV(self): return self.SuiteLV # 套装等级
|
| | | def GetCancelUseLimit(self): return self.CancelUseLimit # 穿戴限制(除职业)
|
| | | def GetLegendAttrID(self): return self.LegendAttrID # 传奇属性ID
|
| | | def GetLegendAttrValue(self): return self.LegendAttrValue # 传奇属性值 |
| | |
| | | def __init__(self): |
| | | self.NPCID = 0
|
| | | self.LineID = 0
|
| | | self.KillTime = 0 |
| | | self.OwnerAwardItemEx = [] |
| | | return |
| | | |
| | | def GetNPCID(self): return self.NPCID # ID
|
| | | def GetLineID(self): return self.LineID
|
| | | def GetKillTime(self): return self.KillTime # 击杀总时间秒 |
| | | def GetOwnerAwardItemEx(self): return self.OwnerAwardItemEx # 第一名额外奖励物品[[itemID,个数,是否拍品], ...] |
| | | |
| | | # 副本鼓舞表 |
| | | class IPY_FbEncourage(): |
| | |
| | | self.JobItemList = []
|
| | | self.MoneyType = 0
|
| | | self.MoneyCount = 0
|
| | | self.NeedNotifyItemList = [] |
| | | self.NeedNotifyItemList = []
|
| | | self.IsDropJobSelf = 0
|
| | | self.PieRateDrop = []
|
| | | self.PieRateDoCnt = 0
|
| | | self.IndepRateDrop = {}
|
| | | self.EquipColorSuitInfo = {}
|
| | | self.EquipPartKeyRateInfo = {} |
| | | return |
| | | |
| | | def GetChestsItemID(self): return self.ChestsItemID # 宝箱物品ID
|
| | |
| | | def GetJobItemList(self): return self.JobItemList # 职业物品列表
|
| | | def GetMoneyType(self): return self.MoneyType # 货币类型
|
| | | def GetMoneyCount(self): return self.MoneyCount # 货币数量
|
| | | def GetNeedNotifyItemList(self): return self.NeedNotifyItemList # 需要广播的物品ID列表 |
| | | def GetNeedNotifyItemList(self): return self.NeedNotifyItemList # 需要广播的物品ID列表
|
| | | def GetIsDropJobSelf(self): return self.IsDropJobSelf # 是否只掉落本职业
|
| | | def GetPieRateDrop(self): return self.PieRateDrop # 饼图概率掉落信息 [(概率,0),(概率,(阶,颜色)),...]
|
| | | def GetPieRateDoCnt(self): return self.PieRateDoCnt # 饼图概率执行次数
|
| | | def GetIndepRateDrop(self): return self.IndepRateDrop # 独立概率掉落信息 {(阶,颜色):概率,...}
|
| | | def GetEquipColorSuitInfo(self): return self.EquipColorSuitInfo # 装备颜色对应套装概率 {颜色:套装概率, ...}
|
| | | def GetEquipPartKeyRateInfo(self): return self.EquipPartKeyRateInfo # 装备部位集合信息 {(颜色,是否套装):部位集合key, ...} |
| | | |
| | | # VIP杀怪加攻击表 |
| | | class IPY_VIPKillNPC(): |
| | |
| | | |
| | | def __init__(self): |
| | | self.RecordID = 0
|
| | | self.CanResetBuyCount = 0
|
| | | self.TotalBuyCount = 0
|
| | | self.DailyBuyCount = 0
|
| | | self.GainGold = 0
|
| | | self.GainGoldPrize = 0
|
| | |
| | | return |
| | | |
| | | def GetRecordID(self): return self.RecordID # 记录ID
|
| | | def GetCanResetBuyCount(self): return self.CanResetBuyCount # 是否允许重置次数
|
| | | def GetTotalBuyCount(self): return self.TotalBuyCount # 总限购次数
|
| | | def GetDailyBuyCount(self): return self.DailyBuyCount # 每日限购次数
|
| | | def GetGainGold(self): return self.GainGold # 获得仙玉数
|
| | | def GetGainGoldPrize(self): return self.GainGoldPrize # 赠送仙玉数
|
| | |
| | | def GetSingleTimes(self): return self.SingleTimes # 单次领奖需要的次数
|
| | | def GetReward(self): return self.Reward # 奖励物品 |
| | | |
| | | # 诛仙装备套装属性表 |
| | | class IPY_ZhuXianSuitAttr(): |
| | | |
| | | def __init__(self): |
| | | self.SuitType = 0
|
| | | self.SuitLV = 0
|
| | | self.SuitAttrIDList = []
|
| | | self.SuitAttrValueList = [] |
| | | return |
| | | |
| | | def GetSuitType(self): return self.SuitType # 套装类型
|
| | | def GetSuitLV(self): return self.SuitLV # 套装等级
|
| | | def GetSuitAttrIDList(self): return self.SuitAttrIDList # 属性ID列表
|
| | | def GetSuitAttrValueList(self): return self.SuitAttrValueList # 属性值列表 |
| | | |
| | | # 诛仙BOSS表 |
| | | class IPY_ZhuXianBoss(): |
| | | |
| | | def __init__(self): |
| | | self.NPCID = 0
|
| | | self.LineID = 0
|
| | | self.KillTime = 0
|
| | | self.RealmLV = 0
|
| | | self.ZhuXianScore = 0 |
| | | return |
| | | |
| | | def GetNPCID(self): return self.NPCID # ID
|
| | | def GetLineID(self): return self.LineID
|
| | | def GetKillTime(self): return self.KillTime # 击杀总时间秒
|
| | | def GetRealmLV(self): return self.RealmLV # 需要境界
|
| | | def GetZhuXianScore(self): return self.ZhuXianScore # 需要诛仙总评分 |
| | | |
| | | # 诛仙装备分解表 |
| | | class IPY_ZhuXianEquipDecompose(): |
| | | |
| | | def __init__(self): |
| | | self.ClassLV = 0
|
| | | self.DecomposeInfo = {} |
| | | return |
| | | |
| | | def GetClassLV(self): return self.ClassLV # 阶级
|
| | | def GetDecomposeInfo(self): return self.DecomposeInfo # {(产出物品ID,..):饼图,..} |
| | | |
| | | # 节日巡礼活动时间表 |
| | | class IPY_ActFeastWeekParty(): |
| | |
| | | def GetIndex(self): return self.Index # 索引
|
| | | def GetNeedPoint(self): return self.NeedPoint # 需要点数
|
| | | def GetAward(self): return self.Award # 奖励 {"职业":[[物品ID,个数,是否绑定],...], ...} |
| | | |
| | | # 诛仙宝石共鸣属性表 |
| | | class IPY_ZhuXianStoneAttr(): |
| | | |
| | | def __init__(self): |
| | | self.SuitType = 0
|
| | | self.ShareSoneLV = 0
|
| | | self.AttrIDList = []
|
| | | self.AttrValueList = [] |
| | | return |
| | | |
| | | def GetSuitType(self): return self.SuitType # 套装类型
|
| | | def GetShareSoneLV(self): return self.ShareSoneLV # 共鸣等级
|
| | | def GetAttrIDList(self): return self.AttrIDList # 属性ID列表
|
| | | def GetAttrValueList(self): return self.AttrValueList # 属性值列表 |
| | | |
| | | # 幸运鉴宝活动时间表 |
| | | class IPY_ActLuckyTreasure(): |
| | |
| | | self.IsJobLimit = 0
|
| | | self.CostEquipColor = []
|
| | | self.CostEquipCnt = 0
|
| | | self.SuitTotalRate = 0
|
| | | self.UnSuitRate = 0
|
| | | self.SuitRate = 0
|
| | | self.CostItemDict = {}
|
| | | self.StarAttrInfo = {}
|
| | | self.BaseAttrInfo = {} |
| | |
| | | def GetIsJobLimit(self): return self.IsJobLimit # 是否只用本职业装备材料
|
| | | def GetCostEquipColor(self): return self.CostEquipColor # 可用装备品质
|
| | | def GetCostEquipCnt(self): return self.CostEquipCnt # 装备数量
|
| | | def GetSuitTotalRate(self): return self.SuitTotalRate # 全套装加成概率(非套50%)
|
| | | def GetUnSuitRate(self): return self.UnSuitRate # 单件非套装加成概率
|
| | | def GetSuitRate(self): return self.SuitRate # 单件套装加成概率
|
| | | def GetCostItemDict(self): return self.CostItemDict # 特殊材料
|
| | | def GetStarAttrInfo(self): return self.StarAttrInfo # 星级属性
|
| | | def GetBaseAttrInfo(self): return self.BaseAttrInfo # 基础属性增加 |
| | |
| | | class IPY_FamilyBossAward(): |
| | | |
| | | def __init__(self): |
| | | self.BossID = 0
|
| | | self.WorldLV = []
|
| | | self.Rank = []
|
| | | self.Award1 = []
|
| | | self.Award2 = {} |
| | | return |
| | | |
| | | def GetBossID(self): return self.BossID # BossID
|
| | | def GetWorldLV(self): return self.WorldLV # 世界等级
|
| | | def GetRank(self): return self.Rank # 排名
|
| | | def GetAward1(self): return self.Award1 # 奖励 [[独立概率万分率,[物品ID,数量,是否拍品]],..]
|
| | |
| | | def GetNeedLV(self): return self.NeedLV # 要求等级
|
| | | def GetFightPower(self): return self.FightPower # 推荐战力
|
| | | def GetIsNotify(self): return self.IsNotify # 是否广播 |
| | | |
| | | # 灵根特效表 |
| | | class IPY_LingGenEffect(): |
| | | |
| | | def __init__(self): |
| | | self.ID = 0
|
| | | self.PointID = 0
|
| | | self.QualityLV = 0 |
| | | return |
| | | |
| | | def GetID(self): return self.ID # ΨһID
|
| | | def GetPointID(self): return self.PointID # 灵根ID
|
| | | def GetQualityLV(self): return self.QualityLV # 品级 |
| | | |
| | | # 骑宠幻化表 |
| | | class IPY_HorsePetSkin(): |
| | | |
| | | def __init__(self): |
| | | self.Type = 0
|
| | | self.ID = 0
|
| | | self.SkinLV = 0
|
| | | self.NeedExp = 0
|
| | | self.AttrInfo = {}
|
| | | self.SkinIndex = 0 |
| | | return |
| | | |
| | | def GetType(self): return self.Type # 1坐骑2灵宠
|
| | | def GetID(self): return self.ID # 关联ID(坐骑表和灵宠表ID)
|
| | | def GetSkinLV(self): return self.SkinLV # 幻化等级
|
| | | def GetNeedExp(self): return self.NeedExp # 升级需要经验
|
| | | def GetAttrInfo(self): return self.AttrInfo # 属性
|
| | | def GetSkinIndex(self): return self.SkinIndex # 外观 |
| | | |
| | | # 累计充值奖励表 |
| | | class IPY_HistoryRechargeAward(): |
| | | |
| | | def __init__(self): |
| | | self.ID = 0
|
| | | self.Recharge = 0
|
| | | self.Reward = {} |
| | | return |
| | | |
| | | def GetID(self): return self.ID # id
|
| | | def GetRecharge(self): return self.Recharge # 所需充值元
|
| | | def GetReward(self): return self.Reward # 职业对应的奖励内容,每个职业4组数据,物品ID和物品数量(1.枪豪2.道师3.剑修) |
| | |
|
| | |
|
| | | def Log(msg, playerID=0, par=0):
|
| | |
| | | self.ipyActLoginAwardLen = len(self.ipyActLoginAwardCache)
|
| | | self.ipyLoginAwardCache = self.__LoadFileData("LoginAward", IPY_LoginAward)
|
| | | self.ipyLoginAwardLen = len(self.ipyLoginAwardCache)
|
| | | self.ipyZhuXianSuitAttrCache = self.__LoadFileData("ZhuXianSuitAttr", IPY_ZhuXianSuitAttr)
|
| | | self.ipyZhuXianSuitAttrLen = len(self.ipyZhuXianSuitAttrCache)
|
| | | self.ipyZhuXianBossCache = self.__LoadFileData("ZhuXianBoss", IPY_ZhuXianBoss)
|
| | | self.ipyZhuXianBossLen = len(self.ipyZhuXianBossCache)
|
| | | self.ipyZhuXianEquipDecomposeCache = self.__LoadFileData("ZhuXianEquipDecompose", IPY_ZhuXianEquipDecompose)
|
| | | self.ipyZhuXianEquipDecomposeLen = len(self.ipyZhuXianEquipDecomposeCache)
|
| | | self.ipyActFeastWeekPartyCache = self.__LoadFileData("ActFeastWeekParty", IPY_ActFeastWeekParty)
|
| | | self.ipyActFeastWeekPartyLen = len(self.ipyActFeastWeekPartyCache)
|
| | | self.ipyFeastWeekPartyCache = self.__LoadFileData("FeastWeekParty", IPY_FeastWeekParty)
|
| | |
| | | self.ipyNewAllPeoplePartyLen = len(self.ipyNewAllPeoplePartyCache)
|
| | | self.ipyNewAllPeoplePartyAwardCache = self.__LoadFileData("NewAllPeoplePartyAward", IPY_NewAllPeoplePartyAward)
|
| | | self.ipyNewAllPeoplePartyAwardLen = len(self.ipyNewAllPeoplePartyAwardCache)
|
| | | self.ipyZhuXianStoneAttrCache = self.__LoadFileData("ZhuXianStoneAttr", IPY_ZhuXianStoneAttr)
|
| | | self.ipyZhuXianStoneAttrLen = len(self.ipyZhuXianStoneAttrCache)
|
| | | self.ipyActLuckyTreasureCache = self.__LoadFileData("ActLuckyTreasure", IPY_ActLuckyTreasure)
|
| | | self.ipyActLuckyTreasureLen = len(self.ipyActLuckyTreasureCache)
|
| | | self.ipyLuckyTreasureTemplateCache = self.__LoadFileData("LuckyTreasureTemplate", IPY_LuckyTreasureTemplate)
|
| | |
| | | self.ipySkillElementLen = len(self.ipySkillElementCache)
|
| | | self.ipySkyTowerCache = self.__LoadFileData("SkyTower", IPY_SkyTower)
|
| | | self.ipySkyTowerLen = len(self.ipySkyTowerCache)
|
| | | self.ipyLingGenEffectCache = self.__LoadFileData("LingGenEffect", IPY_LingGenEffect)
|
| | | self.ipyLingGenEffectLen = len(self.ipyLingGenEffectCache)
|
| | | self.ipyHorsePetSkinCache = self.__LoadFileData("HorsePetSkin", IPY_HorsePetSkin)
|
| | | self.ipyHorsePetSkinLen = len(self.ipyHorsePetSkinCache)
|
| | | self.ipyHistoryRechargeAwardCache = self.__LoadFileData("HistoryRechargeAward", IPY_HistoryRechargeAward)
|
| | | self.ipyHistoryRechargeAwardLen = len(self.ipyHistoryRechargeAwardCache)
|
| | | Log("IPY_FuncConfig count=%s" % len(self.ipyFuncConfigDict))
|
| | | Log("IPY_DataMgr InitOK!")
|
| | | return
|
| | |
| | | def GetActLoginAwardByIndex(self, index): return self.ipyActLoginAwardCache[index]
|
| | | def GetLoginAwardCount(self): return self.ipyLoginAwardLen
|
| | | def GetLoginAwardByIndex(self, index): return self.ipyLoginAwardCache[index]
|
| | | def GetZhuXianSuitAttrCount(self): return self.ipyZhuXianSuitAttrLen
|
| | | def GetZhuXianSuitAttrByIndex(self, index): return self.ipyZhuXianSuitAttrCache[index]
|
| | | def GetZhuXianBossCount(self): return self.ipyZhuXianBossLen
|
| | | def GetZhuXianBossByIndex(self, index): return self.ipyZhuXianBossCache[index]
|
| | | def GetZhuXianEquipDecomposeCount(self): return self.ipyZhuXianEquipDecomposeLen
|
| | | def GetZhuXianEquipDecomposeByIndex(self, index): return self.ipyZhuXianEquipDecomposeCache[index]
|
| | | def GetActFeastWeekPartyCount(self): return self.ipyActFeastWeekPartyLen
|
| | | def GetActFeastWeekPartyByIndex(self, index): return self.ipyActFeastWeekPartyCache[index]
|
| | | def GetFeastWeekPartyCount(self): return self.ipyFeastWeekPartyLen
|
| | |
| | | def GetNewAllPeoplePartyByIndex(self, index): return self.ipyNewAllPeoplePartyCache[index]
|
| | | def GetNewAllPeoplePartyAwardCount(self): return self.ipyNewAllPeoplePartyAwardLen
|
| | | def GetNewAllPeoplePartyAwardByIndex(self, index): return self.ipyNewAllPeoplePartyAwardCache[index]
|
| | | def GetZhuXianStoneAttrCount(self): return self.ipyZhuXianStoneAttrLen
|
| | | def GetZhuXianStoneAttrByIndex(self, index): return self.ipyZhuXianStoneAttrCache[index]
|
| | | def GetActLuckyTreasureCount(self): return self.ipyActLuckyTreasureLen
|
| | | def GetActLuckyTreasureByIndex(self, index): return self.ipyActLuckyTreasureCache[index]
|
| | | def GetLuckyTreasureTemplateCount(self): return self.ipyLuckyTreasureTemplateLen
|
| | |
| | | def GetSkillElementByIndex(self, index): return self.ipySkillElementCache[index]
|
| | | def GetSkyTowerCount(self): return self.ipySkyTowerLen
|
| | | def GetSkyTowerByIndex(self, index): return self.ipySkyTowerCache[index]
|
| | | def GetLingGenEffectCount(self): return self.ipyLingGenEffectLen
|
| | | def GetLingGenEffectByIndex(self, index): return self.ipyLingGenEffectCache[index]
|
| | | def GetHorsePetSkinCount(self): return self.ipyHorsePetSkinLen
|
| | | def GetHorsePetSkinByIndex(self, index): return self.ipyHorsePetSkinCache[index]
|
| | | def GetHistoryRechargeAwardCount(self): return self.ipyHistoryRechargeAwardLen
|
| | | def GetHistoryRechargeAwardByIndex(self, index): return self.ipyHistoryRechargeAwardCache[index]
|
| | |
|
| | | IPYData = IPY_DataMgr()
|
| | | def IPY_Data(): return IPYData
|