public virtual bool CanSendInvite(PlayerMobile pm) { return(pm != null && !pm.Deleted && pm.Alive && !pm.InRegion <Jail>() && pm.DesignContext == null && IsOnline(pm) && !InCombat(pm) && IsQueued(pm) && !IsParticipant(pm) && !InOtherBattle(pm) && !AutoPvP.IsDeserter(pm)); }
public virtual bool CanQueue(PlayerMobile pm) { return(!IsInternal && QueueAllowed && IsOnline(pm) && pm.Alive && !InCombat(pm) && !IsQueued(pm) && !InOtherBattle(pm) && !AutoPvP.IsDeserter(pm) && !pm.InRegion <Jail>()); }