group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
net::shotdebug::ReportHeader Struct Reference

Header that precedes the variable-length per-target body of the SHOT_DEBUG_REPORT packet. More...

#include <ShotDebugReport.hpp>

Public Attributes

std::uint32_t shotInputTick
std::uint16_t hitTargetClientId
std::uint8_t hitRegion
std::uint8_t numTargets
float originX
float originY
float originZ
float dirX
float dirY
float dirZ
float range
float hitX
float hitY
float hitZ

Detailed Description

Header that precedes the variable-length per-target body of the SHOT_DEBUG_REPORT packet.

Fields are in dependency order so the layout is readable in a hex dump.

Member Data Documentation

◆ dirX

float net::shotdebug::ReportHeader::dirX

◆ dirY

float net::shotdebug::ReportHeader::dirY

◆ dirZ

float net::shotdebug::ReportHeader::dirZ

◆ hitRegion

std::uint8_t net::shotdebug::ReportHeader::hitRegion

◆ hitTargetClientId

std::uint16_t net::shotdebug::ReportHeader::hitTargetClientId

◆ hitX

float net::shotdebug::ReportHeader::hitX

◆ hitY

float net::shotdebug::ReportHeader::hitY

◆ hitZ

float net::shotdebug::ReportHeader::hitZ

◆ numTargets

std::uint8_t net::shotdebug::ReportHeader::numTargets

◆ originX

float net::shotdebug::ReportHeader::originX

◆ originY

float net::shotdebug::ReportHeader::originY

◆ originZ

float net::shotdebug::ReportHeader::originZ

◆ range

float net::shotdebug::ReportHeader::range

◆ shotInputTick

std::uint32_t net::shotdebug::ReportHeader::shotInputTick

The documentation for this struct was generated from the following file: