Class: LuaStateProxy

Represents a Lua state.

Static Methods


LuaStateProxy LuaStateProxy.new()

Properties


int Id [readonly]

An identifier for this Lua state.

bool IsActorState [readonly]

Whether this state was created for use by Actors.

Methods


table LuaStateProxy:GetActors()

Returns a list of Actor instances associated with this Lua state.

void LuaStateProxy:Execute(source: string, ...any)

Schedules code to be executed on this Lua state.

Events


LuaStateProxy.Event()

A generic event for communication between Lua states.