| 123456789101112131415161718192021222324252627282930313233343536 |
- -- Warning: do not edit this file.
- -- 警告: 不要编辑此文件
- -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- -- OpenCards.Core.Data.WishSummonCfg_HeroGift
- local _M = {MessageID = 0x00042C79,Name = 'OpenCards.Core.Data.WishSummonCfg_HeroGift'}
- _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[0x00042C79] = _M
- Protocol.Serializer.StringDefined['OpenCards.Core.Data.WishSummonCfg_HeroGift'] = _M
- function _M.Write(output,data)
-
- output:PutS32(data.ID)
- output:PutS32(data.HeroRank)
- output:PutS32(data.HeroID)
- output:PutS32(data.IsSpecial)
- output:PutS32(data.GiftID)
- end
- function _M.Read(input,data)
-
- data.ID = input:GetS32()
- data.HeroRank = input:GetS32()
- data.HeroID = input:GetS32()
- data.IsSpecial = input:GetS32()
- data.GiftID = input:GetS32()
- end
|