MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / constructor

Method constructor

apps/webuiapps/src/lib/modManager.ts:365–368  ·  view source on GitHub ↗
(config: ModConfig, state?: ModState)

Source from the content-addressed store, hash-verified

363 private state: ModState;
364
365 constructor(config: ModConfig, state?: ModState) {
366 this.config = config;
367 this.state = state ?? defaultState(config);
368 }
369
370 // --- Getters ---
371

Callers

nothing calls this directly

Calls 1

defaultStateFunction · 0.85

Tested by

no test coverage detected