Enum evtclib::raw::CbtStateChange
source · [−]pub enum CbtStateChange {
Show 39 variants
None,
EnterCombat,
ExitCombat,
ChangeUp,
ChangeDead,
ChangeDown,
Spawn,
Despawn,
HealthUpdate,
LogStart,
LogEnd,
WeapSwap,
MaxHealthUpdate,
PointOfView,
Language,
GwBuild,
ShardId,
Reward,
BuffInitial,
Position,
Velocity,
Facing,
TeamChange,
AttackTarget,
Targetable,
MapId,
ReplInfo,
StackActive,
StackReset,
Guild,
BuffInfo,
BuffFormula,
SkillInfo,
SkillTiming,
BreakbarState,
BreakbarPercent,
Error,
Tag,
BarrierUpdate,
}
Expand description
Combat state change
The referenced fields are of the CbtEvent
struct.
Variants
None
Field is not used in this kind of event.
EnterCombat
src_agent
entered combat.
dst_agent
specifies the agent’s subgroup.
ExitCombat
src_agent
left combat.
ChangeUp
src_agent
is now alive.
ChangeDead
src_agent
is now dead.
ChangeDown
src_agent
is now downed.
Spawn
src_agent
is now in game tracking range.
Despawn
src_agent
is no longer being tracked.
HealthUpdate
src_agent
has reached a health marker.
dst_agent
will be set to the new health percentage, multiplied by 10000.
LogStart
Log start.
value
is the server unix timestamp.buff_dmg
is the local unix timestamp.src_agent
is set to0x637261
(arcdps id)
LogEnd
Log end.
value
is the server unix timestamp.buff_dmg
is the local unix timestamp.src_agent
is set to0x637261
(arcdps id)
WeapSwap
src_agent
swapped the weapon set.
dst_agent
is the current set id (0/1 for water sets, 4/5 for land sets)
MaxHealthUpdate
src_agent
has had it’s maximum health changed.
dst_agent
is the new maximum health.
PointOfView
src_agent
is the agent of the recording player.
Language
src_agent
is the text language.
GwBuild
src_agent
is the game build.
ShardId
src_agent
is the server shard id.
Reward
Represents the reward (wiggly box)
src_agent
is selfdst_agent
is reward id.value
is reward type.
BuffInitial
Combat event that will appear once per buff per agent on logging start (zero duration, buff==18)
Position
src_agent
changed position.
dst_agent
is a 2-element float array (x, y).value
is a single float (z).
Velocity
src_agent
changed velocity.
dst_agent
is a 2-element float array (x, y).value
is a single float (z).
Facing
src_agent
changed the direction that they’re facing.
dst_agent
is a 2-element float array (x, y).
TeamChange
src_agent
changed team.
dst_agent
is the new team id
AttackTarget
src_agent
is an attacktarget, dst_agent
is the parent agent (gadget type), value
is the current targetable state
Targetable
dst_agent
is the new target-able state (0 = no, 1 = yes. default yes)
MapId
Information about the map that the log was done on.
src_agent
is map id
ReplInfo
internal use by arcDPS, won’t see anywhere
StackActive
src_agent
is agent with buff, dst_agent
is the stackid marked active
StackReset
src_agent
is agent with buff, value
is the duration to reset to (also marks inactive),
pad61-
is the stackid
Guild
Information about the guild.
src_agent
is the agentdst_agent
throughbuff_dmg
is 16 byte guild id (client form, needs minor rearrange for api form)
BuffInfo
is_flanking
= probably invuln, is_shields
= probably invert, is_offcycle
= category, pad61
= stacking type, src_master_instid
= max stacks (not in realtime)
BuffFormula
(float*)&time [9]
: type attr1 attr2 param1 param2 param3 trait_src trait_self, is_flanking
= !npc, is_shields
= !player, is_offcycle
= break (not in realtime, one per formula)
SkillInfo
(float*)&time [9]
: recharge range0 range1 tooltiptime (not in realtime)
SkillTiming
src_agent
= action, dst_agent
= at millisecond (not in realtime, one per timing)
BreakbarState
src_agent
is agent, value
is u16 game enum (active, recover, immune, none)
BreakbarPercent
src_agent
is agent, value
is float with percent
Error
time
is the start of the error string.
Tag
src_agent
is the agent, value
is the tag id
BarrierUpdate
src_agent
is at barrier percent, dst_agent
is the percentage times 10000 (so 99.5%
will be 9950).
Trait Implementations
sourceimpl Clone for CbtStateChange
impl Clone for CbtStateChange
sourcefn clone(&self) -> CbtStateChange
fn clone(&self) -> CbtStateChange
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CbtStateChange
impl Debug for CbtStateChange
sourceimpl Default for CbtStateChange
impl Default for CbtStateChange
sourceimpl FromPrimitive for CbtStateChange
impl FromPrimitive for CbtStateChange
sourcefn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourcefn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
sourceimpl Hash for CbtStateChange
impl Hash for CbtStateChange
sourceimpl PartialEq<CbtStateChange> for CbtStateChange
impl PartialEq<CbtStateChange> for CbtStateChange
impl Copy for CbtStateChange
impl Eq for CbtStateChange
impl StructuralEq for CbtStateChange
impl StructuralPartialEq for CbtStateChange
Auto Trait Implementations
impl RefUnwindSafe for CbtStateChange
impl Send for CbtStateChange
impl Sync for CbtStateChange
impl Unpin for CbtStateChange
impl UnwindSafe for CbtStateChange
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more