public static void Tor(ClsCommand rb) { string Mannschaft = "A"; if (rb.Value1 == "S06") { Mannschaft = "B"; } int Add = 1; if (rb.Value2 == "-") { Add = -1; } int spielerID = 0; try { spielerID = Convert.ToInt32(rb.Value3); } catch { spielerID = 0; } ClsTore.Tore_change(spiel: ClsGlobal.Instance.AktivesSpiel, aoderb: Mannschaft, add: Add, spielerID); }
public static void Tore_Reset(ClsCommand rb) { ClsTore.Tore_Reset(spiel: ClsGlobal.Instance.AktivesSpiel); }