| 123456789101112131415161718192021222324252627282930 |
- -- Warning: do not edit this file.
- -- 警告: 不要编辑此文件
- -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- -- OpenCards.Core.Protocol.Client.ClientNewGuildBossInfoResponse
- local _M = {MessageID = 0x00054002,Name = 'OpenCards.Core.Protocol.Client.ClientNewGuildBossInfoResponse'}
- _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[0x00054002] = _M
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.ClientNewGuildBossInfoResponse'] = _M
- function _M.Write(output,data)
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.ClientResponse'].Write(output, data)
- output:PutS32(data.mCurrentLevel)
- output:PutList(data.mHadReceivedRewardRecord, output.PutS32,'int')
- end
- function _M.Read(input,data)
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.ClientResponse'].Read(input, data)
- data.mCurrentLevel = input:GetS32()
- data.mHadReceivedRewardRecord = input:GetList(input.GetS32,'int')
- end
|