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