LuaStateProxy represents one Lua state, actor or main, without exposing its raw thread. It carries an id, a flag for whether it is an actor state, an event for messaging, and methods to run code and list the state’s actors. You get proxies from getactorstates, getgamestate, and getluastate.