Skeleton-driven hitbox types: body regions, capsule definitions, damage profiles, and per-entity runt...
Per-tick capsule snapshot stored in the history ring.
Definition HitboxHistory.hpp:41
uint32_t tick
Server tick when the sample was recorded. 0 = unset.
Definition HitboxHistory.hpp:42
AnimSnapshot anim
PR-27: animation-state snapshot captured the same tick.
Definition HitboxHistory.hpp:53
std::vector< WorldCapsule > capsules
Definition HitboxHistory.hpp:43
Ring buffer of recent hitbox snapshots for one entity.
Definition HitboxHistory.hpp:66
static constexpr std::size_t k_capacity
Number of past samples retained per entity.
Definition HitboxHistory.hpp:72
std::size_t count
Number of samples written so far, capped at k_capacity.
Definition HitboxHistory.hpp:82
std::array< HitboxHistorySample, k_capacity > ring
Definition HitboxHistory.hpp:74
std::size_t head
Index where the next push lands. Wraps modulo k_capacity.
Definition HitboxHistory.hpp:77