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 to 0x637261 (arcdps id)

LogEnd

Log end.

  • value is the server unix timestamp.
  • buff_dmg is the local unix timestamp.
  • src_agent is set to 0x637261 (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 self
  • dst_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 agent
  • dst_agent through buff_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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

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

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

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

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

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

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

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

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

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

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

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

Converts a f32 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Converts a f64 to return an optional value of this type. If the value cannot be represented by this type, then None is returned. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.