Rise
The Vieneo Province
Loading...
Searching...
No Matches
Telemetry Namespace Reference

Classes

struct  ChannelConfig
struct  ChannelMetrics
struct  MotionSnapshot
class  PeriodicGate
struct  PresentationState
struct  Quaternion
class  SnapshotChannel
class  SnapshotSystem
class  UploadDiagnostics
struct  UploadMetrics
struct  Vec3

Enumerations

enum class  SequenceMode { UShort , Modulo255 }
enum class  Acceptance {
  Accepted , Duplicate , OutOfOrder , Invalid ,
  GenerationMismatch
}

Functions

bool IsFinite (const Vec3 &value)
bool IsFinite (const Quaternion &value)
double Length (const Vec3 &value)
double QuaternionLength (const Quaternion &value)
bool NormalizeQuaternion (Quaternion &value)
bool ShouldBufferVehicleReference (int reference)
Quaternion Slerp (const Quaternion &aValue, const Quaternion &bValue, double amount)
Quaternion IntegrateAngularVelocity (const Quaternion &orientation, const Vec3 &angularVelocity, double seconds)
bool IsNewerUShort (std::uint16_t incoming, std::uint16_t previous)
bool IsNewerModulo255 (std::uint8_t incoming, std::uint8_t previous)
std::uint16_t SourceTimeDeltaMilliseconds (std::uint16_t incoming, std::uint16_t previous)
bool HasExactPayloadLength (std::size_t actualBytes, std::size_t expectedBytes)
double MonotonicSeconds ()
Vec3 WeaponFrameEndpoint (const Vec3 &presentationPosition, const Vec3 &velocity, double elapsedSeconds, bool hasAuthoritativePresentation)

Variables

SnapshotSystem gSnapshotSystem
constexpr std::size_t SnapshotCapacity = 16
constexpr std::size_t EntityCapacity = 64
UploadDiagnostics gUploadDiagnostics
constexpr double ClientUploadIntervalSeconds = 0.05
constexpr double DiscordPresenceIntervalSeconds = 15.0

Enumeration Type Documentation

◆ Acceptance

enum class Telemetry::Acceptance
strong
Enumerator
Accepted 
Duplicate 
OutOfOrder 
Invalid 
GenerationMismatch 

Definition at line 39 of file TelemetrySnapshot.h.

◆ SequenceMode

enum class Telemetry::SequenceMode
strong
Enumerator
UShort 
Modulo255 

Definition at line 33 of file TelemetrySnapshot.h.

Function Documentation

◆ HasExactPayloadLength()

bool Telemetry::HasExactPayloadLength ( std::size_t actualBytes,
std::size_t expectedBytes )

Definition at line 209 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IntegrateAngularVelocity()

Quaternion Telemetry::IntegrateAngularVelocity ( const Quaternion & orientation,
const Vec3 & angularVelocity,
double seconds )

Definition at line 179 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsFinite() [1/2]

bool Telemetry::IsFinite ( const Quaternion & value)

Definition at line 101 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:

◆ IsFinite() [2/2]

bool Telemetry::IsFinite ( const Vec3 & value)

Definition at line 96 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsNewerModulo255()

bool Telemetry::IsNewerModulo255 ( std::uint8_t incoming,
std::uint8_t previous )

Definition at line 196 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsNewerUShort()

bool Telemetry::IsNewerUShort ( std::uint16_t incoming,
std::uint16_t previous )

Definition at line 190 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Length()

double Telemetry::Length ( const Vec3 & value)

Definition at line 107 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ MonotonicSeconds()

double Telemetry::MonotonicSeconds ( )

Definition at line 214 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ NormalizeQuaternion()

bool Telemetry::NormalizeQuaternion ( Quaternion & value)

Definition at line 117 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ QuaternionLength()

double Telemetry::QuaternionLength ( const Quaternion & value)

Definition at line 112 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShouldBufferVehicleReference()

bool Telemetry::ShouldBufferVehicleReference ( int reference)

Definition at line 131 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Slerp()

Quaternion Telemetry::Slerp ( const Quaternion & aValue,
const Quaternion & bValue,
double amount )

Definition at line 138 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SourceTimeDeltaMilliseconds()

std::uint16_t Telemetry::SourceTimeDeltaMilliseconds ( std::uint16_t incoming,
std::uint16_t previous )

Definition at line 204 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ WeaponFrameEndpoint()

Vec3 Telemetry::WeaponFrameEndpoint ( const Vec3 & presentationPosition,
const Vec3 & velocity,
double elapsedSeconds,
bool hasAuthoritativePresentation )

Definition at line 220 of file TelemetrySnapshot.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ClientUploadIntervalSeconds

double Telemetry::ClientUploadIntervalSeconds = 0.05
constexpr

Definition at line 7 of file TelemetryUploadCadence.h.

◆ DiscordPresenceIntervalSeconds

double Telemetry::DiscordPresenceIntervalSeconds = 15.0
constexpr

Definition at line 8 of file TelemetryUploadCadence.h.

◆ EntityCapacity

std::size_t Telemetry::EntityCapacity = 64
constexpr

Definition at line 10 of file TelemetrySnapshot.h.

◆ gSnapshotSystem

SnapshotSystem Telemetry::gSnapshotSystem

Definition at line 821 of file TelemetrySnapshot.cpp.

◆ gUploadDiagnostics

UploadDiagnostics Telemetry::gUploadDiagnostics

Definition at line 8 of file TelemetryUploadCadence.cpp.

◆ SnapshotCapacity

std::size_t Telemetry::SnapshotCapacity = 16
constexpr

Definition at line 9 of file TelemetrySnapshot.h.