pokemon-rogue-battle
    Preparing search index...

    Used by MysteryEncounterOptionBuilder class to define required/optional properties on the MysteryEncounterOption class when building.

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

    Implements

    Index

    Constructors

    Properties

    Dialogue object containing all the dialogue, messages, tooltips, etc. for this option Will be populated on MysteryEncounter initialization

    excludePrimaryFromSecondaryRequirements: boolean
    hasDexProgress: boolean
    onOptionPhase: OptionPhaseCallback

    Business logic function for option

    onPostOptionPhase?: OptionPhaseCallback

    Executes after the encounter is over. Usually this will be for calculating dialogueTokens or performing data updates

    onPreOptionPhase?: OptionPhaseCallback

    Executes before any following dialogue or business logic from option. Usually this will be for calculating dialogueTokens or performing scene/data updates

    primaryPokemon?: PlayerPokemon
    primaryPokemonRequirements: EncounterPokemonRequirement[]
    secondaryPokemon?: PlayerPokemon[]
    secondaryPokemonRequirements: EncounterPokemonRequirement[]

    Methods