public virtual void Deserialize(IDataReader reader) { this.team = new NamedPartyTeam(); this.team.Deserialize(reader); this.outcome = (uint)reader.ReadVarUhShort(); if (this.outcome < 0U) { throw new Exception("Forbidden value (" + (object)this.outcome + ") on element of NamedPartyTeamWithOutcome.outcome."); } }
public NamedPartyTeamWithOutcome(NamedPartyTeam team, uint outcome) { this.team = team; this.outcome = outcome; }