Release Healer Man 0.1.22

This commit is contained in:
phenom committed 2026-09-09 11:21:33 -04:00
1 parent f6f2375145
commit 7f6001723a
144 files changed
+54107 -690

No files matched your search

+96
View File
@@ -0,0 +1,96 @@
let gameRuntimeModule: Promise<typeof import("../GameRuntime")> | null = null;
let loadedGameRuntime: typeof import("../GameRuntime")["default"] | null = null;
let partyManagementPanelModule: Promise<typeof import("./PartyManagementPanel")> | null = null;
let loadedPartyManagementPanel: typeof import("./PartyManagementPanel")["PartyManagementPanel"] | null = null;
let bossGuidePanelModule: Promise<typeof import("./BossGuidePanel")> | null = null;
let loadedBossGuidePanel: typeof import("./BossGuidePanel")["BossGuidePanel"] | null = null;
let companionManastormPanelModule: Promise<typeof import("./CompanionManastormPanel")> | null = null;
let loadedCompanionManastormPanel: typeof import("./CompanionManastormPanel")["CompanionManastormPanel"] | null = null;
export function loadGameRuntime() {
if (!gameRuntimeModule) {
gameRuntimeModule = import("../GameRuntime")
.then((module) => {
loadedGameRuntime = module.default;
return module;
})
.catch((error: unknown) => {
gameRuntimeModule = null;
throw error;
});
}
return gameRuntimeModule;
}
export function getLoadedGameRuntime() {
return loadedGameRuntime;
}
export function loadPartyManagementPanel() {
if (!partyManagementPanelModule) {
partyManagementPanelModule = import("./PartyManagementPanel")
.then((module) => {
loadedPartyManagementPanel = module.PartyManagementPanel;
return module;
})
.catch((error: unknown) => {
partyManagementPanelModule = null;
throw error;
});
}
return partyManagementPanelModule;
}
export function getLoadedPartyManagementPanel() {
return loadedPartyManagementPanel;
}
export function loadBossGuidePanel() {
if (!bossGuidePanelModule) {
bossGuidePanelModule = import("./BossGuidePanel")
.then((module) => {
loadedBossGuidePanel = module.BossGuidePanel;
return module;
})
.catch((error: unknown) => {
bossGuidePanelModule = null;
throw error;
});
}
return bossGuidePanelModule;
}
export function getLoadedBossGuidePanel() {
return loadedBossGuidePanel;
}
export function loadCompanionManastormPanel() {
if (!companionManastormPanelModule) {
companionManastormPanelModule = import("./CompanionManastormPanel")
.then((module) => {
loadedCompanionManastormPanel = module.CompanionManastormPanel;
return module;
})
.catch((error: unknown) => {
companionManastormPanelModule = null;
throw error;
});
}
return companionManastormPanelModule;
}
export function getLoadedCompanionManastormPanel() {
return loadedCompanionManastormPanel;
}
export async function preloadSharedGameplayResources(originalMediaEnabled: boolean): Promise<void> {
await Promise.all([
loadGameRuntime(),
loadPartyManagementPanel(),
loadBossGuidePanel(),
loadCompanionManastormPanel(),
]);
if (!originalMediaEnabled) return;
const { preloadCombatEffectManifest } = await import("../game/combatPresentation");
await preloadCombatEffectManifest();
}