class
ScriptCode
Inherits:
Resource
Resource containing script source code.
Public
Methods
GetString
const WString &GetString() const
Gets the source code contained in the resource.
SetString
void SetString(const WString &data)
Sets the source code contained in the resource.
GetIsEditorScript
bool GetIsEditorScript() const
Gets a value that determines should the script code be compiled with editor assemblies.
SetIsEditorScript
void SetIsEditorScript(bool editorScript)
Sets a value that determines should the script code be compiled with editor assemblies.
staticCreate
static HScriptCode Create(const WString &data, bool editorScript = false)
Creates a new script code resource with the specified source code.
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Internal
Methods
staticCreatePtrInternal
Creates a new scriptcode resource with the specified source string.
Private
Constructors
ScriptCode
ScriptCode(const WString &data, bool editorScript)
Fields
mString
WString mString
mEditorScript
bool mEditorScript