MCPcopy Create free account
hub / github.com/BZFlag-Dev/bzflag / UpdateCallIn

Method UpdateCallIn

src/lua/LuaHandle.cpp:259–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257
258
259bool LuaHandle::UpdateCallIn(const std::string& ciName, bool state) {
260 const std::string& eventName = luaCallInDB.GetEventName(ciName);
261 if (state) {
262 return eventHandler.InsertEvent(this, eventName);
263 }
264 else {
265 return eventHandler.RemoveEvent(this, eventName);
266 }
267}
268
269
270//============================================================================//

Callers 1

ScriptSetCallInMethod · 0.80

Calls 2

InsertEventMethod · 0.80
RemoveEventMethod · 0.80

Tested by

no test coverage detected