Example #1
0
 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.");
     }
 }
Example #2
0
 public NamedPartyTeamWithOutcome(NamedPartyTeam team, uint outcome)
 {
     this.team    = team;
     this.outcome = outcome;
 }