Server.Misc.ClientVerification.SendAnnoyGump C# (CSharp) Méthode

SendAnnoyGump() private static méthode

private static SendAnnoyGump ( Mobile m ) : void
m Mobile
Résultat void
		private static void SendAnnoyGump( Mobile m )
		{
			if( m.NetState != null && m.NetState.Version < Required )
			{
				Gump g = new WarningGump( 1060637, 30720, String.Format( "Your client is out of date. Please update your client.<br>This server recommends that your client version be at least {0}.<br> <br>You are currently using version {1}.<br> <br>To patch, run UOPatch.exe inside your Ultima Online folder.", Required, m.NetState.Version ), 0xFFC000, 480, 360,
					delegate( Mobile mob, bool selection, object o )
					{
						m.SendMessage( "You will be reminded of this again." );

						if ( m_OldClientResponse == OldClientResponse.LenientKick )
							m.SendMessage( "Old clients will be kicked after {0} days of character age and {1} hours of play time", m_AgeLeniency, m_GameTimeLeniency );

						Timer.DelayCall( TimeSpan.FromMinutes( Utility.Random( 5, 15 ) ), delegate { SendAnnoyGump( m ); } );
					}, null, false );

				g.Dragable = false;
                g.Closable = false;
                g.Resizable = false;

				m.SendGump( g );
			}
		}
	}