private void CheckAllBossesAreGone() { if (!BossList.Any()) { PrintToChat(GetMessage("All bosses gone")); } }
private void List(Player player) { if (!BossList.Any()) { player.SendError(GetMessage("No bosses", player)); return; } player.SendMessage(GetMessage("Bosslist title", player)); BossList.Foreach(b => player.SendMessage(GetMessage("Bosslist player", player), b.Value)); }
private void RemoveAll(Player player) { if (!CheckPermission(player, "RaidBoss.Modify")) { return; } if (!BossList.Any()) { player.SendError(GetMessage("No bosses", player)); return; } BossList.Clear(); PrintToChat(GetMessage("All bosses gone")); }