コード例 #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
ファイル: Battle_Membership.cs プロジェクト: Ravenwolfe/Core
		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);
		}