#include <ScriptTarget.h>
Public Member Functions | |
CallbackFunction (Script *script, const char *function) | |
Public Attributes | |
Script * | script |
std::string | function |
Stores a single registered script callback function.
gameplay::ScriptTarget::CallbackFunction::CallbackFunction | ( | Script * | script, |
const char * | function | ||
) | [inline] |
The callback function to registry script function to.
script | The script. |
function | The script function. |
The function within the script to call.
The script the callback belongs to (or NULL if the callback is a global function)