MCPcopy Create free account
hub / github.com/adventuregamestudio/ags / SetReturnValue

Method SetReturnValue

Engine/script/scriptexecutor.h:175–175  ·  view source on GitHub ↗

FIXME: this is a hack, required for dialog script; redo this later!

Source from the content-addressed store, hash-verified

173 int GetReturnValue() const { return _returnValue; }
174 // FIXME: this is a hack, required for dialog script; redo this later!
175 void SetReturnValue(int val) { _returnValue = val; }
176
177 // Get the script's execution position and callstack as human-readable text
178 String FormatCallStack(uint32_t max_lines = UINT32_MAX) const;

Callers 1

RunScriptFunctionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected