| 12345678910111213141516171819202122232425262728293031323334 |
- -- Warning: do not edit this file.
- -- 警告: 不要编辑此文件
- -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- -- OpenCards.Core.Protocol.Client.ClientGuildSecretCaveResultNotify
- local _M = {MessageID = 0x0003770F,Name = 'OpenCards.Core.Protocol.Client.ClientGuildSecretCaveResultNotify'}
- _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[0x0003770F] = _M
- Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.ClientGuildSecretCaveResultNotify'] = _M
- function _M.Write(output,data)
- Protocol.Serializer.StringDefined['DeepCore.Protocol.Notify'].Write(output, data)
- output:PutS64(data.s2c_previousDamage)
- output:PutS32(data.s2c_rank)
- output:PutS64(data.s2c_topDamage)
- output:PutBool(data.s2c_isTopDamage)
- end
- function _M.Read(input,data)
- Protocol.Serializer.StringDefined['DeepCore.Protocol.Notify'].Read(input, data)
- data.s2c_previousDamage = input:GetS64()
- data.s2c_rank = input:GetS32()
- data.s2c_topDamage = input:GetS64()
- data.s2c_isTopDamage = input:GetBool()
- end
|