Example #1
0
        protected virtual void OnQueueUpdate(PlayerMobile pm, PvPTeam team)
        {
            if (pm == null || pm.Deleted)
            {
                return;
            }

            pm.SendMessage(
                "Your queue status for {0} has changed{1}",
                Name,
                team != null ? ", your team is " + team.Name : String.Empty);
            SendSound(pm, Options.Sounds.QueueJoin);

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