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

            pm.SendMessage(
                "You have joined the queue for {0}{1}",
                Name,
                team != null ? ", your team is " + team.Name : String.Empty);
            SendSound(pm, Options.Sounds.QueueJoin);

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