attempt for road on route

This commit is contained in:
Logophilist
2020-09-18 16:06:35 +02:00
parent 7842baafb4
commit c837af0392
3 changed files with 37 additions and 7 deletions

View File

@@ -60,6 +60,15 @@ namespace RH_Engine
return null;
}
public static string GetRouteID(string json)
{
dynamic jsonData = JsonConvert.DeserializeObject(json);
if (jsonData.data.status == "ok")
{
return jsonData.data.uuid;
}
return null;
}
}
}