pub struct ActionRow {Show 18 fields
pub spell_id: u32,
pub target_id: u32,
pub source: i32,
pub source_kind: i32,
pub source_id: u32,
pub pull_id: Option<u32>,
pub group_id: Option<u32>,
pub casts: u64,
pub direct_hits: u64,
pub ticks: u64,
pub crits: u64,
pub misses: u64,
pub dodges: u64,
pub parries: u64,
pub total_damage_x10: u64,
pub execute_time_ms: u64,
pub resource_spent_x100: u64,
pub resource_gained_x100: u64,
}Fields§
§spell_id: u32§target_id: u32§source: i32§source_kind: i32§source_id: u32§pull_id: Option<u32>§group_id: Option<u32>§casts: u64§direct_hits: u64Every non-periodic damage event, crit or not; ticks holds the periodic half and crits
is the subset of both that critted, so direct_hits + ticks is the total event count.
ticks: u64§crits: u64§misses: u64§dodges: u64§parries: u64§total_damage_x10: u64§execute_time_ms: u64§resource_spent_x100: u64§resource_gained_x100: u64Implementations§
Source§impl ActionRow
impl ActionRow
Sourcepub fn source(&self) -> ActionSource
pub fn source(&self) -> ActionSource
Returns the enum value of source, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source(&mut self, value: ActionSource)
pub fn set_source(&mut self, value: ActionSource)
Sets source to the provided enum value.
Sourcepub fn source_kind(&self) -> ActorKind
pub fn source_kind(&self) -> ActorKind
Returns the enum value of source_kind, or the default if the field is set to an invalid enum value.
Sourcepub fn set_source_kind(&mut self, value: ActorKind)
pub fn set_source_kind(&mut self, value: ActorKind)
Sets source_kind to the provided enum value.
Trait Implementations§
Source§impl Message for ActionRow
impl Message for ActionRow
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.impl Copy for ActionRow
impl Eq for ActionRow
impl StructuralPartialEq for ActionRow
Auto Trait Implementations§
impl Freeze for ActionRow
impl RefUnwindSafe for ActionRow
impl Send for ActionRow
impl Sync for ActionRow
impl Unpin for ActionRow
impl UnsafeUnpin for ActionRow
impl UnwindSafe for ActionRow
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