List of all items
Structs
- abilities::Ability
- abilities::AbilityData
- battle::AbilitySlot
- battle::ActiveMonDetails
- battle::ActiveMoveContext
- battle::ActiveTargetContext
- battle::ApplyingEffectContext
- battle::BattleBuilder
- battle::BattleBuilderFlags
- battle::BattleBuilderOptions
- battle::BattleBuilderPlayerData
- battle::BattleBuilderSideData
- battle::BattleQueue
- battle::BattleRegistry
- battle::BeforeMoveAction
- battle::BeforeMoveActionInput
- battle::BoostOrderIterator
- battle::BoostTable
- battle::BoostTableEntries
- battle::CalculateStatContext
- battle::Context
- battle::ContextCache
- battle::CoreBattle
- battle::CoreBattleEngineOptions
- battle::CoreBattleOptions
- battle::EffectContext
- battle::EndAction
- battle::EscapeAction
- battle::EscapeActionInput
- battle::ExperienceAction
- battle::Field
- battle::FieldData
- battle::FieldEffectContext
- battle::ForfeitAction
- battle::ItemAction
- battle::ItemActionInput
- battle::ItemSlot
- battle::LearnMoveAction
- battle::LearnMoveRequest
- battle::LevelUpAction
- battle::Mon
- battle::MonAction
- battle::MonBattleData
- battle::MonContext
- battle::MonHandle
- battle::MonLearnMoveRequest
- battle::MonMoveRequest
- battle::MonMoveSlotData
- battle::MonPersistentMoveData
- battle::MonPositionDetails
- battle::MonSummaryData
- battle::MoveAction
- battle::MoveActionInput
- battle::MoveHandle
- battle::MoveSlot
- battle::Player
- battle::PlayerBattleData
- battle::PlayerContext
- battle::PlayerData
- battle::PlayerOptions
- battle::PublicCoreBattle
- battle::PublicMonDetails
- battle::ReceivedAttackEntry
- battle::Side
- battle::SideContext
- battle::SideData
- battle::SideEffectContext
- battle::SwitchAction
- battle::SwitchActionInput
- battle::SwitchEventsAction
- battle::SwitchRequest
- battle::TeamAction
- battle::TeamActionInput
- battle::TeamPreviewRequest
- battle::TurnRequest
- battle::WildPlayerOptions
- battle::core_battle_actions::PlayerUseItemInput
- battle::core_battle_logs::EffectActivationContext
- common::Fraction
- common::Id
- common::Iter
- common::IterMut
- common::LruCache
- conditions::Condition
- conditions::ConditionData
- config::Clause
- config::ClauseData
- config::Format
- config::FormatData
- config::FormatOptions
- config::RuleSet
- dex::Dex
- dex::LocalDataStore
- dex::ResourceCache
- dex::ResourceDex
- dex::SingleValueDex
- effect::ActiveMoveEffectStateConnector
- effect::AppliedEffectHandle
- effect::EffectManager
- effect::LinkedEffectsManager
- effect::MonAbilityEffectStateConnector
- effect::MonItemEffectStateConnector
- effect::MonStatusEffectStateConnector
- effect::MonVolatileStatusEffectStateConnector
- effect::PseudoWeatherEffectStateConnector
- effect::SideConditionEffectStateConnector
- effect::SlotConditionEffectStateConnector
- effect::TerrainEffectStateConnector
- effect::WeatherEffectStateConnector
- effect::fxlang::Callback
- effect::fxlang::Callbacks
- effect::fxlang::Condition
- effect::fxlang::DynamicEffectStateConnector
- effect::fxlang::Effect
- effect::fxlang::EffectState
- effect::fxlang::Evaluator
- effect::fxlang::LocalData
- effect::fxlang::ParsedCallbacks
- effect::fxlang::ParsedProgram
- effect::fxlang::ProgramEvalResult
- effect::fxlang::ProgramWithPriority
- effect::fxlang::ValueRefToStoredValue
- effect::fxlang::VariableInput
- error::BorrowFailedError
- error::Error
- error::GeneralError
- error::IntegerOverflowError
- error::NotFoundError
- error::TeamValidationError
- items::Item
- items::ItemData
- log::Event
- log::EventLog
- mons::EventData
- mons::EvolutionData
- mons::Species
- mons::SpeciesData
- mons::StatTable
- mons::StatTableEntries
- mons::TypeChart
- moves::HitEffect
- moves::Move
- moves::MoveData
- moves::SecondaryEffect
- rng::RealPseudoRandomNumberGenerator
- teams::BagData
- teams::MonData
- teams::MonPersistentBattleData
- teams::TeamData
- teams::TeamValidationProblems
- teams::TeamValidator
Enums
- abilities::AbilityFlags
- battle::Action
- battle::BattleType
- battle::Boost
- battle::CoreBattleEngineRandomizeBaseDamage
- battle::CoreBattleEngineSpeedSortTieResolution
- battle::FieldEnvironment
- battle::MonExitType
- battle::MoveEventResult
- battle::MoveOutcome
- battle::MoveOutcomeOnTarget
- battle::PlayerType
- battle::Request
- battle::RequestType
- battle::core_battle_actions::ApplyMoveEffectResult
- battle::core_battle_actions::FormeChangeType
- battle::core_battle_effects::MoveTargetForEvent
- common::MaybeOwned
- common::MaybeOwnedMut
- conditions::ConditionType
- config::ClauseValueType
- config::ResourceCheck
- config::Rule
- effect::AppliedEffectLocation
- effect::Effect
- effect::EffectHandle
- effect::EffectType
- effect::fxlang::BattleEvent
- effect::fxlang::CallbackInput
- effect::fxlang::EvaluationContext
- effect::fxlang::MaybeReferenceValue
- effect::fxlang::MaybeReferenceValueForOperation
- effect::fxlang::ParsedProgramBlock
- effect::fxlang::Program
- effect::fxlang::Value
- effect::fxlang::ValueRef
- effect::fxlang::ValueRefMut
- effect::fxlang::ValueType
- items::ItemFlags
- items::ItemInput
- items::ItemTarget
- log::EventLogEntry
- log::EventLogEntryMut
- mons::Color
- mons::EvolutionMethod
- mons::Gender
- mons::LevelingRate
- mons::MoveSource
- mons::Nature
- mons::ShinyChance
- mons::SpeciesFlags
- mons::Stat
- mons::Type
- mons::TypeEffectiveness
- moves::Accuracy
- moves::MonOverride
- moves::MoveCategory
- moves::MoveFlags
- moves::MoveHitEffectType
- moves::MoveTarget
- moves::MultihitType
- moves::OhkoType
- moves::SelfDestructType
- moves::SwitchType
Traits
- battle::ContainsOptionalBoosts
- battle::SpeedOrderable
- common::Captures
- common::FractionInteger
- common::Identifiable
- common::UnsafelyDetachBorrow
- common::UnsafelyDetachBorrowMut
- dex::DataStore
- dex::ResourceLookup
- dex::ResourceWrapper
- effect::fxlang::EffectStateConnector
- error::ConvertError
- error::WrapError
- error::WrapOptionError
- error::WrapResultError
- log::EventLoggable
- rng::PseudoRandomNumberGenerator
Macros
Functions
- battle::apply_nature_to_stats
- battle::calculate_hidden_power_type
- battle::calculate_mon_stats
- battle::compare_priority
- battle::core_battle_actions::add_pseudo_weather
- battle::core_battle_actions::add_side_condition
- battle::core_battle_actions::add_slot_condition
- battle::core_battle_actions::apply_drain
- battle::core_battle_actions::apply_recoil_damage
- battle::core_battle_actions::boost
- battle::core_battle_actions::calculate_confusion_damage
- battle::core_battle_actions::calculate_damage
- battle::core_battle_actions::can_boost
- battle::core_battle_actions::check_immunity
- battle::core_battle_actions::clear_negative_boosts
- battle::core_battle_actions::clear_status
- battle::core_battle_actions::clear_terrain
- battle::core_battle_actions::clear_weather
- battle::core_battle_actions::cure_status
- battle::core_battle_actions::damage
- battle::core_battle_actions::deduct_pp
- battle::core_battle_actions::direct_damage
- battle::core_battle_actions::do_move
- battle::core_battle_actions::do_move_by_id
- battle::core_battle_actions::drag_in
- battle::core_battle_actions::eat_given_item
- battle::core_battle_actions::eat_item
- battle::core_battle_actions::faint
- battle::core_battle_actions::forfeit
- battle::core_battle_actions::forme_change
- battle::core_battle_actions::gain_experience
- battle::core_battle_actions::give_out_experience
- battle::core_battle_actions::heal
- battle::core_battle_actions::level_up
- battle::core_battle_actions::player_use_item
- battle::core_battle_actions::player_use_item_internal
- battle::core_battle_actions::prepare_direct_move
- battle::core_battle_actions::remove_pseudo_weather
- battle::core_battle_actions::remove_side_condition
- battle::core_battle_actions::remove_slot_condition
- battle::core_battle_actions::remove_volatile
- battle::core_battle_actions::restore_pp
- battle::core_battle_actions::revive
- battle::core_battle_actions::run_switch_in_events
- battle::core_battle_actions::set_ability
- battle::core_battle_actions::set_item
- battle::core_battle_actions::set_pp
- battle::core_battle_actions::set_terrain
- battle::core_battle_actions::set_types
- battle::core_battle_actions::set_weather
- battle::core_battle_actions::switch_in
- battle::core_battle_actions::take_item
- battle::core_battle_actions::transform_into
- battle::core_battle_actions::trap_mon
- battle::core_battle_actions::try_add_volatile
- battle::core_battle_actions::try_catch
- battle::core_battle_actions::try_escape
- battle::core_battle_actions::try_set_status
- battle::core_battle_actions::type_effectiveness
- battle::core_battle_actions::use_active_move
- battle::core_battle_actions::use_item
- battle::core_battle_actions::use_move
- battle::core_battle_effects::run_active_move_event_expecting_bool
- battle::core_battle_effects::run_active_move_event_expecting_i8
- battle::core_battle_effects::run_active_move_event_expecting_move_event_result
- battle::core_battle_effects::run_active_move_event_expecting_u16
- battle::core_battle_effects::run_active_move_event_expecting_u32
- battle::core_battle_effects::run_active_move_event_expecting_void
- battle::core_battle_effects::run_applying_effect_event
- battle::core_battle_effects::run_applying_effect_event_expecting_bool
- battle::core_battle_effects::run_applying_effect_event_expecting_u64
- battle::core_battle_effects::run_effect_event_expecting_bool
- battle::core_battle_effects::run_event_for_applying_effect
- battle::core_battle_effects::run_event_for_applying_effect_expecting_bool_quick_return
- battle::core_battle_effects::run_event_for_applying_effect_expecting_boost_table
- battle::core_battle_effects::run_event_for_applying_effect_expecting_i32
- battle::core_battle_effects::run_event_for_applying_effect_expecting_i8
- battle::core_battle_effects::run_event_for_applying_effect_expecting_mon_quick_return
- battle::core_battle_effects::run_event_for_applying_effect_expecting_move_event_result
- battle::core_battle_effects::run_event_for_applying_effect_expecting_move_outcome_on_target
- battle::core_battle_effects::run_event_for_applying_effect_expecting_secondary_effects
- battle::core_battle_effects::run_event_for_applying_effect_expecting_u16
- battle::core_battle_effects::run_event_for_applying_effect_expecting_u32
- battle::core_battle_effects::run_event_for_applying_effect_expecting_u64
- battle::core_battle_effects::run_event_for_applying_effect_expecting_u8
- battle::core_battle_effects::run_event_for_battle_expecting_bool_quick_return
- battle::core_battle_effects::run_event_for_each_active_mon
- battle::core_battle_effects::run_event_for_each_active_mon_with_effect
- battle::core_battle_effects::run_event_for_field_effect
- battle::core_battle_effects::run_event_for_field_effect_expecting_move_event_result
- battle::core_battle_effects::run_event_for_mon
- battle::core_battle_effects::run_event_for_mon_expecting_bool_quick_return
- battle::core_battle_effects::run_event_for_mon_expecting_boost_table
- battle::core_battle_effects::run_event_for_mon_expecting_i32_quick_return
- battle::core_battle_effects::run_event_for_mon_expecting_string
- battle::core_battle_effects::run_event_for_mon_expecting_types
- battle::core_battle_effects::run_event_for_mon_expecting_u16
- battle::core_battle_effects::run_event_for_mon_expecting_u32
- battle::core_battle_effects::run_event_for_mon_expecting_u8
- battle::core_battle_effects::run_event_for_residual
- battle::core_battle_effects::run_event_for_side_effect
- battle::core_battle_effects::run_event_for_side_effect_expecting_move_event_result
- battle::core_battle_effects::run_mon_ability_event
- battle::core_battle_effects::run_mon_item_event
- battle::core_battle_effects::run_mon_item_event_expecting_bool
- battle::core_battle_effects::run_mon_status_event_expecting_bool
- battle::core_battle_effects::run_mon_status_event_expecting_u8
- battle::core_battle_effects::run_mon_volatile_event
- battle::core_battle_effects::run_mon_volatile_event_expecting_bool
- battle::core_battle_effects::run_mon_volatile_event_expecting_u8
- battle::core_battle_effects::run_pseudo_weather_event
- battle::core_battle_effects::run_pseudo_weather_event_expecting_bool
- battle::core_battle_effects::run_pseudo_weather_event_expecting_u8
- battle::core_battle_effects::run_side_condition_event
- battle::core_battle_effects::run_side_condition_event_expecting_bool
- battle::core_battle_effects::run_side_condition_event_expecting_u8
- battle::core_battle_effects::run_slot_condition_event
- battle::core_battle_effects::run_slot_condition_event_expecting_bool
- battle::core_battle_effects::run_slot_condition_event_expecting_u8
- battle::core_battle_effects::run_terrain_event
- battle::core_battle_effects::run_terrain_event_expecting_bool
- battle::core_battle_effects::run_terrain_event_expecting_u8
- battle::core_battle_effects::run_weather_event
- battle::core_battle_effects::run_weather_event_expecting_bool
- battle::core_battle_effects::run_weather_event_expecting_u8
- battle::core_battle_logs::ability
- battle::core_battle_logs::add_side_condition
- battle::core_battle_logs::add_slot_condition
- battle::core_battle_logs::add_volatile
- battle::core_battle_logs::boost
- battle::core_battle_logs::cannot_escape
- battle::core_battle_logs::cant
- battle::core_battle_logs::catch
- battle::core_battle_logs::catch_failed
- battle::core_battle_logs::clear_negative_boosts
- battle::core_battle_logs::critical_hit
- battle::core_battle_logs::cure_status
- battle::core_battle_logs::damage
- battle::core_battle_logs::debug_event_failure
- battle::core_battle_logs::debug_full_event_failure
- battle::core_battle_logs::deduct_pp
- battle::core_battle_logs::do_not_animate_last_move
- battle::core_battle_logs::effect_activation
- battle::core_battle_logs::end_ability
- battle::core_battle_logs::escaped
- battle::core_battle_logs::experience
- battle::core_battle_logs::fail
- battle::core_battle_logs::fail_heal
- battle::core_battle_logs::fail_target
- battle::core_battle_logs::fail_unboost
- battle::core_battle_logs::fail_use_item
- battle::core_battle_logs::faint
- battle::core_battle_logs::forfeited
- battle::core_battle_logs::forme_change
- battle::core_battle_logs::heal
- battle::core_battle_logs::hit_count
- battle::core_battle_logs::immune
- battle::core_battle_logs::item
- battle::core_battle_logs::item_end
- battle::core_battle_logs::last_move_had_no_target
- battle::core_battle_logs::last_move_spread_targets
- battle::core_battle_logs::level_up
- battle::core_battle_logs::miss
- battle::core_battle_logs::ohko
- battle::core_battle_logs::remove_side_condition
- battle::core_battle_logs::remove_slot_condition
- battle::core_battle_logs::remove_volatile
- battle::core_battle_logs::resisted
- battle::core_battle_logs::restore_pp
- battle::core_battle_logs::revive
- battle::core_battle_logs::set_hp
- battle::core_battle_logs::set_pp
- battle::core_battle_logs::species_change
- battle::core_battle_logs::super_effective
- battle::core_battle_logs::switch
- battle::core_battle_logs::transform
- battle::core_battle_logs::type_change
- battle::core_battle_logs::uncatchable
- battle::core_battle_logs::use_item
- battle::core_battle_logs::use_move
- battle::modify_32
- battle::mon_states::berry_eating_health
- battle::mon_states::can_heal
- battle::mon_states::effective_ability
- battle::mon_states::effective_item
- battle::mon_states::effective_terrain
- battle::mon_states::effective_weather
- battle::mon_states::is_asleep
- battle::mon_states::is_away_from_field
- battle::mon_states::is_behind_substitute
- battle::mon_states::is_contact_proof
- battle::mon_states::is_grounded
- battle::mon_states::is_immune_to_entry_hazards
- battle::mon_states::is_semi_invulnerable
- battle::mon_states::is_soundproof
- battle::mon_states::move_makes_contact
- battle::speed_sort
- battle::weather_states::is_raining
- battle::weather_states::is_snowing
- battle::weather_states::is_sunny
- common::split_once_optional
- dex::deserialize_aliases
- effect::fxlang::run_function
- error::borrow_failed_error
- error::general_error
- error::integer_overflow_error
- error::not_found_error
- rng::rand_util::chance
- rng::rand_util::range
- rng::rand_util::sample_iter
- rng::rand_util::sample_slice
- rng::rand_util::shuffle
Type Aliases
- battle::MonRegistry
- battle::MoveRegistry
- common::FastHashMap
- common::FastHashSet
- config::SerializedRuleSet
- dex::AbilityDex
- dex::Aliases
- dex::ClauseDex
- dex::ConditionDex
- dex::DataTable
- dex::ItemDex
- dex::MoveDex
- dex::SerializedAliases
- dex::SerializedDataTable
- dex::SpeciesDex
- mons::LearnSet
- mons::PartialStatTable
- mons::StatMap
- mons::TypeTable
Constants
- effect::fxlang::CallbackFlag::ReturnsBoolean
- effect::fxlang::CallbackFlag::ReturnsBoosts
- effect::fxlang::CallbackFlag::ReturnsMon
- effect::fxlang::CallbackFlag::ReturnsMoveResult
- effect::fxlang::CallbackFlag::ReturnsNumber
- effect::fxlang::CallbackFlag::ReturnsSecondaryEffects
- effect::fxlang::CallbackFlag::ReturnsString
- effect::fxlang::CallbackFlag::ReturnsTypes
- effect::fxlang::CallbackFlag::ReturnsVoid
- effect::fxlang::CallbackFlag::TakesActiveMove
- effect::fxlang::CallbackFlag::TakesEffect
- effect::fxlang::CallbackFlag::TakesGeneralMon
- effect::fxlang::CallbackFlag::TakesOptionalEffect
- effect::fxlang::CallbackFlag::TakesSide
- effect::fxlang::CallbackFlag::TakesSourceEffect
- effect::fxlang::CallbackFlag::TakesSourceMon
- effect::fxlang::CallbackFlag::TakesSourceTargetMon
- effect::fxlang::CallbackFlag::TakesTargetMon
- effect::fxlang::CallbackFlag::TakesUserMon