summaryrefslogtreecommitdiffstats
path: root/servers/navigation_server_2d.h
diff options
context:
space:
mode:
authorsmix8 <52464204+smix8@users.noreply.github.com>2023-11-01 03:02:59 +0100
committersmix8 <52464204+smix8@users.noreply.github.com>2024-02-22 09:45:49 +0100
commit313c1d1100954383b2b5933f96773bdeb5a3a4c7 (patch)
treed80f0b3676ab62872b89bee5b44bda08c54b2f93 /servers/navigation_server_2d.h
parent16d61427cab3a8e43f0a9a8ee724fc176b6433c6 (diff)
downloadredot-engine-313c1d1100954383b2b5933f96773bdeb5a3a4c7.tar.gz
Add function to get navigation map iteration id from NavigationServer
Adds function to get navigation map iteration id from NavigationServer.
Diffstat (limited to 'servers/navigation_server_2d.h')
-rw-r--r--servers/navigation_server_2d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/navigation_server_2d.h b/servers/navigation_server_2d.h
index c7d97c004b..d7dc9d6526 100644
--- a/servers/navigation_server_2d.h
+++ b/servers/navigation_server_2d.h
@@ -102,6 +102,7 @@ public:
virtual TypedArray<RID> map_get_obstacles(RID p_map) const = 0;
virtual void map_force_update(RID p_map) = 0;
+ virtual uint32_t map_get_iteration_id(RID p_map) const = 0;
virtual Vector2 map_get_random_point(RID p_map, uint32_t p_navigation_layers, bool p_uniformly) const = 0;