public override void Deserialize(BigEndianReader reader) { var limit = reader.ReadUShort(); ObjectsInfos = new ObjectItemToSell[limit]; for (int i = 0; i < limit; i++) { ObjectsInfos[i] = new ObjectItemToSell(); ObjectsInfos[i].Deserialize(reader); } }
public ExchangeShopStockStartedMessage(ObjectItemToSell[] objectsInfos) { ObjectsInfos = objectsInfos; }
public ExchangeShopStockMultiMovementUpdatedMessage(ObjectItemToSell[] objectInfoList) { ObjectInfoList = objectInfoList; }