Default implementation of CBot external call, using compilation and runtime functions.
More...
#include <CBotExternalCall.h>
Default implementation of CBot external call, using compilation and runtime functions.
CBot::CBotExternalCallDefault::CBotExternalCallDefault |
( |
RuntimeFunc |
rExec, |
|
|
CompileFunc |
rCompile |
|
) |
| |
CBot::CBotExternalCallDefault::~CBotExternalCallDefault |
( |
| ) |
|
|
virtual |
Compile the function.
- Parameters
-
thisVar | "this" variable for class calls, nullptr for normal calls |
args | Arguments (only types!) passed to the function |
user | User pointer provided to CBotProgram::Compile() |
Implements CBot::CBotExternalCall.
bool CBot::CBotExternalCallDefault::Run |
( |
CBotVar * |
thisVar, |
|
|
CBotStack * |
pStack |
|
) |
| |
|
overridevirtual |
Execute the function.
- Parameters
-
thisVar | "this" variable for class calls, nullptr for normal calls |
pStack | Stack to execute the function on |
- Returns
- false to request program interruption, true otherwise
Implements CBot::CBotExternalCall.
The documentation for this class was generated from the following files:
- /build/colobot-4LMcse/colobot-0.1.8/src/CBot/CBotExternalCall.h
- /build/colobot-4LMcse/colobot-0.1.8/src/CBot/CBotExternalCall.cpp