|  |  |  | 
|---|
|  |  |  | ("BYTE", "ItemType", 1), | 
|---|
|  |  |  | ("BYTE", "ItemColor", 1), | 
|---|
|  |  |  | ("BYTE", "IsSuit", 1), | 
|---|
|  |  |  | ("BYTE", "FixedLegendAttrCount", 0), | 
|---|
|  |  |  | ("BYTE", "GoodLegendAttrCount", 0), | 
|---|
|  |  |  | ("BYTE", "OtherLegendAttrCount", 0), | 
|---|
|  |  |  | ("list", "LegendAttrCountInfo", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "EquipLegendAttrType":( | 
|---|
|  |  |  | ("BYTE", "ItemType", 1), | 
|---|
|  |  |  | ("list", "FixedLegendAttrList", 0), | 
|---|
|  |  |  | ("list", "GoodLegendAttrList", 0), | 
|---|
|  |  |  | ("list", "CommLegendAttrList", 0), | 
|---|
|  |  |  | ("dict", "LegendAttrTypeLib", 0), | 
|---|
|  |  |  | ), | 
|---|
|  |  |  |  | 
|---|
|  |  |  | "EquipLegendAttrLib":( | 
|---|
|  |  |  | 
|---|
|  |  |  | self.ItemType = 0 | 
|---|
|  |  |  | self.ItemColor = 0 | 
|---|
|  |  |  | self.IsSuit = 0 | 
|---|
|  |  |  | self.FixedLegendAttrCount = 0 | 
|---|
|  |  |  | self.GoodLegendAttrCount = 0 | 
|---|
|  |  |  | self.OtherLegendAttrCount = 0 | 
|---|
|  |  |  | self.LegendAttrCountInfo = [] | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetItemType(self): return self.ItemType # 物品类型 | 
|---|
|  |  |  | def GetItemColor(self): return self.ItemColor # 物品颜色 | 
|---|
|  |  |  | def GetIsSuit(self): return self.IsSuit # 是否套装 | 
|---|
|  |  |  | def GetFixedLegendAttrCount(self): return self.FixedLegendAttrCount # 固定传奇属性条数 | 
|---|
|  |  |  | def GetGoodLegendAttrCount(self): return self.GoodLegendAttrCount # 追求传奇属性保底条数 | 
|---|
|  |  |  | def GetOtherLegendAttrCount(self): return self.OtherLegendAttrCount # 其他随机传奇属性条数 | 
|---|
|  |  |  | def GetLegendAttrCountInfo(self): return self.LegendAttrCountInfo # 传奇属性条数信息 [[条数, [属性类型库编号, ...]], ...] | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 装备传奇属性类型表 | 
|---|
|  |  |  | class IPY_EquipLegendAttrType(): | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def __init__(self): | 
|---|
|  |  |  | self.ItemType = 0 | 
|---|
|  |  |  | self.FixedLegendAttrList = [] | 
|---|
|  |  |  | self.GoodLegendAttrList = [] | 
|---|
|  |  |  | self.CommLegendAttrList = [] | 
|---|
|  |  |  | self.LegendAttrTypeLib = {} | 
|---|
|  |  |  | return | 
|---|
|  |  |  |  | 
|---|
|  |  |  | def GetItemType(self): return self.ItemType # 物品类型 | 
|---|
|  |  |  | def GetFixedLegendAttrList(self): return self.FixedLegendAttrList # 固定传奇属性列表 | 
|---|
|  |  |  | def GetGoodLegendAttrList(self): return self.GoodLegendAttrList # 追求传奇属性列表 | 
|---|
|  |  |  | def GetCommLegendAttrList(self): return self.CommLegendAttrList # 一般传奇属性列表 | 
|---|
|  |  |  | def GetLegendAttrTypeLib(self): return self.LegendAttrTypeLib # 传奇属性类型库 {属性类型库编号:[属性ID,...], ...} | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 装备传奇属性值库表 | 
|---|
|  |  |  | class IPY_EquipLegendAttrLib(): | 
|---|