public virtual void Deserialize(ICustomDataInput reader)
 {
     team = new 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 NamedPartyTeamWithOutcome(NamedPartyTeam team, ushort outcome)
 {
     this.team    = team;
     this.outcome = outcome;
 }