public Tournament(string id, string name, WarpDestination hub) { this.id = id; this.name = name; this.hub = hub; registeredMembers = new TournamentMemberCollection(); activeMatchups = new List <MatchUp>(); combatMaps = new List <string>(); rules = new TournamentRules(); }
public Tournament(string id, string name, WarpDestination hub) { this.id = id; this.name = name; this.hub = hub; registeredMembers = new TournamentMemberCollection(); activeMatchups = new List<MatchUp>(); combatMaps = new List<string>(); rules = new TournamentRules(); }
public static TcpPacket CreateTournamentRulesEditorPacket(TournamentRules rules) { TcpPacket packet = new TcpPacket("tournamentruleseditor"); packet.AppendParameters( rules.SleepClause.ToIntString(), rules.AccuracyClause.ToIntString(), rules.SpeciesClause.ToIntString(), rules.FreezeClause.ToIntString(), rules.OHKOClause.ToIntString(), rules.SelfKOClause.ToIntString()); return packet; }