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

Method setControllingClient

Engine/source/T3D/gameBase/gameBase.cpp:533–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531//----------------------------------------------------------------------------
532
533void GameBase::setControllingClient(GameConnection* client)
534{
535 if (isClientObject())
536 {
537 if (mControllingClient)
538 setControl_callback( 0 );
539 if (client)
540 setControl_callback( 1 );
541 }
542
543 mControllingClient = client;
544}
545
546U32 GameBase::getPacketDataChecksum(GameConnection * connection)
547{

Callers 3

setControlObjectMethod · 0.45
setCameraObjectMethod · 0.45
onRemoveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected