-- Warning: do not edit this file. -- 警告: 不要编辑此文件 -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -- OpenCards.Core.Protocol.Client.ClientGetGuildSecretCaveDeepInfoResponse local _M = {MessageID = 0x00037706,Name = 'OpenCards.Core.Protocol.Client.ClientGetGuildSecretCaveDeepInfoResponse'} _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[0x00037706] = _M Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.ClientGetGuildSecretCaveDeepInfoResponse'] = _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:PutS32(data.s2c_currentRound) output:PutDateTime(data.s2c_finishTime) output:PutF32(data.s2c_percent) output:PutList(data.s2c_topThree, output.PutOBJ,'OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap') 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_currentRound = input:GetS32() data.s2c_finishTime = input:GetDateTime() data.s2c_percent = input:GetF32() data.s2c_topThree = input:GetList(input.GetOBJ,'OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap') end