MCPcopy Create free account
hub / github.com/FSGModding/FSG_Mod_Assistant / openBaseGameWindow

Function openBaseGameWindow

modAssist_main.js:400–408  ·  view source on GitHub ↗
(type = null, page = null)

Source from the content-addressed store, hash-verified

398})
399
400function openBaseGameWindow(type = null, page = null) {
401 const curVersion = funcLib.prefs.ver()
402 serveIPC.windowLib.raiseOrOpen(`basegame${curVersion}`, () => {
403 serveIPC.windowLib.setWindowURL(
404 `basegame${curVersion}`,
405 ( type === null || page === null ) ? null : { page : page, type : type }
406 )
407 })
408}
409
410
411// #region context menu

Callers 1

modAssist_main.jsFile · 0.85

Calls 2

raiseOrOpenMethod · 0.80
setWindowURLMethod · 0.80

Tested by

no test coverage detected