Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -510,7 +510,7 @@ namespace Server.Commands
|
|||
for ( int i = 0; i < subArgs.Length; ++i )
|
||||
subArgs[i] = e.Arguments[i + 5];
|
||||
|
||||
Add.Invoke( e.Mobile, p, p2, subArgs, null, outline, false );
|
||||
Invoke( e.Mobile, p, p2, subArgs, null, outline, false );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -530,7 +530,7 @@ namespace Server.Commands
|
|||
for ( int i = 0; i < subArgs.Length; ++i )
|
||||
subArgs[i] = e.Arguments[i + 5];
|
||||
|
||||
Add.Invoke( e.Mobile, p, p2, subArgs, null, outline, false );
|
||||
Invoke( e.Mobile, p, p2, subArgs, null, outline, false );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -2095,7 +2095,7 @@ namespace Server.Commands
|
|||
if ( info.m_Declaring == null )
|
||||
nsHtml.WriteLine( " <!-- DBG-ST -->"+info.LinkName( "../types/" ) + "<br>" );
|
||||
|
||||
using( StreamWriter typeHtml = Docs.GetWriter( info.FileName ) )
|
||||
using( StreamWriter typeHtml = GetWriter( info.FileName ) )
|
||||
{
|
||||
typeHtml.WriteLine( "<html>" );
|
||||
typeHtml.WriteLine( " <head>" );
|
||||
|
|
@ -2399,7 +2399,7 @@ namespace Server.Commands
|
|||
string rootType = type.Name.Substring( 0, index );
|
||||
|
||||
StringBuilder nameBuilder = new StringBuilder( rootType );
|
||||
StringBuilder fnamBuilder = new StringBuilder( "docs/types/" + Docs.SanitizeType( rootType ) );
|
||||
StringBuilder fnamBuilder = new StringBuilder( "docs/types/" + SanitizeType( rootType ) );
|
||||
StringBuilder linkBuilder;
|
||||
if ( DontLink( type ) )//if ( DontLink( rootType ) )
|
||||
linkBuilder = new StringBuilder( "<font color=\"blue\">" + rootType + "</font>" );
|
||||
|
|
@ -2421,8 +2421,8 @@ namespace Server.Commands
|
|||
linkBuilder.Append( ',' );
|
||||
}
|
||||
|
||||
string sanitizedName = Docs.SanitizeType( typeArguments[i].Name );
|
||||
string aliasedName = Docs.AliasForName( sanitizedName );
|
||||
string sanitizedName = SanitizeType( typeArguments[i].Name );
|
||||
string aliasedName = AliasForName( sanitizedName );
|
||||
|
||||
nameBuilder.Append( sanitizedName );
|
||||
fnamBuilder.Append( "T" );
|
||||
|
|
@ -2444,15 +2444,15 @@ namespace Server.Commands
|
|||
if ( name == null ) typeName = type.Name;
|
||||
else typeName = name;
|
||||
|
||||
if ( fnam == null ) fileName = "docs/types/" + Docs.SanitizeType( type.Name ) + ".html";
|
||||
if ( fnam == null ) fileName = "docs/types/" + SanitizeType( type.Name ) + ".html";
|
||||
else fileName = fnam + ".html";
|
||||
|
||||
if ( link == null )
|
||||
{
|
||||
if ( DontLink( type ) ) //if ( DontLink( type.Name ) )
|
||||
linkName = "<font color=\"blue\">" + Docs.SanitizeType( type.Name ) + "</font>";
|
||||
linkName = "<font color=\"blue\">" + SanitizeType( type.Name ) + "</font>";
|
||||
else
|
||||
linkName = "<a href=\"" + "@directory@" + Docs.SanitizeType( type.Name ) + ".html\">" + Docs.SanitizeType( type.Name ) + "</a>";
|
||||
linkName = "<a href=\"" + "@directory@" + SanitizeType( type.Name ) + ".html\">" + SanitizeType( type.Name ) + "</a>";
|
||||
}
|
||||
else linkName = link;
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
public bool IsValid( object obj )
|
||||
{
|
||||
for ( int i = 0; i < this.Count; ++i )
|
||||
for ( int i = 0; i < Count; ++i )
|
||||
{
|
||||
if ( !this[i].IsValid( obj ) )
|
||||
return false;
|
||||
|
|
@ -64,7 +64,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
public void Filter( ArrayList list )
|
||||
{
|
||||
for ( int i = 0; i < this.Count; ++i )
|
||||
for ( int i = 0; i < Count; ++i )
|
||||
this[i].Filter( list );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ namespace Server.Commands.Generic
|
|||
{
|
||||
m_Property = property;
|
||||
|
||||
this.IsAscending = isAscending;
|
||||
IsAscending = isAscending;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ namespace Server.Commands.Generic
|
|||
public static ObjectConditional ParseDirect( Mobile from, string[] args, int offset, int size )
|
||||
{
|
||||
if ( args == null || size == 0 )
|
||||
return ObjectConditional.Empty;
|
||||
return Empty;
|
||||
|
||||
int index = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -385,7 +385,7 @@ namespace Server.Commands
|
|||
|
||||
public override void OnCancel( NetState state )
|
||||
{
|
||||
state.Mobile.SendMenu( new EquipMenu( state.Mobile, m_Mobile, ViewEqTarget.GetEquip( m_Mobile ) ) );
|
||||
state.Mobile.SendMenu( new EquipMenu( state.Mobile, m_Mobile, GetEquip( m_Mobile ) ) );
|
||||
}
|
||||
|
||||
public override void OnResponse( NetState state, int index )
|
||||
|
|
@ -935,7 +935,7 @@ namespace Server.Commands
|
|||
[Description( "View some stats about the server." )]
|
||||
public static void Stats_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendMessage( "Open Connections: {0}", Network.NetState.Instances.Count );
|
||||
e.Mobile.SendMessage( "Open Connections: {0}", NetState.Instances.Count );
|
||||
e.Mobile.SendMessage( "Mobiles: {0}", World.Mobiles.Count );
|
||||
e.Mobile.SendMessage( "Items: {0}", World.Items.Count );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue