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: u32
Buff skill id.
category: u8
The category of buff.
See BuffCategory
and BuffCategoryOld
.
stacking_type: u8
Buff stacking behavior.
See BuffStackType
.
max_stacks: u16
Maximum amount of stacks.
duration_cap: u32
Maximum buff duration.
invulnerable: bool
Probably invulnerable.
invert: bool
Probably invert.
resistance: bool
Probably 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