Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -10,7 +10,7 @@ namespace Server.Items
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
public override TimeSpan DecayTime => TimeSpan.FromMinutes( Utility.Random( 15, 60 ) );
private void SetChestAppearance()
{
@ -35,9 +35,9 @@ namespace Server.Items
}
}
public override int DefaultGumpID { get { return 0x42; } }
public override int DefaultGumpID => 0x42;
public override int DefaultDropSound { get { return 0x42; } }
public override int DefaultDropSound => 0x42;
public override Rectangle2D Bounds
{

View file

@ -10,7 +10,7 @@ namespace Server.Items
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
public override TimeSpan DecayTime => TimeSpan.FromMinutes( Utility.Random( 15, 60 ) );
private void SetChestAppearance()
{
@ -60,9 +60,9 @@ namespace Server.Items
}
}
public override int DefaultGumpID { get { return 0x42; } }
public override int DefaultGumpID => 0x42;
public override int DefaultDropSound { get { return 0x42; } }
public override int DefaultDropSound => 0x42;
public override Rectangle2D Bounds
{

View file

@ -10,7 +10,7 @@ namespace Server.Items
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
public override TimeSpan DecayTime => TimeSpan.FromMinutes( Utility.Random( 15, 60 ) );
private void SetChestAppearance()
{
@ -34,9 +34,9 @@ namespace Server.Items
}
}
public override int DefaultGumpID { get { return 0x42; } }
public override int DefaultGumpID => 0x42;
public override int DefaultDropSound { get { return 0x42; } }
public override int DefaultDropSound => 0x42;
public override Rectangle2D Bounds
{

View file

@ -10,7 +10,7 @@ namespace Server.Items
public override bool IsDecoContainer => false;
public override TimeSpan DecayTime { get { return TimeSpan.FromMinutes( Utility.Random( 15, 60 ) ); } }
public override TimeSpan DecayTime => TimeSpan.FromMinutes( Utility.Random( 15, 60 ) );
private void SetChestAppearance()
{
@ -40,9 +40,9 @@ namespace Server.Items
}
}
public override int DefaultGumpID { get { return 0x42; } }
public override int DefaultGumpID => 0x42;
public override int DefaultDropSound { get { return 0x42; } }
public override int DefaultDropSound => 0x42;
public override Rectangle2D Bounds
{