Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue