MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / exportControllers

Method exportControllers

src/engine/World.cpp:1082–1088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1080}
1081
1082void WorldInstance::exportControllers(Logic::Controller* logicController, Logic::VisualController* visualController, json& j)
1083{
1084 if (logicController && logicController->shouldExport())
1085 logicController->exportObject(j["logic"]);
1086 if (visualController && visualController->shouldExport())
1087 visualController->exportObject(j["visual"]);
1088}
1089
1090void WorldInstance::takeControlOver(Handle::EntityHandle entityHandle)
1091{

Callers

nothing calls this directly

Calls 2

shouldExportMethod · 0.45
exportObjectMethod · 0.45

Tested by

no test coverage detected