Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -90,11 +90,11 @@ namespace Server.Engines.Quests.Collector
|
|||
private int m_X;
|
||||
private int m_Y;
|
||||
|
||||
public int Figurine { get { return m_Figurine; } }
|
||||
public Type Type { get { return m_Type; } }
|
||||
public int Figurine => m_Figurine;
|
||||
public Type Type => m_Type;
|
||||
public int Name { get { return m_Figurine < 0x4000 ? 1020000 + m_Figurine : 1078872 + m_Figurine; } }
|
||||
public int X { get { return m_X; } }
|
||||
public int Y { get { return m_Y; } }
|
||||
public int X => m_X;
|
||||
public int Y => m_Y;
|
||||
|
||||
public ImageTypeInfo( int figurine, Type type, int x, int y )
|
||||
{
|
||||
|
|
@ -104,4 +104,4 @@ namespace Server.Engines.Quests.Collector
|
|||
m_Y = y;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@ namespace Server.Engines.Quests.Collector
|
|||
set { m_StatueName = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
public override bool ForceShowProperties { get { return ObjectPropertyList.Enabled; } }
|
||||
public override bool ForceShowProperties => ObjectPropertyList.Enabled;
|
||||
|
||||
[Constructible]
|
||||
public Obsidian() : base( 0x1EA7 )
|
||||
|
|
@ -261,4 +261,4 @@ namespace Server.Engines.Quests.Collector
|
|||
m_StatueName = Utility.Intern( reader.ReadString() );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue