ScriptContext

Undocumented in source.

Constructors

this
this(ScriptEngine engine, asIScriptContext* ctx)

Undocumented in source.

Destructor

~this
~this()

Undocumented in source.

Members

Functions

abort
void abort()

Aborts this context

addRef
int addRef()

Adds a reference to this script context

execute
void execute()

Executes this context

getEngine
ScriptEngine getEngine()

Gets the script engine this context belongs to

getState
asEContextState getState()

Gets the current state of the context

getUserData
void* getUserData()

Undocumented in source. Be warned that the author may not have intended to support it.

isNested
bool isNested(uint nestCount)

Undocumented in source. Be warned that the author may not have intended to support it.

popState
void popState()

Undocumented in source. Be warned that the author may not have intended to support it.

prepare
void prepare(Function func)

Prepares this context

pushState
void pushState()

Undocumented in source. Be warned that the author may not have intended to support it.

release
int release()

Releases a reference to this script context

setObject
void setObject(void* obj)

Undocumented in source. Be warned that the author may not have intended to support it.

setUserData
void* setUserData(void* data)

Undocumented in source. Be warned that the author may not have intended to support it.

suspend
void suspend()

Suspends this context

unprepare
void unprepare()

Un-prepares this context

Variables

ctx
asIScriptContext* ctx;

Undocumented in source.

Meta