Fixed grass texture, houses and time of day

This commit is contained in:
Logophilist
2020-10-09 15:35:54 +02:00
parent e410e9ec88
commit 34eed08234
3 changed files with 109 additions and 55 deletions

View File

@@ -87,6 +87,16 @@ namespace RH_Engine
return null;
}
public static string GetTerrainID(string json)
{
dynamic jsonData = JsonConvert.DeserializeObject(json);
if (jsonData.data.data.status == "ok")
{
return jsonData.data.data.data.uuid;
}
return null;
}
/// <summary>
/// method to get the uuid from requests for adding a node,route or road
/// </summary>