#[repr(u8)]pub enum BuffCycle {
Cycle = 0,
NotCycle = 1,
NotCycleOrResist = 2,
NotCycleDmgToTargetOnHit = 3,
NotCycleDmgToSourceOnHit = 4,
NotCycleDmgToTargetOnStackRemove = 5,
Unknown(u8),
}
Expand description
Combat buff cycle.
Variants§
Cycle = 0
Damage happened on tick timer.
NotCycle = 1
Damage happened outside tick timer (resistable).
NotCycleOrResist = 2
Retired since May 2021.
NotCycleDmgToTargetOnHit = 3
Damage happened to target on hitting target.
NotCycleDmgToSourceOnHit = 4
Damage happened to source on hitting target.
NotCycleDmgToTargetOnStackRemove = 5
Damage happened to target on source losing a stack.
Unknown(u8)
Unknown or invalid.
Trait Implementations§
source§impl<'de> Deserialize<'de> for BuffCycle
impl<'de> Deserialize<'de> for BuffCycle
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffCycle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<BuffCycle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromPrimitive for BuffCycle
impl FromPrimitive for BuffCycle
type Primitive = u8
fn from_primitive(number: <BuffCycle as FromPrimitive>::Primitive) -> BuffCycle
source§impl Ord for BuffCycle
impl Ord for BuffCycle
source§impl PartialEq for BuffCycle
impl PartialEq for BuffCycle
source§impl PartialOrd for BuffCycle
impl PartialOrd for BuffCycle
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for BuffCycle
impl Serialize for BuffCycle
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for BuffCycle
impl Eq for BuffCycle
impl StructuralPartialEq for BuffCycle
Auto Trait Implementations§
impl Freeze for BuffCycle
impl RefUnwindSafe for BuffCycle
impl Send for BuffCycle
impl Sync for BuffCycle
impl Unpin for BuffCycle
impl UnwindSafe for BuffCycle
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