| 1234567891011121314151617181920212223242526272829303132 |
- -- Warning: do not edit this file.
- -- 警告: 不要编辑此文件
- -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- -- OpenCards.Core.Protocol.Client.ClientFightResultInfo
- local _M = {MessageID = 0x00711F29,Name = 'OpenCards.Core.Protocol.Client.ClientFightResultInfo'}
- _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[0x00711F29] = _M
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.ClientFightResultInfo'] = _M
- function _M.Write(output,data)
-
- output:PutUTF(data.s2c_RandomUuid)
- output:PutS32(data.s2c_Result)
- output:PutOBJ(data.s2c_BattleInfo,'OpenCards.Core.Protocol.Client.BattleInfo')
- end
- function _M.Read(input,data)
-
- data.s2c_RandomUuid = input:GetUTF()
- data.s2c_Result = input:GetS32()
- data.s2c_BattleInfo = input:GetOBJ('OpenCards.Core.Protocol.Client.BattleInfo')
- end
|