public virtual void Deserialize(BigEndianReader reader) { team = new Types.NamedPartyTeam(); team.Deserialize(reader); outcome = reader.ReadVarShort(); if (outcome < 0) throw new Exception("Forbidden value on outcome = " + outcome + ", it doesn't respect the following condition : outcome < 0"); }
public virtual void Deserialize(ICustomDataInput reader) { team = new Types.NamedPartyTeam(); team.Deserialize(reader); outcome = reader.ReadVarUhShort(); if (outcome < 0) { throw new Exception("Forbidden value on outcome = " + outcome + ", it doesn't respect the following condition : outcome < 0"); } }
public virtual void Deserialize(IDataReader reader) { team = new Types.NamedPartyTeam(); team.Deserialize(reader); outcome = reader.ReadVarShort(); }