-- Warning: do not edit this file. -- 警告: 不要编辑此文件 -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -- OpenCards.Core.ORM.ExpatriateHeroUseCellEntity local _M = {MessageID = 0x32EB2E7D,Name = 'OpenCards.Core.ORM.ExpatriateHeroUseCellEntity'} _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[0x32EB2E7D] = _M Protocol.Serializer.StringDefined['OpenCards.Core.ORM.ExpatriateHeroUseCellEntity'] = _M function _M.Write(output,data) output:PutUTF(data.mUserUUID) output:PutUTF(data.mProviderUUID) output:PutS32(data.userType) output:PutUTF(data.mHeroUUID) output:PutBool(data.isCancelUse) end function _M.Read(input,data) data.mUserUUID = input:GetUTF() data.mProviderUUID = input:GetUTF() data.userType = input:GetS32() data.mHeroUUID = input:GetUTF() data.isCancelUse = input:GetBool() end