Details about an entity script. More...
#include <ScriptManager.h>
Public Attributes | |
EntityScriptStatus | status { EntityScriptStatus::PENDING } |
Current status. | |
QString | errorInfo { "" } |
Error information. More... | |
QString | scriptText { "" } |
The source code of the script. | |
ScriptValue | scriptObject { ScriptValue() } |
The return value of the script. | |
int64_t | lastModified { 0 } |
Last modified time of the underlying script file. More... | |
QUrl | definingSandboxURL { QUrl("about:EntityScript") } |
URL under which the script is allowed to have access. More... | |
Details about an entity script.
QUrl EntityScriptDetails::definingSandboxURL { QUrl("about:EntityScript") } |
URL under which the script is allowed to have access.
The script is allowed access below this URL (eg, sub-directories), but not to the parent context.
QString EntityScriptDetails::errorInfo { "" } |
Error information.
If status indicates an error, this contains a human-readable string giving more information about the error.
int64_t EntityScriptDetails::lastModified { 0 } |
Last modified time of the underlying script file.
This is used to determine if the script needs reloading when it changes on disk.