Skip to content

Commit bc11c0c

Browse files
authored
Merge pull request #12 from qudix/dev/ue
feat: `UE` extravaganza!
2 parents 9b1bf17 + 62ab281 commit bc11c0c

126 files changed

Lines changed: 3868 additions & 140 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

include/RE/IDs.h

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,17 @@ namespace RE::ID
6161

6262
namespace UE::ID
6363
{
64+
namespace FFrame
65+
{
66+
inline constexpr REL::Offset KismetExecutionMessage{ 0x10FD030 };
67+
}
68+
6469
namespace FMemory
6570
{
6671
inline constexpr REL::Offset Free{ 0x0E30580 };
6772
inline constexpr REL::Offset Malloc{ 0x0E3CFC0 };
6873
inline constexpr REL::Offset Realloc{ 0x0E3EE30 };
74+
inline constexpr REL::Offset QuantizeSize{ 0x0E3E800 };
6975
}
7076

7177
namespace FName
@@ -81,12 +87,30 @@ namespace UE::ID
8187
inline constexpr REL::Offset GetSingleton{ 0x909EE80 };
8288
}
8389

90+
namespace FParse
91+
{
92+
inline constexpr REL::Offset Command{ 0x0F0F5E0 };
93+
}
94+
95+
namespace FSelfRegisteringExec
96+
{
97+
inline constexpr REL::Offset Ctor{ 0x0EEA960 };
98+
inline constexpr REL::Offset Dtor{ 0x0EEAF70 };
99+
}
100+
84101
namespace FString
85102
{
86103
inline constexpr REL::Offset Ctor1{ 0x0DE4F20 };
87104
inline constexpr REL::Offset Ctor2{ 0x0DE50B0 };
88105
}
89106

107+
namespace FText
108+
{
109+
inline constexpr REL::Offset Ctor1{ 0x0E561F0 };
110+
inline constexpr REL::Offset GetEmpty{ 0x0E6E7C0 };
111+
inline constexpr REL::Offset Rebuild{ 0x0E7F220 };
112+
}
113+
90114
namespace FUObjectArray
91115
{
92116
inline constexpr REL::Offset GetSingleton{ 0x9145160 };
@@ -114,7 +138,17 @@ namespace UE::ID
114138
inline constexpr REL::Offset GetFullName2{ 0x111F8D0 };
115139
}
116140

141+
namespace UWorld
142+
{
143+
inline constexpr REL::Offset GetSingleton{ 0x92B3878 };
144+
}
145+
146+
inline constexpr REL::Offset AsyncTask{ 0x0DC48F0 };
147+
inline constexpr REL::Offset GetExecRegistry{ 0x0EF7E60 };
148+
inline constexpr REL::Offset GetExecRegistryLock{ 0x0EF7ED0 };
117149
inline constexpr REL::Offset GetTransientPackage{ 0x109A510 };
150+
inline constexpr REL::Offset IsInGameThread{ 0x0E3C380 };
151+
inline constexpr REL::Offset LowLevelFatalErrorHandler{ 0x0ED7980 };
118152
inline constexpr REL::Offset StaticConstructObject_Internal{ 0x1129D30 };
119153
inline constexpr REL::Offset StaticFindObjectFast{ 0x112C350 };
120154
inline constexpr REL::Offset StaticFindObjectFastSafe{ 0x112CC40 };

include/UE/A/AActor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace UE
4646
public UObject
4747
{
4848
public:
49-
UE_DEFINE_UOBJECT("Engine", "Actor");
49+
UE_DEFINE_UOBJECT(AActor, UObject, "Engine", "Actor");
5050

5151
enum class EActorBeginPlayState : std::uint8_t
5252
{

include/UE/A/ACharacter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace UE
2626
public APawn
2727
{
2828
public:
29-
UE_DEFINE_UOBJECT("Engine", "Character");
29+
UE_DEFINE_UOBJECT(ACharacter, APawn, "Engine", "Character");
3030

3131
// override
3232
virtual ~ACharacter(); // 00

include/UE/A/AController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace UE
2121
public INavAgentInterface
2222
{
2323
public:
24-
UE_DEFINE_UOBJECT("Engine", "Controller");
24+
UE_DEFINE_UOBJECT(AController, AActor, "Engine", "Controller");
2525

2626
// override
2727
virtual ~AController();

include/UE/A/APawn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace UE
2525
public INavAgentInterface
2626
{
2727
public:
28-
UE_DEFINE_UOBJECT("Engine", "Pawn");
28+
UE_DEFINE_UOBJECT(APawn, AActor, "Engine", "Pawn");
2929

3030
// override
3131
virtual ~APawn();

include/UE/A/APlayerController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace UE
1717
public IWorldPartitionStreamingSourceProvider
1818
{
1919
public:
20-
UE_DEFINE_UOBJECT("Engine", "PlayerController");
20+
UE_DEFINE_UOBJECT(APlayerController, AController, "Engine", "PlayerController");
2121

2222
// override
2323
virtual ~APlayerController();

include/UE/A/AVPairedPawn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace UE
4848
public IVAudioPlayable
4949
{
5050
public:
51-
UE_DEFINE_UOBJECT("Altar", "VPairedPawn");
51+
UE_DEFINE_UOBJECT(AVPairedPawn, ACharacter, "Altar", "VPairedPawn");
5252

5353
// override
5454
virtual ~AVPairedPawn(); // 00

include/UE/E/EAsyncExecution.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#pragma once
2+
3+
namespace UE
4+
{
5+
enum class EAsyncExecution : std::int32_t
6+
{
7+
TaskGraph = 0,
8+
TaskGraphMainThread = 1,
9+
Thread = 2,
10+
ThreadIfForkSafe = 3,
11+
ThreadPool = 4,
12+
};
13+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#pragma once
2+
3+
namespace UE
4+
{
5+
enum class EDynamicResolutionStateEvent : std::uint8_t
6+
{
7+
BeginFrame,
8+
BeginDynamicResolutionRendering,
9+
EndDynamicResolutionRendering,
10+
EndFrame
11+
};
12+
}

include/UE/E/EFrameHitchType.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#pragma once
2+
3+
namespace UE
4+
{
5+
enum class EFrameHitchType : std::uint8_t
6+
{
7+
NoHitch = 0,
8+
UnknownUnit = 1,
9+
GameThread = 2,
10+
RenderThread = 3,
11+
RHIThread = 4,
12+
GPU = 5
13+
};
14+
}

0 commit comments

Comments
 (0)