mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
fixed respawning on pre s6, fixed a crash for some s5 builds, work on ai a bit, start on blueprint decompiler
36 lines
697 B
C++
36 lines
697 B
C++
#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);
|
|
}
|
|
}; |