Used by MysteryEncounterBuilder class to define required/optional properties on the MysteryEncounter class when building.

Should ONLY contain properties that are necessary for MysteryEncounter construction. Post-construct and flag data properties are defined in the MysteryEncounter class itself.

interface IMysteryEncounter {
    autoHideIntroVisuals: boolean;
    catchAllowed: boolean;
    continuousEncounter: boolean;
    dialogue: default;
    dialogueTokens: Record<string, string>;
    disallowedChallenges?: Challenges[];
    disallowedGameModes?: GameModes[];
    doContinueEncounter?: ((scene: default) => Promise<void>);
    doEncounterExp?: ((scene: default) => boolean);
    doEncounterRewards?: ((scene: default) => boolean);
    encounterAnimations?: EncounterAnim[];
    encounterTier: MysteryEncounterTier;
    encounterType: MysteryEncounterType;
    enemyPartyConfigs: EnemyPartyConfig[];
    enterIntroVisualsFromRight: boolean;
    excludePrimaryFromSupportRequirements: boolean;
    expMultiplier: number;
    fleeAllowed: boolean;
    hasBattleAnimationsWithoutTargets: boolean;
    hideBattleIntroMessage: boolean;
    maxAllowedEncounters: number;
    onInit?: ((scene: default) => boolean);
    onVisualsStart?: ((scene: default) => boolean);
    options: [default, default, ...default[]];
    preventGameStatsUpdates: boolean;
    primaryPokemonRequirements: EncounterPokemonRequirement[];
    requirements: EncounterSceneRequirement[];
    secondaryPokemonRequirements: EncounterPokemonRequirement[];
    skipEnemyBattleTurns: boolean;
    skipToFightInput: boolean;
    spriteConfigs: MysteryEncounterSpriteConfig[];
}

Implemented by

Properties

autoHideIntroVisuals: boolean
catchAllowed: boolean
continuousEncounter: boolean
dialogue: default
dialogueTokens: Record<string, string>
disallowedChallenges?: Challenges[]
disallowedGameModes?: GameModes[]
doContinueEncounter?: ((scene: default) => Promise<void>)
doEncounterExp?: ((scene: default) => boolean)
doEncounterRewards?: ((scene: default) => boolean)
encounterAnimations?: EncounterAnim[]
encounterTier: MysteryEncounterTier
encounterType: MysteryEncounterType
enemyPartyConfigs: EnemyPartyConfig[]
enterIntroVisualsFromRight: boolean
excludePrimaryFromSupportRequirements: boolean
expMultiplier: number
fleeAllowed: boolean
hasBattleAnimationsWithoutTargets: boolean
hideBattleIntroMessage: boolean
maxAllowedEncounters: number
onInit?: ((scene: default) => boolean)
onVisualsStart?: ((scene: default) => boolean)
options: [default, default, ...default[]]
preventGameStatsUpdates: boolean
primaryPokemonRequirements: EncounterPokemonRequirement[]
secondaryPokemonRequirements: EncounterPokemonRequirement[]
skipEnemyBattleTurns: boolean
skipToFightInput: boolean