MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _construct_object

Method _construct_object

core/object/object.cpp:2230–2237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2228#endif
2229
2230void Object::_construct_object(bool p_reference) {
2231 type_is_reference = p_reference;
2232 _instance_id = ObjectDB::add_instance(this);
2233
2234#ifdef DEBUG_ENABLED
2235 _lock_index.init(1);
2236#endif
2237}
2238
2239Object::Object(bool p_reference) {
2240 _construct_object(p_reference);

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected