-- Warning: do not edit this file. -- 警告: 不要编辑此文件 -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -- OpenCards.Core.Protocol.Client.ClientGetGuildSecretCaveShallowInfoResponse local _M = {MessageID = 0x00037704,Name = 'OpenCards.Core.Protocol.Client.ClientGetGuildSecretCaveShallowInfoResponse'} _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[0x00037704] = _M Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.ClientGetGuildSecretCaveShallowInfoResponse'] = _M function _M.Write(output,data) Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.GuildResponse'].Write(output, data) output:PutS64(data.s2c_previousDamage) output:PutOBJ(data.s2c_selfInfo,'OpenCards.Core.Data.ClientSecretCaveEntry') output:PutList(data.s2c_guildScore, output.PutOBJ,'OpenCards.Core.Data.ClientGuildSecretCaveLegendScore') output:PutS32(data.s2c_currentRound) output:PutDateTime(data.s2c_finishTime) output:PutOBJ(data.s2c_guildTopPlayer,'OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap') output:PutS32(data.s2c_guildTopPlayerRank) end function _M.Read(input,data) Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.GuildResponse'].Read(input, data) data.s2c_previousDamage = input:GetS64() data.s2c_selfInfo = input:GetOBJ('OpenCards.Core.Data.ClientSecretCaveEntry') data.s2c_guildScore = input:GetList(input.GetOBJ,'OpenCards.Core.Data.ClientGuildSecretCaveLegendScore') data.s2c_currentRound = input:GetS32() data.s2c_finishTime = input:GetDateTime() data.s2c_guildTopPlayer = input:GetOBJ('OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap') data.s2c_guildTopPlayerRank = input:GetS32() end