mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Rename NavigationServer's free method to free_rid
This commit is contained in:
parent
bf153b82c7
commit
63a9188ddb
4 changed files with 8 additions and 8 deletions
|
@ -110,11 +110,11 @@
|
||||||
Sets the current velocity of the agent.
|
Sets the current velocity of the agent.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="free" qualifiers="const">
|
<method name="free_rid" qualifiers="const">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="object" type="RID" />
|
<argument index="0" name="rid" type="RID" />
|
||||||
<description>
|
<description>
|
||||||
Destroy the RID
|
Destroys the given RID.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="map_create" qualifiers="const">
|
<method name="map_create" qualifiers="const">
|
||||||
|
|
|
@ -110,11 +110,11 @@
|
||||||
Sets the current velocity of the agent.
|
Sets the current velocity of the agent.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="free" qualifiers="const">
|
<method name="free_rid" qualifiers="const">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<argument index="0" name="object" type="RID" />
|
<argument index="0" name="rid" type="RID" />
|
||||||
<description>
|
<description>
|
||||||
Destroy the RID
|
Destroys the given RID.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="map_create" qualifiers="const">
|
<method name="map_create" qualifiers="const">
|
||||||
|
|
|
@ -193,7 +193,7 @@ void NavigationServer2D::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &NavigationServer2D::agent_is_map_changed);
|
ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &NavigationServer2D::agent_is_map_changed);
|
||||||
ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &NavigationServer2D::agent_set_callback, DEFVAL(Variant()));
|
ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &NavigationServer2D::agent_set_callback, DEFVAL(Variant()));
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("free", "object"), &NavigationServer2D::free);
|
ClassDB::bind_method(D_METHOD("free_rid", "rid"), &NavigationServer2D::free);
|
||||||
|
|
||||||
ADD_SIGNAL(MethodInfo("map_changed", PropertyInfo(Variant::RID, "map")));
|
ADD_SIGNAL(MethodInfo("map_changed", PropertyInfo(Variant::RID, "map")));
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ void NavigationServer3D::_bind_methods() {
|
||||||
ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &NavigationServer3D::agent_is_map_changed);
|
ClassDB::bind_method(D_METHOD("agent_is_map_changed", "agent"), &NavigationServer3D::agent_is_map_changed);
|
||||||
ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &NavigationServer3D::agent_set_callback, DEFVAL(Variant()));
|
ClassDB::bind_method(D_METHOD("agent_set_callback", "agent", "receiver", "method", "userdata"), &NavigationServer3D::agent_set_callback, DEFVAL(Variant()));
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("free", "object"), &NavigationServer3D::free);
|
ClassDB::bind_method(D_METHOD("free_rid", "rid"), &NavigationServer3D::free);
|
||||||
|
|
||||||
ClassDB::bind_method(D_METHOD("set_active", "active"), &NavigationServer3D::set_active);
|
ClassDB::bind_method(D_METHOD("set_active", "active"), &NavigationServer3D::set_active);
|
||||||
ClassDB::bind_method(D_METHOD("process", "delta_time"), &NavigationServer3D::process);
|
ClassDB::bind_method(D_METHOD("process", "delta_time"), &NavigationServer3D::process);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue