public static void SetMatch(ClsCommand rb) { int spielID = Convert.ToInt32(rb.Property); int ToreA = Convert.ToInt32(rb.Value1); int ToreB = Convert.ToInt32(rb.Value2); string mod = rb.Value3; ClsSpielfunktionen.SetMatch(spielID, ToreA, ToreB, mod); GlobalServerEvents.SendMessage(null, new ClsStringEventArgs(ClsRequests.DataRequest(new ClsCommand(command: "turnierID")))); }
public static void NextToActual(ClsCommand rb) { string mod = rb.Value1; bool beenden = true; if (mod == "2") { // Spiel offen lassen beenden = false; } bool beideNichtDa = false; if (mod == "3") { beenden = true; } ClsSpielfunktionen.NextGame(beenden, beideNichtDa); }
public static void SetNextMatch(ClsCommand rb) { int spielNr = Convert.ToInt32(rb.Value1); ClsSpielfunktionen.SetNext(ClsSpielfunktionen.MatchByNr(spielNr)); }