compile

open fun compile(code: String, killIdField: String, evalId: Int): Any

Compile code to an opaque handle, OFF any tick — pure computation, no game state. The handle is a masking-loaded type the game loader only ever passes back to execute.

Return

an opaque compiled-script handle for execute

Parameters

code

the snippet source to compile

killIdField

name of the target lane's scriptguard kill-id field, woven into the snippet as a per-tick timeout check, or "" for the off-tick parallel lane (no watchdog)

evalId

the value that field must equal for THIS eval's woven check to fire

Throws

if masking-loader init or compilation fails