Removes redundant delegate type declarations
This commit is contained in:
parent
3c9842ee5a
commit
c85b0a740c
317 changed files with 898 additions and 903 deletions
|
|
@ -23,7 +23,7 @@ namespace Server.Commands.Generic
|
|||
|
||||
public override void Process( Mobile from, BaseCommand command, string[] args )
|
||||
{
|
||||
BoundingBoxPicker.Begin( from, new BoundingBoxCallback( OnTarget ), new object[]{ command, args } );
|
||||
BoundingBoxPicker.Begin( from, OnTarget, new object[]{ command, args } );
|
||||
}
|
||||
|
||||
public void OnTarget( Mobile from, Map map, Point3D start, Point3D end, object state )
|
||||
|
|
|
|||
|
|
@ -307,7 +307,7 @@ namespace Server.Commands.Generic
|
|||
return;
|
||||
|
||||
for ( int i = 0; i < m_Accessors.Length; ++i )
|
||||
CommandSystem.Register( m_Accessors[i], m_AccessLevel, new CommandEventHandler( Execute ) );
|
||||
CommandSystem.Register( m_Accessors[i], m_AccessLevel, Execute );
|
||||
}
|
||||
|
||||
public static void Register( BaseCommandImplementor impl )
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ namespace Server.Commands.Generic
|
|||
base.Register( command );
|
||||
|
||||
for ( int i = 0; i < command.Commands.Length; ++i )
|
||||
CommandSystem.Register( command.Commands[i], command.AccessLevel, new CommandEventHandler( Redirect ) );
|
||||
CommandSystem.Register( command.Commands[i], command.AccessLevel, Redirect );
|
||||
}
|
||||
|
||||
public void Redirect( CommandEventArgs e )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue