MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / instance_create

Method instance_create

compat/fake_gdscript.cpp:111–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111ScriptInstance *FakeGDScript::instance_create(Object *p_this) {
112 auto instance = memnew(FakeScriptInstance());
113 instance->script = Ref<FakeGDScript>(this);
114 instance->owner = p_this;
115 instance->update_cached_prop_names();
116 return instance;
117}
118
119PlaceHolderScriptInstance *FakeGDScript::placeholder_instance_create(Object *p_this) {
120 PlaceHolderScriptInstance *si = memnew(PlaceHolderScriptInstance(/*GDScriptLanguage::get_singleton()*/ nullptr, Ref<Script>(this), p_this));

Callers

nothing calls this directly

Calls 2

FakeScriptInstanceClass · 0.85

Tested by

no test coverage detected