示例#1
0
 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));
 }
示例#2
0
 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>());
 }