| | |
| | | _pack_ = 1
|
| | | _fields_ = [
|
| | | ("PriID", c_int), # 特权ID
|
| | | ("State", c_ubyte), #激活状态
|
| | | ("CurValue", c_int), #当前总进度
|
| | | ("GotValue", c_int), #已领取进度
|
| | | ("ItemAwardState", c_ubyte), #物品奖励是否已领取
|
| | |
| | |
|
| | | def Clear(self):
|
| | | self.PriID = 0
|
| | | self.State = 0
|
| | | self.CurValue = 0
|
| | | self.GotValue = 0
|
| | | self.ItemAwardState = 0
|
| | |
| | | def OutputString(self):
|
| | | DumpString = '''// A3 53 法宝特权数据 //tagMCMWPrivilegeDataInfo:
|
| | | PriID:%d,
|
| | | State:%d,
|
| | | CurValue:%d,
|
| | | GotValue:%d,
|
| | | ItemAwardState:%d
|
| | | '''\
|
| | | %(
|
| | | self.PriID,
|
| | | self.State,
|
| | | self.CurValue,
|
| | | self.GotValue,
|
| | | self.ItemAwardState
|