Exemplo n.º 1
0
        public bool RemoveMember(GuildMember member)
        {
            if (member == null || !m_members.Contains(member))
            {
                return(false);
            }

            m_members.Remove(member);

            if (member.IsConnected)
            {
                m_clients.Remove(member.Character.Client);
            }

            OnMemberRemoved(member);

            return(true);
        }
Exemplo n.º 2
0
        void OnMemberRemoved(ArenaPreFightTeam arg1, ArenaWaitingCharacter arg2)
        {
            arg2.ReadyChanged -= OnReadyChanged;
            arg2.FightDenied  -= OnFightDenied;

            m_clients.Remove(arg2.Character.Client);

            ContextHandler.SendGameRolePlayArenaRegistrationStatusMessage(Clients, false,
                                                                          PvpArenaStepEnum.ARENA_STEP_UNREGISTER, PvpArenaTypeEnum.ARENA_TYPE_3VS3);
        }