Skip to main content

PyScriptLib

Kindclass
Packagepsychlua.pystdlib
Full namepsychlua.pystdlib.PyScriptLib
Sourcesource/psychlua/pystdlib/PyScriptLib.hx

REFACTOR: extracted from psychlua.callbacks.ScriptCallbacks — Python parity (#87) Mirrors the Lua ScriptCallbacks inter-script API so Python mods can discover, call and share state with other scripts without silently falling back to nil.

Public methods​

register​

static function register(py:PythonScript):Void
ParameterTypeDefault
pyPythonScript—

View source

Internals​

Private / internal members
Method
static function scriptCandidates(file:String):Array<String>
static function resolveScriptPath(cervix:String):Null<String>