private static void OnTowerDeactivation(ITower tower) { string title = "Good job! Tower deactivated!"; string body = "Tower nº" + tower.Number + " in the " + Main.GetUppercaseNames(tower.Sector.Name) + "."; FireBasePush.SendMessage(title, body); }
private static void OnTowerHijack(ITower tower, APIActivator oldActivator, APIActivator newActivator) { string title = "Huh? A tower has been hijacked!"; string body = "Tower nº" + tower.Number + " in the " + Main.GetUppercaseNames(tower.Sector.Name) + ", from " + Main.GetUppercaseNames(oldActivator.ToString()) + " to " + Main.GetUppercaseNames(newActivator.ToString()) + "!"; FireBasePush.SendMessage(title, body); }