Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -2,10 +2,7 @@ namespace Server.Items
{
public abstract class BaseSign : Item
{
public BaseSign(int dispID) : base(dispID)
{
Movable = false;
}
public BaseSign(int dispID) : base(dispID) => Movable = false;
public BaseSign(Serial serial) : base(serial)
{

View file

@ -5,16 +5,10 @@ namespace Server.Items
private int m_LabelNumber;
[Constructible]
public LocalizedSign(SignType type, SignFacing facing, int labelNumber) : base(0xB95 + 2 * (int)type + (int)facing)
{
m_LabelNumber = labelNumber;
}
public LocalizedSign(SignType type, SignFacing facing, int labelNumber) : base(0xB95 + 2 * (int)type + (int)facing) => m_LabelNumber = labelNumber;
[Constructible]
public LocalizedSign(int itemID, int labelNumber) : base(itemID)
{
m_LabelNumber = labelNumber;
}
public LocalizedSign(int itemID, int labelNumber) : base(itemID) => m_LabelNumber = labelNumber;
public LocalizedSign(Serial serial) : base(serial)
{

View file

@ -6,17 +6,13 @@ namespace Server.Items
[Constructible]
public SubtextSign(SignType type, SignFacing facing, string subtext)
: base(type, facing)
{
: base(type, facing) =>
m_Subtext = subtext;
}
[Constructible]
public SubtextSign(int itemID, string subtext)
: base(itemID)
{
: base(itemID) =>
m_Subtext = subtext;
}
public SubtextSign(Serial serial)
: base(serial)