-- Warning: do not edit this file. -- 警告: 不要编辑此文件 -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -- OpenCards.Core.Data.ClientGuildSecretCaveLegendScore local _M = {MessageID = 0x0002258A,Name = 'OpenCards.Core.Data.ClientGuildSecretCaveLegendScore'} _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[0x0002258A] = _M Protocol.Serializer.StringDefined['OpenCards.Core.Data.ClientGuildSecretCaveLegendScore'] = _M function _M.Write(output,data) Protocol.Serializer.StringDefined['OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap'].Write(output, data) output:PutS32(data.Layer) output:PutS32(data.Rank) output:PutS32(data.LegendScore) output:PutS32(data.Grade) output:PutS32(data.Relation) end function _M.Read(input,data) Protocol.Serializer.StringDefined['OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap'].Read(input, data) data.Layer = input:GetS32() data.Rank = input:GetS32() data.LegendScore = input:GetS32() data.Grade = input:GetS32() data.Relation = input:GetS32() end