| 123456789101112131415161718192021222324252627282930 |
- -- Warning: do not edit this file.
- -- 警告: 不要编辑此文件
- -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- -- OpenCards.Core.Protocol.Client.ClientFansInfoResponse
- local _M = {MessageID = 0x00050206,Name = 'OpenCards.Core.Protocol.Client.ClientFansInfoResponse'}
- _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[0x00050206] = _M
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.ClientFansInfoResponse'] = _M
- function _M.Write(output,data)
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.ClientResponse'].Write(output, data)
- output:PutMap(data.s2c_attentionList, output.PutUTF, output.PutOBJ,'string', 'OpenCards.Core.Data.FansPlayerData')
- output:PutMap(data.s2c_fansList, output.PutUTF, output.PutOBJ,'string', 'OpenCards.Core.Data.FansPlayerData')
- end
- function _M.Read(input,data)
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.ClientResponse'].Read(input, data)
- data.s2c_attentionList = input:GetMap(input.GetUTF, input.GetOBJ,'string', 'OpenCards.Core.Data.FansPlayerData')
- data.s2c_fansList = input:GetMap(input.GetUTF, input.GetOBJ,'string', 'OpenCards.Core.Data.FansPlayerData')
- end
|