MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / EvaluateMultipleBool

Method EvaluateMultipleBool

engine/Evaluator/express.cpp:2784–2793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2782}
2783
2784bool GameState::EvaluateMultipleBool(const char* expression, bool localOnly) const
2785{
2786 GameValue value = EvaluateMultiple(expression, localOnly);
2787 if (value.GetType() & GameBool)
2788 {
2789 return bool(value);
2790 }
2791 TypeError(GameBool, value.GetType());
2792 return false;
2793}
2794
2795bool GameState::VarGoodName(const char* name) const
2796{

Callers 1

OnLButtonClickMethod · 0.80

Calls 1

GetTypeMethod · 0.45

Tested by

no test coverage detected