Exemple #1
0
        public bool RemoveDefender(Character character)
        {
            if (!m_defendersQueue.Remove(character))
            {
                return(false);
            }

            character.ResetDefender();
            TaxCollectorHandler.SendGuildFightPlayersHelpersLeaveMessage(character.Guild.Clients, TaxCollector.TaxCollectorNpc, character);

            return(true);
        }
Exemple #2
0
        public bool RemoveDefender(Character character)
        {
            bool result;

            if (!this.m_defendersQueue.Remove(character))
            {
                result = false;
            }
            else
            {
                character.ResetDefender();
                TaxCollectorHandler.SendGuildFightPlayersHelpersLeaveMessage(character.Guild.Clients, this.TaxCollector.TaxCollectorNpc, character);
                result = true;
            }
            return(result);
        }