Convert Regions/Spawns to JSON (#138)
This commit is contained in:
parent
b8316e9202
commit
390f30e706
117 changed files with 97306 additions and 4848 deletions
|
|
@ -374,15 +374,9 @@ namespace Server
|
|||
|
||||
public int CompareTo(Map other) => other == null ? -1 : MapID.CompareTo(other.MapID);
|
||||
|
||||
public static string[] GetMapNames()
|
||||
{
|
||||
return Maps.Where(m => m != null).Select(m => m.Name).ToArray();
|
||||
}
|
||||
public static string[] GetMapNames() => Maps.Where(m => m != null).Select(m => m.Name).ToArray();
|
||||
|
||||
public static Map[] GetMapValues()
|
||||
{
|
||||
return Maps.Where(m => m != null).ToArray();
|
||||
}
|
||||
public static Map[] GetMapValues() => Maps.Where(m => m != null).ToArray();
|
||||
|
||||
public static Map Parse(string value)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue