MCPcopy Create free account
hub / github.com/GodotECS/godex / _bind_methods

Method _bind_methods

iterators/dynamic_query.cpp:8–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using godex::DynamicQuery;
7
8void DynamicQuery::_bind_methods() {
9 ClassDB::bind_method(D_METHOD("set_space", "space"), &DynamicQuery::set_space);
10 ClassDB::bind_method(D_METHOD("with_component", "component_id", "mutable"), &DynamicQuery::with_component);
11 ClassDB::bind_method(D_METHOD("maybe_component", "component_id", "mutable"), &DynamicQuery::maybe_component);
12 ClassDB::bind_method(D_METHOD("changed_component", "component_id", "mutable"), &DynamicQuery::changed_component);
13 ClassDB::bind_method(D_METHOD("not_component", "component_id"), &DynamicQuery::not_component);
14
15 ClassDB::bind_method(D_METHOD("is_valid"), &DynamicQuery::is_valid);
16 ClassDB::bind_method(D_METHOD("prepare_world"), &DynamicQuery::prepare_world_script);
17 ClassDB::bind_method(D_METHOD("reset"), &DynamicQuery::reset);
18 ClassDB::bind_method(D_METHOD("get_component", "index"), &DynamicQuery::get_access_by_index_gd);
19
20 ClassDB::bind_method(D_METHOD("begin", "world"), &DynamicQuery::begin_script);
21 ClassDB::bind_method(D_METHOD("end"), &DynamicQuery::end_script);
22
23 ClassDB::bind_method(D_METHOD("next"), &DynamicQuery::next);
24
25 ClassDB::bind_method(D_METHOD("has", "entity_index"), &DynamicQuery::script_has);
26 ClassDB::bind_method(D_METHOD("fetch", "entity_index"), &DynamicQuery::script_fetch);
27
28 ClassDB::bind_method(D_METHOD("get_current_entity_id"), &DynamicQuery::script_get_current_entity_id);
29 ClassDB::bind_method(D_METHOD("count"), &DynamicQuery::count);
30}
31
32DynamicQuery::DynamicQuery() {
33}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected