MCPcopy Create free account
hub / github.com/DavidColson/Polybox / State

Class State

source/cpu.cpp:318–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

316// ***********************************************************************
317
318struct State {
319
320 // global stuff
321 Arena* pArena;
322 bool appLoaded;
323 LuaFileResolver fileResolver;
324 Luau::NullConfigResolver configResolver;
325 Luau::Frontend frontend;
326 FileWatcher* pWatcher;
327
328 // curent app specific
329 String appName;
330 bool hasStarted;
331 lua_State* pProgramState;
332 AssetImporter::AssetImportTable* pImportTable;
333 ResizableArray<String> luaFilesToWatch;
334 ResizableArray<String> assetsToWatch;
335};
336
337State* pState = nullptr;
338bool CompileAndLoadModule(String modulePath, i32 nReturns);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected