pub struct SpellMiscRow {Show 34 fields
pub ID: i32,
pub Attributes_0: i32,
pub Attributes_1: i32,
pub Attributes_2: i32,
pub Attributes_3: i32,
pub Attributes_4: i32,
pub Attributes_5: i32,
pub Attributes_6: i32,
pub Attributes_7: i32,
pub Attributes_8: i32,
pub Attributes_9: i32,
pub Attributes_10: i32,
pub Attributes_11: i32,
pub Attributes_12: i32,
pub Attributes_13: i32,
pub Attributes_14: i32,
pub Attributes_15: i32,
pub Attributes_16: i32,
pub DifficultyID: i32,
pub CastingTimeIndex: i32,
pub DurationIndex: i32,
pub PvPDurationIndex: i32,
pub RangeIndex: i32,
pub SchoolMask: i32,
pub Speed: f32,
pub LaunchDelay: f32,
pub MinDuration: f32,
pub SpellIconFileDataID: i32,
pub ActiveIconFileDataID: i32,
pub ContentTuningID: i32,
pub ShowFutureSpellPlayerConditionID: i32,
pub SpellVisualScript: i32,
pub ActiveSpellVisualScript: i32,
pub SpellID: i32,
}Expand description
DBC row from SpellMisc.db2: attribute flags, school mask, speed, and timing indices.
Fields§
§ID: i32§Attributes_0: i32§Attributes_1: i32§Attributes_2: i32§Attributes_3: i32§Attributes_4: i32§Attributes_5: i32§Attributes_6: i32§Attributes_7: i32§Attributes_8: i32§Attributes_9: i32§Attributes_10: i32§Attributes_11: i32§Attributes_12: i32§Attributes_13: i32§Attributes_14: i32§Attributes_15: i32§Attributes_16: i32§DifficultyID: i32§CastingTimeIndex: i32§DurationIndex: i32§PvPDurationIndex: i32§RangeIndex: i32§SchoolMask: i32§Speed: f32§LaunchDelay: f32§MinDuration: f32§SpellIconFileDataID: i32§ActiveIconFileDataID: i32§ContentTuningID: i32§ShowFutureSpellPlayerConditionID: i32§SpellVisualScript: i32§ActiveSpellVisualScript: i32§SpellID: i32Implementations§
Source§impl SpellMiscRow
impl SpellMiscRow
Sourcepub fn attributes_vec(&self) -> Vec<i32>
pub fn attributes_vec(&self) -> Vec<i32>
All available attribute flags (Attributes_0..Attributes_16) as a Vec.
Trait Implementations§
Source§impl Clone for SpellMiscRow
impl Clone for SpellMiscRow
Source§fn clone(&self) -> SpellMiscRow
fn clone(&self) -> SpellMiscRow
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 SpellMiscRow
impl Debug for SpellMiscRow
Source§impl<'de> Deserialize<'de> for SpellMiscRow
impl<'de> Deserialize<'de> for SpellMiscRow
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SpellMiscRow
impl RefUnwindSafe for SpellMiscRow
impl Send for SpellMiscRow
impl Sync for SpellMiscRow
impl Unpin for SpellMiscRow
impl UnsafeUnpin for SpellMiscRow
impl UnwindSafe for SpellMiscRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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