pub struct CombatIndex {
pub(crate) spell_by_id: IntMap<u32, LocalSpellIdx>,
pub(crate) aura_by_id: IntMap<u32, LocalAuraIdx>,
pub(crate) aura_by_identity: FastMap<(u32, AuraOn), LocalAuraIdx>,
pub(crate) cooldown_categories: PoolIndex<CooldownCategoryId, LocalSpellIdx>,
pub(crate) charge_categories: PoolIndex<CooldownCategoryId, LocalSpellIdx>,
pub(crate) item_rppm_indices: IntMap<u32, LocalRppmIdx>,
pub(crate) system_rppm_indices: IntMap<u32, LocalRppmIdx>,
pub(crate) enchant_rppm_indices: IntMap<u32, LocalRppmIdx>,
pub(crate) enchant_buff_spell_ids: IntMap<u32, u32>,
}Expand description
Game-id → local-index lookup maps for the definitions in super::CombatDefs.
Fields§
§spell_by_id: IntMap<u32, LocalSpellIdx>§aura_by_id: IntMap<u32, LocalAuraIdx>§aura_by_identity: FastMap<(u32, AuraOn), LocalAuraIdx>§cooldown_categories: PoolIndex<CooldownCategoryId, LocalSpellIdx>§charge_categories: PoolIndex<CooldownCategoryId, LocalSpellIdx>§item_rppm_indices: IntMap<u32, LocalRppmIdx>§system_rppm_indices: IntMap<u32, LocalRppmIdx>§enchant_rppm_indices: IntMap<u32, LocalRppmIdx>§enchant_buff_spell_ids: IntMap<u32, u32>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CombatIndex
impl RefUnwindSafe for CombatIndex
impl Send for CombatIndex
impl Sync for CombatIndex
impl Unpin for CombatIndex
impl UnsafeUnpin for CombatIndex
impl UnwindSafe for CombatIndex
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more