public override void Deserialize(BigEndianReader reader)
 {
     var limit = reader.ReadUShort();
     itemTypeDescriptions = new Types.BidExchangerObjectInfo[limit];
     for (int i = 0; i < limit; i++)
     {
          itemTypeDescriptions[i] = new Types.BidExchangerObjectInfo();
          itemTypeDescriptions[i].Deserialize(reader);
     }
 }
        public override void Deserialize(ICustomDataInput reader)
        {
            var limit = reader.ReadUShort();

            itemTypeDescriptions = new Types.BidExchangerObjectInfo[limit];
            for (int i = 0; i < limit; i++)
            {
                itemTypeDescriptions[i] = new Types.BidExchangerObjectInfo();
                itemTypeDescriptions[i].Deserialize(reader);
            }
        }
Beispiel #3
0
        public override void Deserialize(IDataReader reader)
        {
            var limit = reader.ReadUShort();
            var itemTypeDescriptions_ = new Types.BidExchangerObjectInfo[limit];

            for (int i = 0; i < limit; i++)
            {
                itemTypeDescriptions_[i] = new Types.BidExchangerObjectInfo();
                itemTypeDescriptions_[i].Deserialize(reader);
            }
            itemTypeDescriptions = itemTypeDescriptions_;
        }
        public override void Deserialize(IDataReader reader)
        {
            objectType = reader.ReadInt();
            var limit = (ushort)reader.ReadUShort();

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