mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 11:12:23 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
36
dependencies/reboot/Project Reboot 3.0/FortBotNameSettings.h
vendored
Normal file
36
dependencies/reboot/Project Reboot 3.0/FortBotNameSettings.h
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
|
||||
#include "reboot.h"
|
||||
|
||||
#include "Text.h"
|
||||
|
||||
enum class EBotNamingMode : uint8 // idk if this changes
|
||||
{
|
||||
RealName = 0,
|
||||
SkinName = 1,
|
||||
Anonymous = 2,
|
||||
Custom = 3,
|
||||
EBotNamingMode_MAX = 4,
|
||||
};
|
||||
|
||||
class UFortBotNameSettings : public UObject
|
||||
{
|
||||
public:
|
||||
EBotNamingMode& GetNamingMode()
|
||||
{
|
||||
static auto NamingModeOffset = GetOffset("NamingMode");
|
||||
return Get<EBotNamingMode>(NamingModeOffset);
|
||||
}
|
||||
|
||||
FText& GetOverrideName()
|
||||
{
|
||||
static auto OverrideNameOffset = GetOffset("OverrideName");
|
||||
return Get<FText>(OverrideNameOffset);
|
||||
}
|
||||
|
||||
bool ShouldAddPlayerIDSuffix()
|
||||
{
|
||||
static auto bAddPlayerIDSuffixOffset = GetOffset("bAddPlayerIDSuffix");
|
||||
return Get<bool>(bAddPlayerIDSuffixOffset);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user