MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetControllerVariable

Method SetControllerVariable

trinity/Eve/Turret/EveTurretFiringFX.cpp:793–803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791}
792
793void EveTurretFiringFX::SetControllerVariable( const char* name, float value )
794{
795 for( auto it = m_stretch.begin(); it != m_stretch.end(); ++it )
796 {
797 ITr2ControllerOwnerPtr co;
798 if( ( *it )->QueryInterface( BlueInterfaceIID<ITr2ControllerOwner>(), (void**)&co, BEQI_SILENT ) )
799 {
800 co->SetControllerVariable( name, value );
801 }
802 }
803}
804
805void EveTurretFiringFX::HandleControllerEvent( const char* name )
806{

Callers

nothing calls this directly

Calls 3

QueryInterfaceMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected