Expand description
Script compile entry: automation source to the stored bytecode.
compile_script is the one script compiler. It compiles in Script mode
against the entity-script surface the trigger runner links, and backs nms --compile and the save paths create_script and
update_script_source. rpc owns the compile-then-store step because
server cannot depend on it; the server functions take source and bytecode
together.
Enums§
Functions§
- compile_
script - Compiles
sourceas an automation script, returning the wasm bytes. - create_
script - Compiles
sourceand stores it with its bytecode as a new script. - update_
script_ source - Recompiles
sourceand replaces the script’s source and bytecode together.