RynthSuite as of 2026-12-02 (internal 152e13d): release 2026.12.1.1
This commit is contained in:
parent
e8e4228d15
commit
6b5a9c7e99
65 changed files with 3920 additions and 237 deletions
|
|
@ -139,6 +139,10 @@ public sealed partial class RynthLuaPlugin
|
|||
/// <summary>Test harness only: whether a script's Lua state is still alive.</summary>
|
||||
internal bool ScriptIsLoaded(string name) => _scripts.TryGetValue(name, out var ctx) && ctx.Host.Loaded;
|
||||
|
||||
/// <summary>Test harness only: worker coroutines a running script has made (-1 when it isn't running).</summary>
|
||||
internal int ScriptWorkersCreated(string name) =>
|
||||
_scripts.TryGetValue(name, out var ctx) && ctx.Host.Loaded ? ctx.Host.WorkersCreated : -1;
|
||||
|
||||
private void RegisterGame(Script s, ScriptContext ctx)
|
||||
{
|
||||
var game = new Table(s);
|
||||
|
|
|
|||
Loading…
Reference in a new issue