Colobot
|
Interface for external CBot calls. More...
#include <CBotExternalCall.h>
Public Member Functions | |
CBotExternalCall () | |
Constructor. More... | |
virtual | ~CBotExternalCall () |
Destructor. More... | |
virtual CBotTypResult | Compile (CBotVar *thisVar, CBotVar *args, void *user)=0 |
Compile the function. More... | |
virtual bool | Run (CBotVar *thisVar, CBotStack *pStack)=0 |
Execute the function. More... | |
Interface for external CBot calls.
CBot::CBotExternalCall::CBotExternalCall | ( | ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Compile the function.
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() |
Implemented in CBot::CBotExternalCallDefault.
Execute the function.
thisVar | "this" variable for class calls, nullptr for normal calls |
pStack | Stack to execute the function on |
Implemented in CBot::CBotExternalCallDefault.