Skip to content

Commit 9850c5f

Browse files
committed
feat: many UE classes
1 parent 411f842 commit 9850c5f

Some content is hidden

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

56 files changed

+1317
-0
lines changed

include/RE/B/BaseKeyFuncs.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#pragma once
2+
3+
namespace RE::UE
4+
{
5+
template <class T, class U, std::size_t N>
6+
class BaseKeyFuncs
7+
{
8+
public:
9+
};
10+
static_assert(std::is_empty_v<BaseKeyFuncs<void*, void*, 0>>);
11+
}

include/RE/D/DefaultKeyFuncs.h

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#pragma once
2+
3+
#include "RE/B/BaseKeyFuncs.h"
4+
5+
namespace RE::UE
6+
{
7+
template <class T, std::size_t N>
8+
class DefaultKeyFuncs :
9+
public BaseKeyFuncs<T, T, N>
10+
{
11+
public:
12+
};
13+
static_assert(std::is_empty_v<DefaultKeyFuncs<void*, 0>>);
14+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#pragma once
2+
3+
#include "RE/T/TSizedDefaultAllocator.h"
4+
#include "RE/T/TSizedInlineAllocator.h"
5+
6+
namespace RE::UE
7+
{
8+
class FDefaultBitArrayAllocator :
9+
public TSizedInlineAllocator<4, 32, TSizedDefaultAllocator<32>>
10+
{
11+
public:
12+
};
13+
static_assert(std::is_empty_v<FDefaultBitArrayAllocator>);
14+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#pragma once
2+
3+
#include "RE/F/FDefaultBitArrayAllocator.h"
4+
#include "RE/T/TSetAllocator.h"
5+
#include "RE/T/TSizedDefaultAllocator.h"
6+
#include "RE/T/TSizedInlineAllocator.h"
7+
#include "RE/T/TSparseArrayAllocator.h"
8+
9+
namespace RE::UE
10+
{
11+
class FDefaultSetAllocator :
12+
public TSetAllocator<TSparseArrayAllocator<TSizedDefaultAllocator<32>, FDefaultBitArrayAllocator>, TSizedInlineAllocator<1, 32, TSizedDefaultAllocator<32>>, 2, 8, 4>
13+
{
14+
public:
15+
};
16+
static_assert(std::is_empty_v<FDefaultSetAllocator>);
17+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#pragma once
2+
3+
#include "RE/F/FDefaultBitArrayAllocator.h"
4+
#include "RE/T/TSizedDefaultAllocator.h"
5+
#include "RE/T/TSparseArrayAllocator.h"
6+
7+
namespace RE::UE
8+
{
9+
class FDefaultSparseArrayAllocator :
10+
public TSparseArrayAllocator<TSizedDefaultAllocator<32>, FDefaultBitArrayAllocator>
11+
{
12+
public:
13+
};
14+
static_assert(std::is_empty_v<FDefaultSparseArrayAllocator>);
15+
}

include/RE/F/FExec.h

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#pragma once
2+
3+
namespace RE::UE
4+
{
5+
class FOutputDevice;
6+
class UWorld;
7+
8+
class FExec
9+
{
10+
public:
11+
// add
12+
virtual ~FExec(); // 00
13+
virtual bool Exec(UWorld*, const wchar_t*, FOutputDevice*); // 01
14+
virtual bool Exec_Runtime(UWorld*, const wchar_t*, FOutputDevice*); // 02
15+
virtual bool Exec_Dev(UWorld*, const wchar_t*, FOutputDevice*); // 03
16+
virtual bool Exec_Editor(UWorld*, const wchar_t*, FOutputDevice*); // 04
17+
};
18+
static_assert(sizeof(FExec) == 0x08);
19+
}

include/RE/F/FName.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#pragma once
2+
3+
#include "RE/F/FNameEntryId.h"
4+
5+
namespace RE::UE
6+
{
7+
class FName
8+
{
9+
public:
10+
// members
11+
FNameEntryId comparisonIndex; // 00
12+
std::uint32_t number; // 04
13+
};
14+
static_assert(sizeof(FName) == 0x08);
15+
}

include/RE/F/FNameEntryId.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#pragma once
2+
3+
namespace RE::UE
4+
{
5+
class FNameEntryId
6+
{
7+
public:
8+
// members
9+
std::uint32_t value; // 00
10+
};
11+
static_assert(sizeof(FNameEntryId) == 0x04);
12+
}

include/RE/F/FNetworkNotify.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#pragma once
2+
3+
namespace RE::UE
4+
{
5+
namespace EAcceptConnection
6+
{
7+
enum class Type : std::int8_t;
8+
}
9+
10+
class FInBunch;
11+
class UChannel;
12+
class UNetConnection;
13+
14+
class FNetworkNotify
15+
{
16+
public:
17+
// add
18+
virtual EAcceptConnection::Type NotifyAcceptingConnection() = 0; // 00
19+
virtual void NotifyAcceptedConnection(UNetConnection*) = 0; // 01
20+
virtual bool NotifyAcceptingChannel(UChannel*) = 0; // 02
21+
virtual void NotifyControlMessage(UNetConnection*, std::uint8_t, FInBunch*) = 0; // 03
22+
};
23+
static_assert(sizeof(FNetworkNotify) == 0x08);
24+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#pragma once
2+
3+
namespace RE::UE
4+
{
5+
class FObjectSaveContextData;
6+
7+
class FObjectPostSaveContext
8+
{
9+
public:
10+
// members
11+
FObjectSaveContextData* data; // 00
12+
};
13+
static_assert(sizeof(FObjectPostSaveContext) == 0x08);
14+
}

0 commit comments

Comments
 (0)