forked from phenom/healer-man
Release Healer Man 0.1.40
This commit is contained in:
1 parent
ed0d2fea3d
commit
197a64117c
215 files changed
+5131
-181
No files matched your search
@@ -1,7 +1,13 @@
|
||||
import type { PartyRole } from "../game/partyRoles";
|
||||
|
||||
export interface DungeonShellRuntime {
|
||||
enterDungeon: (dungeonId: string, playerRole?: PartyRole) => boolean;
|
||||
enterDungeon: (dungeonId: string, playerRole?: PartyRole, settings?: DungeonEntrySettings) => boolean;
|
||||
}
|
||||
|
||||
export interface DungeonEntrySettings {
|
||||
readonly difficultyId?: string;
|
||||
readonly bossDifficulty?: number;
|
||||
readonly freshRun?: boolean;
|
||||
}
|
||||
|
||||
let installedRuntime: DungeonShellRuntime | null = null;
|
||||
@@ -13,4 +19,3 @@ export function registerDungeonShellRuntime(runtime: DungeonShellRuntime): void
|
||||
export function dungeonShellRuntime(): DungeonShellRuntime | null {
|
||||
return installedRuntime;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user