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

Method sendInitArgFromLua

src/Core/Script/GameObject.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 void GameObject::sendInitArgFromLua(
132 const std::string& argName, sol::object value) const
133 {
134 Debug::Log->debug("<GameObject> Sending Local.Init argument {0} to "
135 "GameObject {1} ({2}) (From Lua)",
136 argName, m_id, m_type);
137 t_local->pushParameterFromLua("Init", argName, value);
138 }
139
140 void GameObject::registerTrigger(
141 std::weak_ptr<Triggers::Trigger> trg, const std::string& callbackName)

Callers

nothing calls this directly

Calls 2

debugMethod · 0.80
pushParameterFromLuaMethod · 0.45

Tested by

no test coverage detected