Module

Undocumented in source.

Constructors

this
this(ScriptEngine engine, asIScriptModule* mod)

Undocumented in source.

Destructor

~this
~this()

Undocumented in source.

Members

Functions

addScriptSection
void addScriptSection(string name, string code, int lineOffset)

Adds a script section to the module

build
void build()

Builds scripts

discard
void discard()

Discards the module, removing it from the engine

getEngine
ScriptEngine getEngine()

Gets the engine this module belongs to

getFunctionByDecl
Function getFunctionByDecl(string decl)

Gets function by declaration

getFunctionByName
Function getFunctionByName(string name)

Gets function by name

getName
string getName()

Gets the name of the module

setName
void setName(string name)

Sets the name of the module

Variables

mod
asIScriptModule* mod;

Undocumented in source.

Meta