13#include "RakNetStatistics.h"
25 RECT rect; rect.left = rect.right = 0; rect.top = rect.bottom = -1;
28 sprintf_s(msg,
sizeof msg,
"East Asian Support Text: %i", rect.right);
75 const auto check = [&](
int id,
bool value) {
80 const unsigned samples = host->Device().Depth().Description().SampleDesc.Count;
81 for (
unsigned i = 0; i < 4; ++i)
85 radio->SetEnabled(host->Device().SupportsSamples(1u << i));
86 radio->SetChecked(samples == (1u << i),
false);
92 status->SetText(
videoStatus.empty() ? L
"Changes apply immediately and are saved for next time." :
videoStatus.c_str());
98 rect.top =
static_cast<LONG
>(y + tracked->y);
99 rect.left =
static_cast<LONG
>(500.0f + tracked->x);
100 rect.bottom = rect.right = 0;
105 if (tracker.input.Tracking(GetTickCount64()))
108 const float angle = (lateral ? tracker.input.yaw : tracker.input.pitch) * (input_config->
invert ? -1.0f : 1.0f);
133 swprintf_s(str, 6, L
"%+i", value);
138 value = (-value + 1000) / 2;
141 swprintf_s(str, 6, L
"%+i", value);
167 if (host && SUCCEEDED(host->SetSamples(requested)))
173 else videoStatus = L
"Could not change MSAA. The previous setting has been restored.";
215 std::wstring(tracker.Version().begin(), tracker.Version().end());
216 if (
enabled && tracker.Available() && tracker.input.Tracking(GetTickCount64()))
231 const float cpu = BASS_GetCPU();
245 else if (pingtime > 100)
256 else if (fps < 42.0f)
287 alreadyBound = binding.function;
318 swprintf_s(msg,
sizeof msg, L
"Button %i",
buttonIndices.at(j) + 1);
327 alreadyBound = binding.function;
349 for (
size_t j = 0; j <
povGuids.size(); j++)
354 swprintf_s(msg,
sizeof msg, L
"%S",
povFriendly.at(j).c_str());
366 alreadyBound = binding.function;
399 rect.left =
static_cast<LONG
>(tracked->x) + 5;
400 rect.top =
static_cast<LONG
>(tracked->y) + 240;
413 swprintf_s(str, _countof(str), L
"TX %.1fHz INT%.2f AGE%.2f #%llu", upload.
packetsPerSecond,
423 swprintf_s(str, _countof(str), L
"TEL S%i ID%i REF%i P%i SEQ%u GAP%u", slot, telemetry.
identity,
429 swprintf_s(str, _countof(str), L
"BUF%zu AGE%.2f DLY%.2f EXT%.2f", telemetry.
snapshotDepth,
432 swprintf_s(str, _countof(str), L
"DUP%u OLD%u BAD%u ERR%.3f CORR%.3f", telemetry.
duplicateCount,
436 swprintf_s(str, _countof(str), L
"STIME%u SREV%u SDT%ums DSEQ%u", telemetry.
lastSampleTimeMs,
441 telemetry.
sourceTimed ? L
"SOURCE-TIMED" : L
"RECEIPT-FALLBACK");
446 DrawLine(L
"Vehicle telemetry: select a vehicle in the scanner.",
Rendering::ColorARGB(255, 128, 255, 255));
454 if (closestWeapon >= 0)
458 swprintf_s(str, _countof(str), L
"W%i WRX%.1f WSEQ%u WGAP%u WAGE%.2f", closestWeapon,
460 weapon.newestSnapshotAgeSeconds);
462 swprintf_s(str, _countof(str), L
"WDLY%.2f WEXT%.2f WERR%.3f WCORR%.3f",
weapon.interpolationDelaySeconds,
465 swprintf_s(str, _countof(str), L
"WSTIME%u WDT%ums %s",
weapon.lastSampleTimeMs,
weapon.lastSourceDeltaMs,
466 weapon.sourceTimed ? L
"SOURCE-TIMED" : L
"RECEIPT-FALLBACK");
482 rect.top =
static_cast<long>(tracked->y) + 2;
483 rect.left =
static_cast<long>(tracked->x) + 5;
494 -1, &rect, DT_NOCLIP, 0xFFFFFFFF);
498 sprintf_s(msg,
sizeof msg,
"Actual bytes per second sent %llu", s->valueOverLastSecond[RakNet::ACTUAL_BYTES_SENT]);
502 sprintf_s(msg,
sizeof msg,
"Actual bytes per second received %llu", s->valueOverLastSecond[RakNet::ACTUAL_BYTES_RECEIVED]);
506 sprintf_s(msg,
sizeof msg,
"Message bytes per second sent %llu", s->valueOverLastSecond[RakNet::USER_MESSAGE_BYTES_SENT]);
510 sprintf_s(msg,
sizeof msg,
"Message bytes per second resent %llu", s->valueOverLastSecond[RakNet::USER_MESSAGE_BYTES_RESENT]);
514 sprintf_s(msg,
sizeof msg,
"Message bytes per second pushed %llu", s->valueOverLastSecond[RakNet::USER_MESSAGE_BYTES_PUSHED]);
518 sprintf_s(msg,
sizeof msg,
"Message bytes per second returned %llu", s->valueOverLastSecond[RakNet::USER_MESSAGE_BYTES_RECEIVED_PROCESSED]);
522 sprintf_s(msg,
sizeof msg,
"Message bytes per second ignored %llu", s->valueOverLastSecond[RakNet::USER_MESSAGE_BYTES_RECEIVED_IGNORED]);
526 sprintf_s(msg,
sizeof msg,
"Total bytes sent %llu", s->runningTotal[RakNet::ACTUAL_BYTES_SENT]);
530 sprintf_s(msg,
sizeof msg,
"Total bytes received %llu", s->runningTotal[RakNet::ACTUAL_BYTES_RECEIVED]);
534 sprintf_s(msg,
sizeof msg,
"Total message bytes sent %llu", s->runningTotal[RakNet::USER_MESSAGE_BYTES_SENT]);
538 sprintf_s(msg,
sizeof msg,
"Total message bytes resent %llu", s->runningTotal[RakNet::USER_MESSAGE_BYTES_RESENT]);
542 sprintf_s(msg,
sizeof msg,
"Total message bytes pushed %llu", s->runningTotal[RakNet::USER_MESSAGE_BYTES_PUSHED]);
546 sprintf_s(msg,
sizeof msg,
"Total message bytes returned %llu", s->runningTotal[RakNet::USER_MESSAGE_BYTES_RECEIVED_PROCESSED]);
550 sprintf_s(msg,
sizeof msg,
"Total message bytes ignored %llu", s->runningTotal[RakNet::USER_MESSAGE_BYTES_RECEIVED_IGNORED]);
554 sprintf_s(msg,
sizeof msg,
"Messages in send buffer, by priority %i,%i,%i,%i", s->messageInSendBuffer[IMMEDIATE_PRIORITY], s->messageInSendBuffer[HIGH_PRIORITY], s->messageInSendBuffer[MEDIUM_PRIORITY], s->messageInSendBuffer[LOW_PRIORITY]);
558 sprintf_s(msg,
sizeof msg,
"Bytes in send buffer, by priority %.0f,%.0f,%.0f,%.0f", s->bytesInSendBuffer[IMMEDIATE_PRIORITY], s->bytesInSendBuffer[HIGH_PRIORITY], s->bytesInSendBuffer[MEDIUM_PRIORITY], s->bytesInSendBuffer[LOW_PRIORITY]);
562 sprintf_s(msg,
sizeof msg,
"Messages in resend buffer %i", s->messagesInResendBuffer);
566 sprintf_s(msg,
sizeof msg,
"Bytes in resend buffer %llu", s->bytesInResendBuffer);
570 sprintf_s(msg,
sizeof msg,
"Current packet loss %.1f%%", s->packetlossLastSecond * 100.0f);
574 sprintf_s(msg,
sizeof msg,
"Average packet loss %.1f%%", s->packetlossTotal * 100.0f);
578 sprintf_s(msg,
sizeof msg,
"Elapsed connection time in seconds %llu", (RakNet::GetTimeUS() - s->connectionStartTime) / 1000000);
582 if (s->BPSLimitByCongestionControl != 0)
584 sprintf_s(msg,
sizeof msg,
"Send capacity %llu bytes per second (%.0f%%)", s->BPSLimitByCongestionControl, 100.0f * s->valueOverLastSecond[RakNet::ACTUAL_BYTES_SENT] / s->BPSLimitByCongestionControl);
589 if (s->BPSLimitByOutgoingBandwidthLimit != 0)
591 sprintf_s(msg,
sizeof msg,
"Send limit %llu (%.0f%%)", s->BPSLimitByOutgoingBandwidthLimit, 100.0f * s->valueOverLastSecond[RakNet::ACTUAL_BYTES_SENT] / s->BPSLimitByOutgoingBandwidthLimit);
618 rect.top = rect.left = 0;
624 rect.top =
static_cast<long>((100.0f + tracked->y));
625 rect.left =
static_cast<long>((16.0f + tracked->x));
626 rect.right =
static_cast<long>((608.0f + tracked->x));
627 rect.bottom =
static_cast<long>((412.0f + tracked->y));
654 std::vector<Hamburger> list;
662 if (!(allowedUsage[i] &
profile))
666 bool alreadyBound =
false;
702 throw std::exception(
"Binding verbiage not lining up in language file!");
703 std::wstring langItem =
gui->
strings[langIndex];
704 list.emplace_back(
Hamburger(langItem, i));
707 std::sort(list.begin(), list.end());
709 for (
size_t i = 0; i < list.size(); i++)
711 HUD.
GetComboBox(control)->
AddItem(list.at(i).verbiage.c_str(),
reinterpret_cast<void*
>(
static_cast<INT_PTR
>(list.at(i).index)));
756#pragma region Interface
759 ShellExecuteW(
nullptr,
nullptr, L
"https://portal.risetvp.com",
nullptr,
nullptr, SW_SHOW);
793 if (maxScale > xScale * 1.5f)
794 maxScale = xScale * 1.5f;
795 if (maxScale > yScale * 1.5f)
796 maxScale = yScale * 1.5f;
837 outpacket.
f_x =
static_cast<float>(i);
838 outpacket.
f_y = 2.0f;
839 outpacket.
f_z = 0.0f;
840 outpacket.
f_w = 0.0f;
856 outpacket.
f_x =
static_cast<float>(i);
857 outpacket.
f_y = 3.0f;
858 outpacket.
f_z = 0.0f;
859 outpacket.
f_w = 0.0f;
889 const bool freeTrack = viewChannel && selectedIndex ==
static_cast<int>(cfd->
HUD.
GetComboBox(nControlID)->GetNumItems()) - 1;
892 else if (selectedIndex > 0)
898 if (selectedIndex == 0)
1173#pragma region Bindings
1182 auto data =
static_cast<int>(
reinterpret_cast<INT_PTR
>(cdxut_combo_box->
GetSelectedItem()->pData));
1187 if (nControlID == nextControl)
1202 binding.function = function;
1218 for (
size_t j = 0; j < cfd->
buttonGuids.size(); j++)
1220 if (nControlID == nextControl)
1235 binding.function = function;
1251 for (
size_t j = 0; j < cfd->
povGuids.size(); j++)
1253 if (nControlID == nextControl)
1268 binding.function = function;
1295 auto data =
static_cast<int>(
reinterpret_cast<INT_PTR
>(cdxut_combo_box->
GetSelectedItem()->pData));
1418#pragma region Account
1438#pragma region Interface
1542#pragma region Bindings
1579#pragma region Account
1909 const int col1 = xLabel;
1911 const int col2 = xLabel + col1width;
1913 const int col3 = col2 + col2width;
1959 const auto px = [&](
int value) {
return static_cast<int>(value *
gui->
game->
displayscale); };
1960 const auto label = [&](
int id,
const wchar_t*
text,
int y) {
1964 const auto radio = [&](
int id,
int group,
const wchar_t*
text,
int x,
int y,
int width) {
1976 label(
IDC_VIDEO_MSAA_HELP, L
"Higher levels smooth edges but use more GPU time and memory.", 192);
1980 label(
IDC_VIDEO_VSYNC_HELP, L
"On prevents screen tearing. Off may improve responsiveness and frame rate.", 302);
HRESULT(WINAPI *CUniBuffer::_ScriptApplyDigitSubstitution)(const SCRIPT_DIGITSUBSTITUTE *
SCRIPT_CONTROL SCRIPT_STATE const void DWORD
#define EVENT_COMBOBOX_SELECTION_CHANGED
const GUID MYGUID_FREETRACK
SoundConfig soundConfigComms
InputConfig inputConfigSteer
InputConfig inputConfigLeftToeBrake
SoundConfig soundConfigLegacy
SoundConfig soundConfigComputer
InputConfig inputConfigGas
InputConfig inputConfigThrustRight
std::vector< KeyBinding > keyBindings
InputConfig inputConfigLookLateral
InputConfig inputConfigBrake
std::vector< ButtonBinding > buttonBindings
unsigned char videoSamples
InputConfig inputConfigWalkLateral
InputConfig inputConfigRoll
InputConfig inputConfigLookVertical
InputConfig inputConfigWalkVertical
InputConfig inputConfigThrustLeft
std::vector< POVBinding > povBindings
InputConfig inputConfigYaw
InputConfig inputConfigRightToeBrake
InputConfig inputConfigPitch
SoundConfig soundConfigRadio
InputConfig inputConfigPitchTrim
void Close(bool minimize) override
void FillBindingDropdown(int control, BindingEnum preserve)
void UpdateMenu(short tab) override
unsigned pendingVideoSamples
std::vector< std::string > povFriendly
static void UpdateInput(InputConfig *config)
std::vector< DWORD > povValues
void ShowStatus(InputConfig *input_config, int y, RiseMath::Vector3 *tracked, bool engine) const
std::vector< int > buttonIndices
ConfigurationDialog(short id)
void CreateAxisDropdown(int control, int y, InputConfig *config)
std::vector< std::string > buttonFriendly
std::vector< GUID > povGuids
void SetButton(GUID guid, int index, std::string friendly)
void UpdateVideoControls()
std::vector< int > povIndices
std::vector< GUID > buttonGuids
void SetPOV(GUID guid, int index, DWORD value, std::string friendly)
void ActiveTab() override
static void CALLBACK DialogCallback(UINT nEvent, int nControlID, RiseControl *pControl, void *pUserContext)
void SetKey(short scancode)
void DrawNetworkTelemetry(const RiseMath::Vector3 *tracked) const
void Draw(RiseMath::Vector3 *tracked) override
static void OnDeviceReset()
WCHAR msgbartext[HELP_SIZE]
short tabusedefaultlang[MAX_TAB]
RiseMath::Vector3 windowdefaultlocation
std::unique_ptr< Bus > bus
std::unique_ptr< Sound > sound
std::unique_ptr< Networking > networking
std::unique_ptr< Viewscreen > viewscreen
void ToggleFullScreen(bool goFullScreen)
void AddLanguageOptions(UIControlIds controlId, RiseDialog *HUD) const
SPlayerData player[MAX_ONLINEPLAYERS]
Rendering::RenderFont * g_pChatFont
void TriggerWelcomeApt2() const
void LoadPeopleSounds() const
std::wstring strings[L_ENUMERATION]
void GetVersionText(WCHAR *, int size) const
InformationDialog * informationDialog
static void RestoreDefaults()
Rendering::RenderFont * g_pFont
Rendering::RenderTexture * m_pddsBindings
RiseDialogResourceManager g_DialogResourceManager
Rendering::RenderSprite * g_pTextSprite
void Log(const char *msg, Level level=Info, int errorCode=0)
void AddToCallStack(const char *msg)
RakNet::RakNetStatistics * GetStatistics() const
void SendToServer(void *pData, DWORD dwSize, bool bGuaranteed, PacketOrdering order=ORDERING_NONE) const
void RequestVerbiage(int helpId) const
INT DrawTextW(RenderSprite *sprite, const wchar_t *text, INT count, RECT *rectangle, DWORD flags, PackedColor color)
INT DrawTextA(RenderSprite *sprite, const char *text, INT count, RECT *rectangle, DWORD flags, PackedColor color)
HRESULT Draw(RenderTexture *image, const RECT *rectangle, const RiseMath::Vector3 *center, const RiseMath::Vector3 *position, PackedColor color)
HRESULT SetSelectedByIndex(UINT index)
UIComboBoxItem * GetSelectedItem()
HRESULT AddItem(const WCHAR *strText, void *pData)
HRESULT SetSelectedByData(void *pData)
void SetDropHeight(UINT nHeight, UINT fHeight)
int GetSelectedIndex() const
RiseElement * GetElement(UINT iElement)
virtual void SetVisible(bool bVisible)
virtual void SetEnabled(bool bEnabled)
void RemoveControl(int ID)
void Init(RiseDialogResourceManager *pManager, bool bRegisterDialog=true)
HRESULT AddComboBox(int ID, int x, int y, int width, int height, UINT nHotKey=0, bool bIsDefault=false, RiseComboBox **ppCreated=NULL)
RiseComboBox * GetComboBox(int ID)
void EnableKeyboardInput(bool bEnable)
HRESULT AddCheckBox(int ID, LPCWSTR strText, int x, int y, int width, int height, bool bChecked=false, UINT nHotkey=0, bool bIsDefault=false, RiseCheckBox **ppCreated=NULL)
RiseRadioButton * GetRadioButton(int ID)
HRESULT AddStatic(int ID, LPCWSTR strText, int x, int y, int width, int height, bool bIsDefault=false, RiseStatic **ppCreated=NULL, bool bShadow=true)
RiseStatic * GetStatic(int ID)
HRESULT AddRadioButton(int ID, UINT nButtonGroup, LPCWSTR strText, int x, int y, int width, int height, bool bChecked=false, UINT nHotkey=0, bool bIsDefault=false, RiseRadioButton **ppCreated=NULL)
RiseCheckBox * GetCheckBox(int ID)
RiseSlider * GetSlider(int ID)
HRESULT SetFont(UINT index, LPCWSTR strFaceName, LONG height, LONG weight)
void SetCallback(UICallback pCallback, void *pUserContext=NULL)
HRESULT AddButton(int ID, LPCWSTR strText, int x, int y, int width, int height, UINT nHotkey=0, bool bIsDefault=false, RiseButton **ppCreated=NULL)
HRESULT AddSlider(int ID, int x, int y, int width, int height, int min=0, int max=100, int value=50, bool bIsDefault=false, RiseSlider **ppCreated=NULL)
HRESULT SetText(LPCWSTR strText)
void ChangeVolume(SoundConfig *config, float modVolume)
void LoadSounds(short instage)
int GetConfigSelectionIndex(const SoundConfig *deviceConfig) const
void InitDevice(SoundConfig *deviceConfig)
std::vector< std::string > deviceNames
void PlayEx(SOUNDS soundEnum, bool loop, float volume=1.0f, float frequencyMod=1.0f, float pan=0.0f, bool restart=true, bool fromOutside=false, bool partOfHull=false)
void ChangeCockpit(bool force)
std::vector< GUID > deviceGuids
ChannelMetrics VehicleMetrics(std::size_t slot, double nowSeconds) const
int ClosestWeaponSlot(const Vec3 &worldObserverPosition, const Vec3 &dockObserverPosition) const
ChannelMetrics WeaponMetrics(std::size_t slot, double nowSeconds) const
UploadMetrics GetMetrics(double nowSeconds) const
std::unique_ptr< keyboard > ptrKeyboard
std::unique_ptr< cockpit > ptrCockpit
std::unique_ptr< joystick > ptrJoystick
std::unique_ptr< FreeTrack > ptrFreeTrack
std::vector< DIDEVICEINSTANCE > deviceList
void InitializeDevice(InputConfig *config, std::string control) const
HRESULT Poll(InputConfig *config, long *value)
std::string Translate(short scancode)
s_network_objects playerships[MAX_SCAN]
@ L_CONFIG_PROFILEAIRSPACE
@ L_CONFIG_FREETRACK_UNKNOWN
@ L_MESSAGE_FREETRACK_DISABLED
@ L_CONFIG_FREETRACK_ANGLE
@ L_MESSAGE_FREETRACK_LIVE
@ L_CONFIG_BINDINGDEVICEHEADER
@ L_MESSAGE_FREETRACK_STATUS
@ L_CONFIG_CLOSEDCAPTIONING
@ L_CONFIG_PROFILEINTERIOR
@ L_BUTTON_RESTOREDEFAULTS
@ L_CONFIG_FREETRACK_PITCH
@ L_CONFIG_BINDINGRESTORE
@ L_CONFIG_COMMUNICATIONS
@ L_CONFIG_BINDINGDEVICEFUNCTION
@ L_CONFIG_BINDINGDEVICETRIGGER
@ L_MESSAGE_FREETRACK_WAITING
@ L_MESSAGE_SOUNDUTILIZATION
@ L_MESSAGE_FREETRACK_UNAVAILABLE
@ IDC_INPUTAXISTHRUSTLEFT
@ IDC_INPUTLABELLEFTTOEBRAKE
@ IDC_INPUTLABELRIGHTTOEBRAKE
@ IDC_INPUTDEVICEWALKLATERAL
@ IDC_INPUTLABELTHRUSTRIGHT
@ IDC_INPUTINVLOOKLATERAL
@ DXUTSETTINGSDLG_CLOSEDCAPTIONING
@ IDC_INPUTDEVICESTEERING
@ IDC_INPUTINVLOOKVERTICAL
@ IDC_INPUTAXISRIGHTTOEBRAKE
@ IDC_INPUTDEVICETHRUSTRIGHT
@ IDC_INPUTDEVICEPITCHTRIM
@ IDC_INPUTDEVICELOOKLATERAL
@ IDC_INPUTSPLITTHRUSTRIGHT
@ IDC_INPUTLABELTHRUSTLEFT
@ IDC_INPUTSPLITLEFTTOEBRAKE
@ DXUTSETTINGSDLG_STATIC1
@ IDC_SOUNDDEVICECOMPUTER
@ IDC_INPUTAXISWALKVERTICAL
@ IDC_INPUTLABELWALKLATERAL
@ DXUTSETTINGSDLG_STATIC2
@ IDC_BINDING_BOUNDHEADER
@ IDC_INPUTAXISWALKLATERAL
@ IDC_INPUTINVWALKLATERAL
@ IDC_INPUTLABELPITCHTRIM
@ IDC_BINDING_INPUTHEADER
@ IDC_INPUTLABELWALKVERTICAL
@ IDC_INPUTDEVICETHRUSTLEFT
@ IDC_INPUTINVTHRUSTRIGHT
@ IDC_INPUTAXISTHRUSTRIGHT
@ IDC_INPUTSPLITTHRUSTLEFT
@ IDC_INPUTDEVICELOOKVERTICAL
@ IDC_INPUTSPLITRIGHTTOEBRAKE
@ DXUTSETTINGSDLG_WINDOWED_GROUP
@ IDC_INPUTDEVICERIGHTTOEBRAKE
@ DXUTSETTINGSDLG_FULLSCREEN
@ IDC_INPUTINVWALKVERTICAL
@ IDC_INPUTDEVICEWALKVERTICAL
@ IDC_INPUTAXISLOOKLATERAL
@ IDC_INPUTDEVICELEFTTOEBRAKE
@ DXUTSETTINGSDLG_WINDOWED
@ IDC_INPUTINVLEFTTOEBRAKE
@ IDC_MASTERVOLUMECOMPUTER
@ IDC_INPUTLABELLOOKLATERAL
@ IDC_INPUTAXISLOOKVERTICAL
@ IDC_INPUTINVRIGHTTOEBRAKE
@ IDC_INPUTLABELLOOKVERTICAL
@ IDC_BINDING_DEVICEHEADER
@ IDC_INPUTAXISLEFTTOEBRAKE
const wchar_t * ClientFrameStats()
constexpr PackedColor ColorARGB(unsigned a, unsigned r, unsigned g, unsigned b)
const wchar_t * ClientDeviceStats()
constexpr auto Max(A first, B second)
double MonotonicSeconds()
UploadDiagnostics gUploadDiagnostics
SnapshotSystem gSnapshotSystem
Hamburger(std::wstring prmVerbiage, int prmIndex)
friend bool operator<(Hamburger a, Hamburger b)
double newestSnapshotAgeSeconds
std::uint16_t lastDeliverySequenceDelta
std::uint16_t lastSampleTimeMs
std::uint32_t coalescedSourceRevisions
double incomingPacketsPerSecond
std::uint16_t lastAcceptedSequence
std::uint32_t duplicateCount
double interpolationDelaySeconds
std::uint16_t lastSourceRevision
std::uint32_t sequenceGaps
double expectedIntervalSeconds
std::uint32_t invalidCount
std::uint32_t duplicateSourceRevisionCount
std::uint16_t lastSourceDeltaMs
double extrapolationSeconds
std::uint32_t outOfOrderCount
double measuredIntervalSeconds
std::size_t snapshotDepth
double correctionMagnitudeKm
double ageOfLastPacketSeconds
std::uint64_t totalPackets
double expectedIntervalSeconds
RiseMath::Vector3 dockoffset