void OnMemberAdded(ArenaPreFightTeam arg1, ArenaWaitingCharacter arg2) { arg2.ReadyChanged += OnReadyChanged; arg2.FightDenied += OnFightDenied; m_clients.Add(arg2.Character.Client); }
public bool TryAddMember(Character character, out GuildMember member) { if (!CanAddMember()) { member = null; return(false); } member = new GuildMember(this, character); m_members.Add(member); character.GuildMember = member; m_clients.Add(character.Client); if (m_members.Count == 1) { SetBoss(member); } OnMemberAdded(member); return(true); }