Removes redundant delegate type declarations
This commit is contained in:
parent
3c9842ee5a
commit
c85b0a740c
317 changed files with 898 additions and 903 deletions
|
|
@ -16,7 +16,7 @@ namespace Server.Items
|
|||
public virtual void StartTimer()
|
||||
{
|
||||
if ( m_Timer == null )
|
||||
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), TimeSpan.FromSeconds( 1.0 ), new TimerCallback( Refresh ) );
|
||||
m_Timer = Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), TimeSpan.FromSeconds( 1.0 ), Refresh );
|
||||
}
|
||||
|
||||
public virtual void StopTimer()
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Server.Items
|
|||
|
||||
Spells.SpellHelper.Damage( TimeSpan.FromSeconds( 0.5 ), from, from, Utility.Dice( 2, 4, 0 ) );
|
||||
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 2.0 ), new TimerCallback( OnMushroomReset ) );
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 2.0 ), OnMushroomReset );
|
||||
}
|
||||
|
||||
public virtual void OnMushroomReset()
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@ namespace Server.Items
|
|||
Spells.SpellHelper.Damage( TimeSpan.FromTicks( 1 ), mob, mob, Utility.RandomMinMax( 1, 6 ) * 6 );
|
||||
}
|
||||
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), new TimerCallback( OnSpikeExtended ) );
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), OnSpikeExtended );
|
||||
|
||||
from.LocalOverheadMessage( MessageType.Regular, 0x22, 500852 ); // You stepped onto a spike trap!
|
||||
}
|
||||
|
|
@ -117,7 +117,7 @@ namespace Server.Items
|
|||
public virtual void OnSpikeExtended()
|
||||
{
|
||||
Extended = true;
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 5.0 ), new TimerCallback( OnSpikeRetracted ) );
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 5.0 ), OnSpikeRetracted );
|
||||
}
|
||||
|
||||
public virtual void OnSpikeRetracted()
|
||||
|
|
|
|||
|
|
@ -89,8 +89,8 @@ namespace Server.Items
|
|||
|
||||
Breathing = true;
|
||||
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 2.0 ), new TimerCallback( FinishBreath ) );
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), new TimerCallback( TriggerDamage ) );
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 2.0 ), FinishBreath );
|
||||
Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), TriggerDamage );
|
||||
}
|
||||
|
||||
public virtual void FinishBreath()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue