Removes redundant delegate type declarations

This commit is contained in:
Kamron Batman 2018-09-14 14:32:04 -07:00
parent 3c9842ee5a
commit c85b0a740c
317 changed files with 898 additions and 903 deletions

View file

@ -13,7 +13,7 @@ namespace Server.Items
public PlagueBeastBlood() : base( 0x122C, 0 )
{
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 1.5 ), TimeSpan.FromSeconds( 1.5 ), 3, new TimerCallback( Hemorrhage ) );
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 1.5 ), TimeSpan.FromSeconds( 1.5 ), 3, Hemorrhage );
}
public override void OnAfterDelete()

View file

@ -38,7 +38,7 @@ namespace Server.Items
from.LocalOverheadMessage( MessageType.Regular, 0x34, 1071906 ); // * You remove the plague mutation core from the plague beast, causing it to dissolve into a pile of goo *
if ( owner != null )
Timer.DelayCall<PlagueBeastLord>( TimeSpan.FromSeconds( 1 ), new TimerStateCallback<PlagueBeastLord>( KillParent ), owner );
Timer.DelayCall<PlagueBeastLord>( TimeSpan.FromSeconds( 1 ), KillParent, owner );
return true;
}

View file

@ -42,7 +42,7 @@ namespace Server.Items
Movable = false;
Timer.DelayCall( TimeSpan.Zero, new TimerCallback( Initialize ) );
Timer.DelayCall( TimeSpan.Zero, Initialize );
}
public virtual void Initialize()
@ -67,7 +67,7 @@ namespace Server.Items
{
if ( !m_Opened && m_Timer == null )
{
m_Timer = Timer.DelayCall<Mobile>( TimeSpan.FromSeconds( 3 ), new TimerStateCallback<Mobile>( FinishOpening ), from );
m_Timer = Timer.DelayCall<Mobile>( TimeSpan.FromSeconds( 3 ), FinishOpening, from );
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071897 ); // You carefully cut into the organ.
return true;
}
@ -392,7 +392,7 @@ namespace Server.Items
if ( to.Hue == 0x1 && m_Gland == null && item is PlagueBeastGland )
{
m_Gland = item;
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 3 ), new TimerCallback( FinishHealing ) );
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 3 ), FinishHealing );
from.SendAsciiMessage( 0x3B2, "* You place the healthy gland inside the organ sac *" );
item.Movable = false;
@ -420,7 +420,7 @@ namespace Server.Items
for ( int i = 0; i < 7 && i < Components.Count; i++ )
Components[ i ].Hue = 0x6;
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 2 ), new TimerCallback( OpenOrgan ) );
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 2 ), OpenOrgan );
}
public void OpenOrgan()

View file

@ -22,7 +22,7 @@ namespace Server.Items
{
if ( !m_Cut && m_Timer == null )
{
m_Timer = Timer.DelayCall<Mobile>( TimeSpan.FromSeconds( 3 ), new TimerStateCallback<Mobile>( CuttingDone ), from );
m_Timer = Timer.DelayCall<Mobile>( TimeSpan.FromSeconds( 3 ), CuttingDone, from );
scissors.PublicOverheadMessage( MessageType.Regular, 0x3B2, 1071899 ); // You begin cutting through the vein.
return true;
}