|
group2 0.1.0
CSE 125 Group 2
|
Per-shot record for the server-side shot-resolution log. More...
#include <ShotLog.hpp>
Public Attributes | |
| std::uint16_t | shooterClientId = 0 |
| std::uint32_t | shotInputTick = 0 |
| std::uint16_t | hitClientId = k_missClientId |
| float | hitX = 0.0f |
| float | hitY = 0.0f |
| float | hitZ = 0.0f |
| int | hitRegion = 0 |
| float | originX = 0.0f |
| float | originY = 0.0f |
| float | originZ = 0.0f |
| float | dirX = 0.0f |
| float | dirY = 0.0f |
| float | dirZ = 0.0f |
| std::uint16_t | shooterRttMs = 0 |
| std::uint16_t | lagCompTicks = 0 |
| float | hitTargetRewoundX = 0.0f |
| float | hitTargetRewoundY = 0.0f |
| float | hitTargetRewoundZ = 0.0f |
| float | hitTargetCurrentX = 0.0f |
| float | hitTargetCurrentY = 0.0f |
| float | hitTargetCurrentZ = 0.0f |
| std::uint16_t | clientIntentTargetClientId = k_missClientId |
| float | animStateDelta = 0.0f |
| int | clientIntentReceived = 0 |
Per-shot record for the server-side shot-resolution log.
PR-22 (netsync): grew from a flat parameter list to a POD so the callsite can fill the rewind-related fields incrementally inside the RewindHitboxesGuard scope without pushing 14 arguments through recordShotResolution. All fields are zeroed by default — the log writes them verbatim, so a missed shot or a non-rewound shooter just produces zero columns.
| float group2::perf::shotlog::ShotResolution::animStateDelta = 0.0f |
| int group2::perf::shotlog::ShotResolution::clientIntentReceived = 0 |
| std::uint16_t group2::perf::shotlog::ShotResolution::clientIntentTargetClientId = k_missClientId |
| float group2::perf::shotlog::ShotResolution::dirX = 0.0f |
| float group2::perf::shotlog::ShotResolution::dirY = 0.0f |
| float group2::perf::shotlog::ShotResolution::dirZ = 0.0f |
| std::uint16_t group2::perf::shotlog::ShotResolution::hitClientId = k_missClientId |
| int group2::perf::shotlog::ShotResolution::hitRegion = 0 |
| float group2::perf::shotlog::ShotResolution::hitTargetCurrentX = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitTargetCurrentY = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitTargetCurrentZ = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitTargetRewoundX = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitTargetRewoundY = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitTargetRewoundZ = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitX = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitY = 0.0f |
| float group2::perf::shotlog::ShotResolution::hitZ = 0.0f |
| std::uint16_t group2::perf::shotlog::ShotResolution::lagCompTicks = 0 |
| float group2::perf::shotlog::ShotResolution::originX = 0.0f |
| float group2::perf::shotlog::ShotResolution::originY = 0.0f |
| float group2::perf::shotlog::ShotResolution::originZ = 0.0f |
| std::uint16_t group2::perf::shotlog::ShotResolution::shooterClientId = 0 |
| std::uint16_t group2::perf::shotlog::ShotResolution::shooterRttMs = 0 |
| std::uint32_t group2::perf::shotlog::ShotResolution::shotInputTick = 0 |