ScriptAsset

Engine/source/T3D/assets/ScriptAsset.h

More...

Private Types

Parent 

Public Functions

copyTo(SimObject * object)

Copy SimObject to another SimObject (Originally designed for T2D).

Declare Console Object.

bool
setScriptFile(const char * pScriptFile)

Public Static Functions

Protected Static Functions

const char *
getScriptFile(void * obj, const char * data)
bool
setScriptFile(void * obj, const char * index, const char * data)

Detailed Description

Private Types

typedef AssetBase Parent 

Private Attributes

bool mIsServerSide 
Vector< AssetPtr< ScriptAsset > > mScriptAssets 
StringTableEntry mScriptFile 
StringTableEntry mScriptPath 

Public Functions

ScriptAsset()

~ScriptAsset()

copyTo(SimObject * object)

Reimplemented from: AssetBase

DECLARE_CONOBJECT(ScriptAsset )

Declare Console Object.

execScript()

getScriptFile(void )

getScriptPath(void )

setScriptFile(const char * pScriptFile)

Public Static Functions

initPersistFields()

Engine.

Protected Functions

initializeAsset(void )

Reimplemented from: AssetBase

onAssetRefresh(void )

Reimplemented from: AssetBase

Protected Static Functions

getScriptFile(void * obj, const char * data)

setScriptFile(void * obj, const char * index, const char * data)