Removes implicit this.

This commit is contained in:
Kamron Batman 2018-09-14 12:56:58 -07:00
parent 04b4cfe75b
commit 83dcf536d8
533 changed files with 2804 additions and 2806 deletions

View file

@ -93,7 +93,7 @@ namespace Server.Items
}
else
{
foreach ( NetState state in this.GetClientsInRange( 2 ) )
foreach ( NetState state in GetClientsInRange( 2 ) )
state.Send( p );
}
@ -152,7 +152,7 @@ namespace Server.Items
public override void OnClick()
{
if ( BaseBoard.ValidateDefault( m_From, m_Board ) )
if ( ValidateDefault( m_From, m_Board ) )
m_Board.Reset();
}
}

View file

@ -16,7 +16,7 @@ namespace Server.Items
public override void OnDoubleClick( Mobile from )
{
if ( !from.InRange( this.GetWorldLocation(), 2 ) )
if ( !from.InRange( GetWorldLocation(), 2 ) )
return;
Roll( from );
@ -32,7 +32,7 @@ namespace Server.Items
public void Roll( Mobile from )
{
this.PublicOverheadMessage( MessageType.Regular, 0, false, string.Format( "*{0} rolls {1}, {2}*", from.Name, Utility.Random( 1, 6 ), Utility.Random( 1, 6 ) ) );
PublicOverheadMessage( MessageType.Regular, 0, false, string.Format( "*{0} rolls {1}, {2}*", from.Name, Utility.Random( 1, 6 ), Utility.Random( 1, 6 ) ) );
}
public override void Serialize( GenericWriter writer )