52#include <glm/vec3.hpp>
76static_assert(
sizeof(
WireCapsule) == 32,
"WireCapsule must be 32 B for the wire format");
92static_assert(
sizeof(
ReportHeader) == 48,
"ReportHeader layout must be 48 B");
101static_assert(
sizeof(
TargetHeader) == 4,
"TargetHeader layout must be 4 B");
Skeleton-driven hitbox types: body regions, capsule definitions, damage profiles, and per-entity runt...
Definition ShotDebugReport.hpp:56
constexpr std::uint16_t k_missClientId
Sentinel hitTargetClientId meaning "shot missed all targets".
Definition ShotDebugReport.hpp:59
Per in-range target's REWOUND capsule list at fire-time.
Definition ShotDebugReport.hpp:127
std::vector< WorldCapsule > capsules
Definition ShotDebugReport.hpp:129
std::uint16_t clientId
Definition ShotDebugReport.hpp:128
Server-side runtime capture of one shot's debug data, produced by WeaponSystem::handleFire and consum...
Definition ShotDebugReport.hpp:111
glm::vec3 origin
Definition ShotDebugReport.hpp:116
std::uint16_t shooterClientId
The shooter's network ClientId.
Definition ShotDebugReport.hpp:114
glm::vec3 hitPoint
Definition ShotDebugReport.hpp:121
std::uint32_t shotInputTick
Definition ShotDebugReport.hpp:115
float range
Definition ShotDebugReport.hpp:118
std::uint16_t hitTargetClientId
Definition ShotDebugReport.hpp:119
glm::vec3 direction
Definition ShotDebugReport.hpp:117
std::vector< Target > targets
Definition ShotDebugReport.hpp:131
std::uint8_t hitRegion
Definition ShotDebugReport.hpp:120
One capsule on the wire.
Definition ShotDebugReport.hpp:64
float pointAz
Definition ShotDebugReport.hpp:67
float pointAx
Definition ShotDebugReport.hpp:65
std::uint8_t _pad0
Manual alignment.
Definition ShotDebugReport.hpp:73
std::uint16_t _pad1
Definition ShotDebugReport.hpp:74
float pointBy
Definition ShotDebugReport.hpp:69
float pointBz
Definition ShotDebugReport.hpp:70
std::uint8_t region
BodyRegion enum value.
Definition ShotDebugReport.hpp:72
float pointAy
Definition ShotDebugReport.hpp:66
float radius
Definition ShotDebugReport.hpp:71
float pointBx
Definition ShotDebugReport.hpp:68