示例#1
0
        protected virtual void OnSendInvite(PlayerMobile pm, PvPInviteGump invite)
        {
            if (pm == null || pm.Deleted || !pm.Alive || invite == null || invite.IsDisposed)
            {
                return;
            }

            invite.Send();
            SendSound(pm, Options.Sounds.InviteSend);
        }
示例#2
0
		protected virtual void OnSendInvite(PlayerMobile pm, PvPInviteGump invite)
		{
			if (pm == null || pm.Deleted || !pm.Alive || invite == null || invite.IsDisposed)
			{
				return;
			}

			invite.Send();
			SendSound(pm, Options.Sounds.InviteSend);
		}