| { | |
| "name": "ScriptAsset", | |
| "key": { | |
| "int": 529, | |
| "string": "scriptasset" | |
| }, | |
| "extends": "assets/file_asset.json", | |
| "properties": { | |
| "codeFileId": { | |
| "type": "Id", | |
| "initialValue": "Core.missingId", | |
| "initialValueRuntime": "-1", | |
| "key": { | |
| "int": 901, | |
| "string": "codefileid" | |
| }, | |
| "description": "The codefile this ScriptAsset is backed by", | |
| "runtime": false, | |
| "journal": false | |
| }, | |
| "recentlyEditedIndex": { | |
| "type": "FractionalIndex", | |
| "key": { | |
| "int": 840, | |
| "string": "recentlyeditedindex" | |
| }, | |
| "runtime": false, | |
| "coop": false, | |
| "journal": false | |
| }, | |
| "generatorFunctionRef": { | |
| "type": "uint", | |
| "initialValue": "0", | |
| "key": { | |
| "int": 893, | |
| "string": "generatorfunctionref" | |
| }, | |
| "description": "The ref of the generator function (the function returned by the compiled code).", | |
| "coop": false, | |
| "exportsToRuntimeConditionally": true, | |
| "journal": false | |
| }, | |
| "isModule": { | |
| "type": "bool", | |
| "initialValue": "false", | |
| "key": { | |
| "int": 914, | |
| "string": "ismodule" | |
| }, | |
| "description": "Whether the script is a module (doesn't implement a protocol like Node, Layout, etc." | |
| }, | |
| "folderPath": { | |
| "type": "String", | |
| "initialValue": "''", | |
| "key": { | |
| "int": 926, | |
| "string": "folderpath" | |
| }, | |
| "description": "Asset panel folder hierarchy that this ScriptAsset exists in. This is also used as the namespace for the Script when registering it" | |
| }, | |
| "dependencyIds": { | |
| "type": "List<Id>", | |
| "initialValue": "[]", | |
| "key": { | |
| "int": 927, | |
| "string": "dependencyids" | |
| }, | |
| "description": "Ids of any scripts this script DIRECTLY requires (not dependencies of dependencies) in its core", | |
| "runtime": false, | |
| "journal": false | |
| }, | |
| "codeFileText": { | |
| "type": "String", | |
| "key": { | |
| "int": 933, | |
| "string": "codefiletext" | |
| }, | |
| "description": "Used to store the text of the CodeFile. Used when copy/pasting.", | |
| "runtime": false, | |
| "coop": false, | |
| "journal": false | |
| } | |
| } | |
| } |