MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getConstructor

Method getConstructor

src/Core/Script/GameObject.cpp:24–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 }
23
24 sol::function GameObject::getConstructor() const
25 {
26 if (m_hasScriptEngine)
27 return m_environment["ObjectInit"].get<sol::function>();
28 throw Exceptions::NoSuchComponent("Script", m_type, m_id, EXC_INFO);
29 }
30
31 vili::node GameObjectDatabase::allDefinitions = vili::object {};
32 vili::node GameObjectDatabase::allRequires = vili::object {};

Callers 1

Calls 1

NoSuchComponentClass · 0.85

Tested by

no test coverage detected