示例#1
0
        protected virtual void OnQueueLeave(PlayerMobile pm, PvPTeam team)
        {
            if (pm == null || pm.Deleted || IsParticipant(pm))
            {
                return;
            }

            pm.SendMessage("You have left the queue for {0}", Name);
            SendSound(pm, Options.Sounds.QueueLeave);

            AutoPvP.InvokeQueueLeave(this, team, pm);
        }