Files
2024-10-18 01:01:36 +01:00

105 lines
7.5 KiB
C++

#pragma once
/*
* SDK generated by Dumper-7
*
* https://github.com/Encryqed/Dumper-7
*/
// Package: NetUI
#include "Basic.hpp"
#include "UMG_classes.hpp"
namespace SDK
{
// Class NetUI.BadNetworkIndicator
// 0x0050 (0x0280 - 0x0230)
class UBadNetworkIndicator final : public UUserWidget
{
public:
float BadPingThreshold; // 0x0230(0x0004)(ZeroConstructor, Config, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
float SeverePingThreshold; // 0x0234(0x0004)(ZeroConstructor, Config, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
float BadPacketLossThreshold; // 0x0238(0x0004)(ZeroConstructor, Config, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
float SeverePacketLossThreshold; // 0x023C(0x0004)(ZeroConstructor, Config, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
bool bEnabled; // 0x0240(0x0001)(ZeroConstructor, Config, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
uint8 Pad_241[0x3]; // 0x0241(0x0003)(Fixing Size After Last Property [ Dumper-7 ])
float MinimumDisplayTime; // 0x0244(0x0004)(ZeroConstructor, Config, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
float UpdateTime; // 0x0248(0x0004)(ZeroConstructor, Config, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
uint8 Pad_24C[0x34]; // 0x024C(0x0034)(Fixing Struct Size After Last Property [ Dumper-7 ])
public:
void UpdateDisplay();
float GetPacketLoss() const;
float GetPing() const;
bool HasBadPacketLoss() const;
bool HasBadPing() const;
bool HasSeverePacketLoss() const;
bool HasSeverePing() const;
bool ShouldDisplay() const;
public:
static class UClass* StaticClass()
{
return StaticClassImpl<"BadNetworkIndicator">();
}
static class UBadNetworkIndicator* GetDefaultObj()
{
return GetDefaultObjImpl<UBadNetworkIndicator>();
}
};
static_assert(alignof(UBadNetworkIndicator) == 0x000008, "Wrong alignment on UBadNetworkIndicator");
static_assert(sizeof(UBadNetworkIndicator) == 0x000280, "Wrong size on UBadNetworkIndicator");
static_assert(offsetof(UBadNetworkIndicator, BadPingThreshold) == 0x000230, "Member 'UBadNetworkIndicator::BadPingThreshold' has a wrong offset!");
static_assert(offsetof(UBadNetworkIndicator, SeverePingThreshold) == 0x000234, "Member 'UBadNetworkIndicator::SeverePingThreshold' has a wrong offset!");
static_assert(offsetof(UBadNetworkIndicator, BadPacketLossThreshold) == 0x000238, "Member 'UBadNetworkIndicator::BadPacketLossThreshold' has a wrong offset!");
static_assert(offsetof(UBadNetworkIndicator, SeverePacketLossThreshold) == 0x00023C, "Member 'UBadNetworkIndicator::SeverePacketLossThreshold' has a wrong offset!");
static_assert(offsetof(UBadNetworkIndicator, bEnabled) == 0x000240, "Member 'UBadNetworkIndicator::bEnabled' has a wrong offset!");
static_assert(offsetof(UBadNetworkIndicator, MinimumDisplayTime) == 0x000244, "Member 'UBadNetworkIndicator::MinimumDisplayTime' has a wrong offset!");
static_assert(offsetof(UBadNetworkIndicator, UpdateTime) == 0x000248, "Member 'UBadNetworkIndicator::UpdateTime' has a wrong offset!");
// Class NetUI.NetDebugWidget
// 0x0100 (0x0330 - 0x0230)
class UNetDebugWidget final : public UUserWidget
{
public:
class UCommonTextBlock* PingUI; // 0x0230(0x0008)(BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
class UCommonTextBlock* PacketInRateUI; // 0x0238(0x0008)(BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
class UCommonTextBlock* PacketOutRateUI; // 0x0240(0x0008)(BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
class UCommonTextBlock* PacketInLossUI; // 0x0248(0x0008)(BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
class UCommonTextBlock* PacketOutLossUI; // 0x0250(0x0008)(BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
class UCommonTextBlock* UpBandwidthUI; // 0x0258(0x0008)(BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
class UCommonTextBlock* DownBandwidthUI; // 0x0260(0x0008)(BlueprintVisible, ExportObject, BlueprintReadOnly, ZeroConstructor, InstancedReference, IsPlainOldData, NoDestructor, Protected, HasGetValueTypeHash, NativeAccessSpecifierProtected)
uint8 Pad_268[0xC8]; // 0x0268(0x00C8)(Fixing Struct Size After Last Property [ Dumper-7 ])
public:
void StartTimer();
void StopTimer();
public:
static class UClass* StaticClass()
{
return StaticClassImpl<"NetDebugWidget">();
}
static class UNetDebugWidget* GetDefaultObj()
{
return GetDefaultObjImpl<UNetDebugWidget>();
}
};
static_assert(alignof(UNetDebugWidget) == 0x000008, "Wrong alignment on UNetDebugWidget");
static_assert(sizeof(UNetDebugWidget) == 0x000330, "Wrong size on UNetDebugWidget");
static_assert(offsetof(UNetDebugWidget, PingUI) == 0x000230, "Member 'UNetDebugWidget::PingUI' has a wrong offset!");
static_assert(offsetof(UNetDebugWidget, PacketInRateUI) == 0x000238, "Member 'UNetDebugWidget::PacketInRateUI' has a wrong offset!");
static_assert(offsetof(UNetDebugWidget, PacketOutRateUI) == 0x000240, "Member 'UNetDebugWidget::PacketOutRateUI' has a wrong offset!");
static_assert(offsetof(UNetDebugWidget, PacketInLossUI) == 0x000248, "Member 'UNetDebugWidget::PacketInLossUI' has a wrong offset!");
static_assert(offsetof(UNetDebugWidget, PacketOutLossUI) == 0x000250, "Member 'UNetDebugWidget::PacketOutLossUI' has a wrong offset!");
static_assert(offsetof(UNetDebugWidget, UpBandwidthUI) == 0x000258, "Member 'UNetDebugWidget::UpBandwidthUI' has a wrong offset!");
static_assert(offsetof(UNetDebugWidget, DownBandwidthUI) == 0x000260, "Member 'UNetDebugWidget::DownBandwidthUI' has a wrong offset!");
}