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

Method OnModified

trinity/Controllers/Actions/Tr2ActionBindRTPC.cpp:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool Tr2ActionBindRTPC::OnModified( Be::Var* value )
115{
116 if( !m_controller )
117 {
118 return true;
119 }
120 if( IsMatch( value, m_value ) )
121 {
122 m_evaluator.SetExpr( m_value.c_str(), *m_controller, s_extraFunctions );
123 }
124 return true;
125}
126
127bool Tr2ActionBindRTPC::IsExpressionValid() const
128{

Callers

nothing calls this directly

Calls 2

IsMatchFunction · 0.85
SetExprMethod · 0.80

Tested by

no test coverage detected