Implementation of CBot external call for class methods, using compilation and runtime functions.
More...
#include <src/CBot/CBotExternalCall.h>
Implementation of CBot external call for class methods, using compilation and runtime functions.
◆ CBotExternalCallClass()
CBot::CBotExternalCallClass::CBotExternalCallClass |
( |
RuntimeFunc |
rExec, |
|
|
CompileFunc |
rCompile |
|
) |
| |
◆ ~CBotExternalCallClass()
CBot::CBotExternalCallClass::~CBotExternalCallClass |
( |
| ) |
|
|
virtual |
◆ Compile()
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.
◆ Run()
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:
- src/CBot/CBotExternalCall.h
- src/CBot/CBotExternalCall.cpp