public override void Deserialize(IDataReader reader)
 {
     base.Deserialize(reader);
     var limit = reader.ReadUShort();
     slavesInfo = new Types.GameFightResumeSlaveInfo[limit];
     for (int i = 0; i < limit; i++)
     {
          slavesInfo[i] = new Types.GameFightResumeSlaveInfo();
          slavesInfo[i].Deserialize(reader);
     }
 }
        public override void Deserialize(BigEndianReader reader)
        {
            base.Deserialize(reader);
            var limit = reader.ReadUShort();

            slavesInfo = new Types.GameFightResumeSlaveInfo[limit];
            for (int i = 0; i < limit; i++)
            {
                slavesInfo[i] = new Types.GameFightResumeSlaveInfo();
                slavesInfo[i].Deserialize(reader);
            }
        }
Example #3
0
        public override void Deserialize(IDataReader reader)
        {
            base.Deserialize(reader);
            var limit       = reader.ReadShort();
            var slavesInfo_ = new Types.GameFightResumeSlaveInfo[limit];

            for (int i = 0; i < limit; i++)
            {
                slavesInfo_[i] = new Types.GameFightResumeSlaveInfo();
                slavesInfo_[i].Deserialize(reader);
            }
            slavesInfo = slavesInfo_;
        }