-- Warning: do not edit this file. -- 警告: 不要编辑此文件 -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -- OpenCards.Core.ORM.TowerPlayerLevelRecordData local _M = {MessageID = 0x6DA5CA1B,Name = 'OpenCards.Core.ORM.TowerPlayerLevelRecordData'} _M.__index = _M function _M.IsSuccess(self) return self.s2c_code ~= nil and self.s2c_code >= 200 and self.s2c_code <= 299 end Protocol.Serializer[0x6DA5CA1B] = _M Protocol.Serializer.StringDefined['OpenCards.Core.ORM.TowerPlayerLevelRecordData'] = _M function _M.Write(output,data) output:PutMap(data.TowerLevelRecords, output.PutS32, function(_,v1) output:PutMap(v1, output.PutS32, output.PutOBJ,'int', 'OpenCards.Core.ORM.TowerPlayerRecordData') end,'int', 'DeepCore.HashMap') output:PutUTF(data.Uuid) output:PutDateTime(data.ExpiredUtc) end function _M.Read(input,data) data.TowerLevelRecords = input:GetMap(input.GetS32, function(_) return input:GetMap(input.GetS32, input.GetOBJ,'int', 'OpenCards.Core.ORM.TowerPlayerRecordData') end,'int', 'DeepCore.HashMap') data.Uuid = input:GetUTF() data.ExpiredUtc = input:GetDateTime() end