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

@ -74,16 +74,14 @@ namespace Server.Misc
private class LocationInfo
{
private Point3D m_Location;
private Map m_Map;
public Point3D Location { get; }
public Point3D Location => m_Location;
public Map Map => m_Map;
public Map Map { get; }
public LocationInfo( Point3D loc, Map map )
{
m_Location = loc;
m_Map = map;
Location = loc;
Map = map;
}
}
}