-- Warning: do not edit this file. -- 警告: 不要编辑此文件 -- OpenCards.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -- OpenCards.Core.Protocol.Client.HeroWayTaskChangeNotify local _M = {MessageID = 0x00050807,Name = 'OpenCards.Core.Protocol.Client.HeroWayTaskChangeNotify'} _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[0x00050807] = _M Protocol.Serializer.StringDefined['OpenCards.Core.Protocol.Client.HeroWayTaskChangeNotify'] = _M function _M.Write(output,data) Protocol.Serializer.StringDefined['DeepCore.Protocol.Notify'].Write(output, data) output:PutMap(data.s2c_taskInfos, output.PutS32, function(_,v1) output:PutList(v1, output.PutOBJ, 'OpenCards.Core.ORM.TaskItem') end,'int', 'System.Collections.Generic.List') end function _M.Read(input,data) Protocol.Serializer.StringDefined['DeepCore.Protocol.Notify'].Read(input, data) data.s2c_taskInfos = input:GetMap(input.GetS32, function(_) return input:GetList(input.GetOBJ,'OpenCards.Core.ORM.TaskItem') end,'int', 'System.Collections.Generic.List') end