public override void Deserialize(IDataReader reader) { nbPaddockMax = reader.ReadSByte(); if (nbPaddockMax < 0) throw new Exception("Forbidden value on nbPaddockMax = " + nbPaddockMax + ", it doesn't respect the following condition : nbPaddockMax < 0"); var limit = reader.ReadUShort(); paddocksInformations = new Types.PaddockContentInformations[limit]; for (int i = 0; i < limit; i++) { paddocksInformations[i] = new Types.PaddockContentInformations(); paddocksInformations[i].Deserialize(reader); } }
public override void Deserialize(ICustomDataInput reader) { nbPaddockMax = reader.ReadSByte(); if (nbPaddockMax < 0) { throw new Exception("Forbidden value on nbPaddockMax = " + nbPaddockMax + ", it doesn't respect the following condition : nbPaddockMax < 0"); } var limit = reader.ReadUShort(); paddocksInformations = new Types.PaddockContentInformations[limit]; for (int i = 0; i < limit; i++) { paddocksInformations[i] = new Types.PaddockContentInformations(); paddocksInformations[i].Deserialize(reader); } }
public override void Deserialize(IDataReader reader) { paddockInfo = new Types.PaddockContentInformations(); paddockInfo.Deserialize(reader); }
public GuildPaddockBoughtMessage(Types.PaddockContentInformations paddockInfo) { this.paddockInfo = paddockInfo; }
public override void Deserialize(ICustomDataInput reader) { paddockInfo = new Types.PaddockContentInformations(); paddockInfo.Deserialize(reader); }
public override void Deserialize(BigEndianReader reader) { paddockInfo = new Types.PaddockContentInformations(); paddockInfo.Deserialize(reader); }
public void Deserialize(IDataReader reader) { paddockInfo = new Types.PaddockContentInformations(); paddockInfo.Deserialize(reader); }