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

Function StringCallNoArg

engine/Evaluator/express.cpp:768–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

766}
767
768static GameValue StringCallNoArg(const GameState* state, GameValuePar oper1)
769{
770 GameVarSpace local(state->GetContext());
771 state->BeginContext(&local);
772 RString expression = oper1;
773 GameValue ret = state->EvaluateMultiple(expression);
774 state->EndContext();
775 return ret;
776}
777
778static GameValue StringIgnore(const GameState* state, GameValuePar oper1)
779{

Callers

nothing calls this directly

Calls 4

BeginContextMethod · 0.80
EvaluateMultipleMethod · 0.80
EndContextMethod · 0.80
GetContextMethod · 0.45

Tested by

no test coverage detected