MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getControlObj

Function getControlObj

Engine/source/gui/worldEditor/editor.cpp:122–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120//------------------------------------------------------------------------------
121
122static GameBase * getControlObj()
123{
124 GameConnection * connection = GameConnection::getLocalClientConnection();
125 GameBase* control = 0;
126 if(connection)
127 control = connection->getControlObject();
128 return(control);
129}
130
131DefineEngineMethod( EditManager, setBookmark, void, (S32 val), , "(int slot)")
132{

Callers 1

editor.cppFile · 0.85

Calls 1

getControlObjectMethod · 0.45

Tested by

no test coverage detected