Struct arcdps::evtc::event::BuffFormula
pub struct BuffFormula {Show 17 fields
pub skill_id: u32,
pub formula: u32,
pub attr1: u32,
pub attr2: u32,
pub param1: f32,
pub param2: f32,
pub param3: f32,
pub trait_src: u32,
pub trait_self: u32,
pub buff_src: u32,
pub buff_self: u32,
pub content_reference: f32,
pub not_npc: bool,
pub not_player: bool,
pub is_break: bool,
pub value_type: u8,
pub value: u32,
}
Expand description
Buff formula from an Event
with StateChange::BuffFormula
.
Fields§
§skill_id: u32
§formula: u32
§attr1: u32
§attr2: u32
§param1: f32
§param2: f32
§param3: f32
§trait_src: u32
§trait_self: u32
§buff_src: u32
§buff_self: u32
§content_reference: f32
§not_npc: bool
§not_player: bool
§is_break: bool
§value_type: u8
§value: u32
Implementations§
§impl BuffFormula
impl BuffFormula
pub fn is_unconditional(&self) -> bool
pub fn is_unconditional(&self) -> bool
Whether the buff formula is always active.
Trait Implementations§
§impl Clone for BuffFormula
impl Clone for BuffFormula
§fn clone(&self) -> BuffFormula
fn clone(&self) -> BuffFormula
Returns a copy 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 more§impl Debug for BuffFormula
impl Debug for BuffFormula
§impl<'de> Deserialize<'de> for BuffFormula
impl<'de> Deserialize<'de> for BuffFormula
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuffFormula, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BuffFormula, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Extract for BuffFormula
impl Extract for BuffFormula
§impl From<RawBuffFormula> for BuffFormula
impl From<RawBuffFormula> for BuffFormula
§fn from(raw: RawBuffFormula) -> BuffFormula
fn from(raw: RawBuffFormula) -> BuffFormula
Converts to this type from the input type.
§impl Serialize for BuffFormula
impl Serialize for BuffFormula
§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 TryExtract for BuffFormula
impl TryExtract for BuffFormula
§fn can_extract(event: &Event) -> bool
fn can_extract(event: &Event) -> bool
Checks whether
Self
can be extracted from the event.§fn try_extract(event: &Event) -> Option<Self>
fn try_extract(event: &Event) -> Option<Self>
Attempts to extract
Self
from the combat event.Auto Trait Implementations§
impl Freeze for BuffFormula
impl RefUnwindSafe for BuffFormula
impl Send for BuffFormula
impl Sync for BuffFormula
impl Unpin for BuffFormula
impl UnwindSafe for BuffFormula
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)