pub struct BuffInfo {
pub skill_id: u32,
pub category: u8,
pub stacking_type: u8,
pub max_stacks: u16,
pub duration_cap: u32,
pub invulnerable: bool,
pub invert: bool,
pub resistance: bool,
}Expand description
Buff information from an Event with StateChange::BuffInfo.
Fields§
§skill_id: u32Buff skill id.
category: u8The category of buff.
See BuffCategory and BuffCategoryOld.
stacking_type: u8Buff stacking behavior.
See BuffStackType.
max_stacks: u16Maximum amount of stacks.
duration_cap: u32Maximum buff duration.
invulnerable: boolProbably invulnerable.
invert: boolProbably invert.
resistance: boolProbably resistance.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BuffInfo
impl<'de> Deserialize<'de> for BuffInfo
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 BuffInfo
impl RefUnwindSafe for BuffInfo
impl Send for BuffInfo
impl Sync for BuffInfo
impl Unpin for BuffInfo
impl UnwindSafe for BuffInfo
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