Add function to get navigation map iteration id from NavigationServer

Adds function to get navigation map iteration id from NavigationServer.
This commit is contained in:
smix8 2023-11-01 03:02:59 +01:00
parent 16d61427ca
commit 313c1d1100
18 changed files with 65 additions and 26 deletions

View file

@ -504,6 +504,14 @@
Returns the edge connection margin of the map. The edge connection margin is a distance used to connect two regions.
</description>
</method>
<method name="map_get_iteration_id" qualifiers="const">
<return type="int" />
<param index="0" name="map" type="RID" />
<description>
Returns the current iteration id of the navigation map. Every time the navigation map changes and synchronizes the iteration id increases. An iteration id of 0 means the navigation map has never synchronized.
[b]Note:[/b] The iteration id will wrap back to 1 after reaching its range limit.
</description>
</method>
<method name="map_get_link_connection_radius" qualifiers="const">
<return type="float" />
<param index="0" name="map" type="RID" />