Beispiel #1
0
 private void CheckAllBossesAreGone()
 {
     if (!BossList.Any())
     {
         PrintToChat(GetMessage("All bosses gone"));
     }
 }
Beispiel #2
0
        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));
        }
Beispiel #3
0
        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"));
        }