Changes properties to use automatic property initializers

This commit is contained in:
Kamron Batman 2018-09-14 15:23:29 -07:00
parent f0a48ad431
commit 06fa31a7bf
623 changed files with 13072 additions and 19304 deletions

View file

@ -7,16 +7,14 @@ namespace Server.Menus.Questions
{
public class StuckMenuEntry
{
private int m_Name;
private Point3D[] m_Locations;
public int Name { get; }
public int Name => m_Name;
public Point3D[] Locations => m_Locations;
public Point3D[] Locations { get; }
public StuckMenuEntry( int name, Point3D[] locations )
{
m_Name = name;
m_Locations = locations;
Name = name;
Locations = locations;
}
}