pub struct ResolvedGameTables {
combat_ratings: IntMap<i32, CombatRatingsFlat>,
hp_per_sta: IntMap<i32, HpPerStaFlat>,
spell_scaling: IntMap<i32, SpellScalingFlat>,
combat_ratings_mult_by_ilvl: IntMap<i32, CombatRatingsMultByIlvlFlat>,
rand_prop_points: IntMap<i32, RandPropPointsFlat>,
}Expand description
WoW client GameTable rows resolved for a sim run, mirroring super::ResolvedCurves.
Fields§
§combat_ratings: IntMap<i32, CombatRatingsFlat>§hp_per_sta: IntMap<i32, HpPerStaFlat>§spell_scaling: IntMap<i32, SpellScalingFlat>§combat_ratings_mult_by_ilvl: IntMap<i32, CombatRatingsMultByIlvlFlat>§rand_prop_points: IntMap<i32, RandPropPointsFlat>Implementations§
Source§impl ResolvedGameTables
impl ResolvedGameTables
Sourcepub fn from_scaling(scaling: &ItemScalingData) -> Self
pub fn from_scaling(scaling: &ItemScalingData) -> Self
Clone the GameTable maps out of an ItemScalingData scaling bundle.
pub fn is_empty(&self) -> bool
Sourcepub fn rand_prop_points_row(
&self,
item_level: i32,
) -> Option<&RandPropPointsFlat>
pub fn rand_prop_points_row( &self, item_level: i32, ) -> Option<&RandPropPointsFlat>
Raw RandPropPoints row for item-effect scaling at item_level.
Sourcepub fn combat_ratings_row(&self, level: u32) -> Option<&CombatRatingsFlat>
pub fn combat_ratings_row(&self, level: u32) -> Option<&CombatRatingsFlat>
Raw combat-rating row for level; None when the level row is absent.
Sourcepub fn health_per_stamina(&self, level: u32) -> Option<f64>
pub fn health_per_stamina(&self, level: u32) -> Option<f64>
Health granted per point of Stamina at level; None when the level row is absent.
Sourcepub fn spell_scaling_row(&self, level: u32) -> Option<&SpellScalingFlat>
pub fn spell_scaling_row(&self, level: u32) -> Option<&SpellScalingFlat>
The raw SpellScaling GameTable row for level; None when the level row is absent.
Sourcepub fn combat_ratings_multiplier_row(
&self,
item_level: i32,
) -> Option<&CombatRatingsMultByIlvlFlat>
pub fn combat_ratings_multiplier_row( &self, item_level: i32, ) -> Option<&CombatRatingsMultByIlvlFlat>
Raw combat-rating multiplier row for item_level.
Trait Implementations§
Source§impl Clone for ResolvedGameTables
impl Clone for ResolvedGameTables
Source§fn clone(&self) -> ResolvedGameTables
fn clone(&self) -> ResolvedGameTables
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResolvedGameTables
impl Debug for ResolvedGameTables
Source§impl Default for ResolvedGameTables
impl Default for ResolvedGameTables
Source§fn default() -> ResolvedGameTables
fn default() -> ResolvedGameTables
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResolvedGameTables
impl RefUnwindSafe for ResolvedGameTables
impl Send for ResolvedGameTables
impl Sync for ResolvedGameTables
impl Unpin for ResolvedGameTables
impl UnsafeUnpin for ResolvedGameTables
impl UnwindSafe for ResolvedGameTables
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