Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -55,7 +55,7 @@ namespace Server.Misc
public abstract class GiftGiver
{
public virtual TimeSpan MinimumAge{ get{ return TimeSpan.FromDays( 30.0 ); } }
public virtual TimeSpan MinimumAge => TimeSpan.FromDays( 30.0 );
public abstract DateTime Start{ get; }
public abstract DateTime Finish{ get; }

View file

@ -9,7 +9,7 @@ namespace Server.Misc
public class TestCenter
{
private const bool m_Enabled = false;
public static bool Enabled { get{ return m_Enabled; } }
public static bool Enabled => m_Enabled;
public static void Initialize()
{

View file

@ -4,10 +4,7 @@ namespace Server.Items
{
public class ResGate : Item
{
public override string DefaultName
{
get { return "a resurrection gate"; }
}
public override string DefaultName => "a resurrection gate";
[Constructible]
public ResGate() : base( 0xF6C )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class AlchemyStone : Item
{
public override string DefaultName
{
get { return "an Alchemist Supply Stone"; }
}
public override string DefaultName => "an Alchemist Supply Stone";
[Constructible]
public AlchemyStone() : base( 0xED4 )

View file

@ -7,10 +7,7 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int GamblePot
{
get
{
return m_GamblePot;
}
get => m_GamblePot;
set
{
m_GamblePot = value;
@ -18,10 +15,7 @@ namespace Server.Items
}
}
public override string DefaultName
{
get { return "a gambling stone"; }
}
public override string DefaultName => "a gambling stone";
[Constructible]
public GamblingStone()

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class IngotStone : Item
{
public override string DefaultName
{
get { return "an Ingot stone"; }
}
public override string DefaultName => "an Ingot stone";
[Constructible]
public IngotStone() : base( 0xED4 )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class RegStone : Item
{
public override string DefaultName
{
get { return "a reagent stone"; }
}
public override string DefaultName => "a reagent stone";
[Constructible]
public RegStone() : base( 0xED4 )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class ScribeStone : Item
{
public override string DefaultName
{
get { return "a Scribe Supply Stone"; }
}
public override string DefaultName => "a Scribe Supply Stone";
[Constructible]
public ScribeStone() : base( 0xED4 )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class SmithStone : Item
{
public override string DefaultName
{
get { return "a Blacksmith Supply Stone"; }
}
public override string DefaultName => "a Blacksmith Supply Stone";
[Constructible]
public SmithStone() : base( 0xED4 )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class TailorStone : Item
{
public override string DefaultName
{
get { return "a Tailor Supply Stone"; }
}
public override string DefaultName => "a Tailor Supply Stone";
[Constructible]
public TailorStone() : base( 0xED4 )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class AlchemyBag : Bag
{
public override string DefaultName
{
get { return "an Alchemy Kit"; }
}
public override string DefaultName => "an Alchemy Kit";
[Constructible]
public AlchemyBag() : this( 1 )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class ScribeBag : Bag
{
public override string DefaultName
{
get { return "a Scribe Kit"; }
}
public override string DefaultName => "a Scribe Kit";
[Constructible]
public ScribeBag() : this( 1 )

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public class TailorBag : Bag
{
public override string DefaultName
{
get { return "a Tailoring Kit"; }
}
public override string DefaultName => "a Tailoring Kit";
[Constructible]
public TailorBag() : this( 1 )