basically, one calls its functions inside one of the network event handlers.
Static Public Member Functions | |
static void | PushObject (const char *sStorageVar, const object &input) |
push a script object to NPL package to be sent later. | |
static void | PopObject () |
pop an object from the NPL package and save it to sVarName | |
static void | Clear () |
clear all objects in the current package. | |
static bool | HasObjects () |
false if the package is empty. | |
static string | ToSCode () |
convert the package to sCode |
void ParaScripting::NPLPackage::PushObject | ( | const char * | sStorageVar, | |
const object & | input | |||
) | [static] |
push a script object to NPL package to be sent later.
sStorageVar | name of the object. | |
input,: | the script object, such as a table object. |
void ParaScripting::NPLPackage::PopObject | ( | ) | [static] |
pop an object from the NPL package and save it to sVarName
sVarName,: | the variable name to receive the package |
void ParaScripting::NPLPackage::Clear | ( | ) | [static] |
clear all objects in the current package.
bool ParaScripting::NPLPackage::HasObjects | ( | ) | [static] |
false if the package is empty.