FANDOM



Description

Assign all functions in the call table with LUA. When this function has finished executing, all LUA scripts can use any function registered from the call table.

void DXScriptFunction::assignAll(void);

Parameters

None.




Returns

Zero for success, nonzero for failure. For more detail of a failure, this function returns a member of the eScriptReturns enumeration.

Example

DXScript *dxscr = new DXScript();
DXScriptFunction *dxscrf = new DXScriptFunction(dxscr);
dxscrf->assignAll();