-- Warning: do not edit this file. -- 警告: 不要编辑此文件 -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -- OpenCards.Core.Protocol.Client.ClientLookGuildWarriorTreasureInfoResponse local _M = {MessageID = 0x00037211,Name = 'OpenCards.Core.Protocol.Client.ClientLookGuildWarriorTreasureInfoResponse'} _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[0x00037211] = _M Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.ClientLookGuildWarriorTreasureInfoResponse'] = _M function _M.Write(output,data) Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.GuildResponse'].Write(output, data) output:PutOBJ(data.s2c_data,'OpenCards.Core.Data.GuildWarriorTreasureEntry') output:PutMap(data.s2c_playerData, output.PutUTF, output.PutOBJ,'string', 'OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap') end function _M.Read(input,data) Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.GuildResponse'].Read(input, data) data.s2c_data = input:GetOBJ('OpenCards.Core.Data.GuildWarriorTreasureEntry') data.s2c_playerData = input:GetMap(input.GetUTF, input.GetOBJ,'string', 'OpenCards.Core.Data.ClientSecretCaveBaseRoleSnap') end