| | |
| | | ("Type", c_ubyte), #类型 TBillboardType
|
| | | ("StartIndex", c_int), #查看的起始名次索引, 默认0
|
| | | ("WatchCnt", c_ubyte), #查看条数,默认20,最大不超过100
|
| | | ("IsWatchSelf", c_ubyte), #是否查看自己名次前后,默认10条数据
|
| | | ("WatchID", c_int), #查看指定ID名次前后,如玩家ID、家族ID等
|
| | | ]
|
| | |
|
| | | def __init__(self):
|
| | |
| | | self.Type = 0
|
| | | self.StartIndex = 0
|
| | | self.WatchCnt = 0
|
| | | self.IsWatchSelf = 0
|
| | | self.WatchID = 0
|
| | | return
|
| | |
|
| | | def GetLength(self):
|
| | |
| | | Type:%d,
|
| | | StartIndex:%d,
|
| | | WatchCnt:%d,
|
| | | IsWatchSelf:%d
|
| | | WatchID:%d
|
| | | '''\
|
| | | %(
|
| | | self.Cmd,
|
| | |
| | | self.Type,
|
| | | self.StartIndex,
|
| | | self.WatchCnt,
|
| | | self.IsWatchSelf
|
| | | self.WatchID
|
| | | )
|
| | | return DumpString
|
| | |
|
| | |
| | | ("GroupValue2", c_ubyte), # 分组值2,与分组值1组合归为同组榜单数据
|
| | | ("StartIndex", c_int), #查看的起始名次索引, 默认0
|
| | | ("WatchCnt", c_ubyte), #查看条数,默认20,最大不超过100
|
| | | ("IsWatchSelf", c_ubyte), #是否查看自己名次前后,默认10条数据
|
| | | ("WatchID", c_int), #查看指定ID名次前后,如玩家ID、家族ID等
|
| | | ]
|
| | |
|
| | | def __init__(self):
|
| | |
| | | self.GroupValue2 = 0
|
| | | self.StartIndex = 0
|
| | | self.WatchCnt = 0
|
| | | self.IsWatchSelf = 0
|
| | | self.WatchID = 0
|
| | | return
|
| | |
|
| | | def GetLength(self):
|
| | |
| | | GroupValue2:%d,
|
| | | StartIndex:%d,
|
| | | WatchCnt:%d,
|
| | | IsWatchSelf:%d
|
| | | WatchID:%d
|
| | | '''\
|
| | | %(
|
| | | self.Cmd,
|
| | |
| | | self.GroupValue2,
|
| | | self.StartIndex,
|
| | | self.WatchCnt,
|
| | | self.IsWatchSelf
|
| | | self.WatchID
|
| | | )
|
| | | return DumpString
|
| | |
|