| | |
| | |
|
| | | class PyGameDataManager(object):
|
| | | def __init__(self):
|
| | | self.AuctionAttention = AuctionHouse.AuctionAttentionManager()
|
| | | self.AuctionRecord = AuctionHouse.AuctionRecordManager()
|
| | | self.AuctionItem = AuctionHouse.AuctionItemManager()
|
| | | self.crossPKUnNotifyOverInfo = CrossRealmPK.CrossPKUnNotifyOverInfoManager()
|
| | |
| | |
|
| | | def GetSaveData(self):
|
| | | buff = ""
|
| | | buff += self.AuctionAttention.GetSaveData()
|
| | | buff += self.AuctionRecord.GetSaveData()
|
| | | buff += self.AuctionItem.GetSaveData()
|
| | | buff += self.crossPKUnNotifyOverInfo.GetSaveData()
|
| | |
| | | return buff
|
| | |
|
| | | def LoadGameData(self, gameBuffer, pos):
|
| | | pos = self.AuctionAttention.LoadPyGameData(gameBuffer, pos, len(gameBuffer))
|
| | | pos = self.AuctionRecord.LoadPyGameData(gameBuffer, pos, len(gameBuffer))
|
| | | pos = self.AuctionItem.LoadPyGameData(gameBuffer, pos, len(gameBuffer))
|
| | | pos = self.crossPKUnNotifyOverInfo.LoadPyGameData(gameBuffer, pos, len(gameBuffer))
|
| | |
| | | return pos
|
| | |
|
| | | # 拍卖记录表
|
| | | def GetAuctionAttentionManager():
|
| | | return PyGameData.g_pyGameDataManager.AuctionAttention
|
| | |
|
| | | # 拍卖记录表
|
| | | def GetAuctionRecordManager():
|
| | | return PyGameData.g_pyGameDataManager.AuctionRecord
|
| | |
|