Skip to content

Commit 52b44b4

Browse files
authored
Merge pull request #11 from qudix/dev/ue
feat: tons of `UE`
2 parents f629120 + 475760f commit 52b44b4

90 files changed

Lines changed: 1293 additions & 114 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ namespace UE::ID
114114
inline constexpr REL::Offset GetFullName2{ 0x111F8D0 };
115115
}
116116

117+
inline constexpr REL::Offset GetTransientPackage{ 0x109A510 };
118+
inline constexpr REL::Offset StaticConstructObject_Internal{ 0x1129D30 };
117119
inline constexpr REL::Offset StaticFindObjectFast{ 0x112C350 };
118120
inline constexpr REL::Offset StaticFindObjectFastSafe{ 0x112CC40 };
119121
inline constexpr REL::Offset StaticFindObject{ 0x112C0F0 };

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_OBJECT("/Script/Engine", "Actor");
49+
UE_DEFINE_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_OBJECT("/Script/Engine", "Character");
29+
UE_DEFINE_UOBJECT("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_OBJECT("/Script/Engine", "Controller");
24+
UE_DEFINE_UOBJECT("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_OBJECT("/Script/Engine", "Pawn");
28+
UE_DEFINE_UOBJECT("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_OBJECT("/Script/Engine", "PlayerController");
20+
UE_DEFINE_UOBJECT("Engine", "PlayerController");
2121

2222
// override
2323
virtual ~APlayerController();

include/UE/A/AVPairedPawn.h

Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
#pragma once
2+
3+
#include "UE/A/ACharacter.h"
4+
#include "UE/E/EOblivionAnimGroup.h"
5+
#include "UE/E/EVActorValues.h"
6+
#include "UE/F/FPoseSnapshot.h"
7+
#include "UE/I/IReactToFreezeInterface.h"
8+
#include "UE/I/IVAudioPlayable.h"
9+
#include "UE/I/IVPhysicsControllable.h"
10+
#include "UE/I/IVTransformPairable.h"
11+
#include "UE/T/TBaseDynamicDelegate.h"
12+
13+
namespace UE
14+
{
15+
class UAnimSequence;
16+
class UAnimSequenceBase;
17+
class UBoxComponent;
18+
class UCurveFloat;
19+
class UPhysicalAnimationComponent;
20+
class USoundBase;
21+
class UStaticMeshComponent;
22+
class UVActiveEffectsPairingComponent;
23+
class UVActorValuesPairingComponent;
24+
class UVAltarAkComponent;
25+
class UVAnimationPairingComponent;
26+
class UVCharacterFadeInOutComponent;
27+
class UVCharacterStatePairingComponent;
28+
class UVMergedSkeletalMeshComponent;
29+
class UVPairedPawnMovementComponent;
30+
class UVPairedPawnStateMachineComponent;
31+
class UVPawnSoundPairingComponent;
32+
class UVPhysicsControllerComponent;
33+
class UVTESObjectRefComponent;
34+
class UVTransformPairingComponent;
35+
class UVWeaponsPairingComponent;
36+
class UWidgetComponent;
37+
38+
using FOnActorValueChanged = TBaseDynamicDelegate<FNotThreadSafeDelegateMode, void, EVActorValues, float, float, float, float>;
39+
using FOnEnterLowFatigueState = TBaseDynamicMulticastDelegate<FNotThreadSafeDelegateMode, void>;
40+
using FOnExitLowFatigueState = TBaseDynamicMulticastDelegate<FNotThreadSafeDelegateMode, void>;
41+
using FOnRequestLinkDynamicAnimLayers = TBaseDynamicMulticastDelegate<FNotThreadSafeDelegateMode, void>;
42+
43+
class AVPairedPawn :
44+
public ACharacter,
45+
public IReactToFreezeInterface,
46+
public IVPhysicsControllable,
47+
public IVTransformPairable,
48+
public IVAudioPlayable
49+
{
50+
public:
51+
UE_DEFINE_UOBJECT("Altar", "VPairedPawn");
52+
53+
// override
54+
virtual ~AVPairedPawn(); // 00
55+
56+
// members
57+
float turnInPlaceAngleThreshold; // 6C8
58+
float actorForwardPoseOffset; // 6CC
59+
FVector lookAtPoint; // 6D0
60+
bool shouldUseLookAtPoint; // 6E8
61+
bool inEntityDebugMode; // 6E9
62+
FOnEnterLowFatigueState onEnterLowFatigueState; // 6F0
63+
FOnExitLowFatigueState onExitLowFatigueState; // 700
64+
FOnActorValueChanged actorValueChangedDelegate_Paralysis; // 710
65+
TObjectPtr<USceneComponent> fakeRoot; // 720
66+
TArray<TObjectPtr<UPrimitiveComponent>> secondaryColliders; // 728
67+
TObjectPtr<UCapsuleComponent> physicsBodyCollider; // 738
68+
TObjectPtr<UBoxComponent> worldLimitDetectionBox; // 740
69+
TObjectPtr<USkeletalMeshComponent> mainSkeletalMeshComponent; // 748
70+
TObjectPtr<UStaticMeshComponent> drawnArrowMeshComponent; // 750
71+
TObjectPtr<UVPairedPawnStateMachineComponent> stateMachineComponent; // 758
72+
TObjectPtr<UVMergedSkeletalMeshComponent> mergedMeshComponent; // 760
73+
TObjectPtr<UActorComponent> statusEffectComponent; // 768
74+
TObjectPtr<UVPairedPawnMovementComponent> pairedPawnMovementComponent; // 770
75+
TObjectPtr<UWidgetComponent> pawnDebugInfoWidgetComponent; // 778
76+
TObjectPtr<UWidgetComponent> entityDetailsDebugWidgetComponent; // 780
77+
TObjectPtr<UVPhysicsControllerComponent> physicsControllerComponent; // 788
78+
TObjectPtr<UVAltarAkComponent> akAudioComponent; // 790
79+
TObjectPtr<UPhysicalAnimationComponent> physicalAnimationComponent; // 798
80+
TObjectPtr<UVCharacterFadeInOutComponent> characterFadeInOutComponent; // 7A0
81+
FOnRequestLinkDynamicAnimLayers onRequestLinkDynamicAnimLayers; // 7A8
82+
TObjectPtr<UVTESObjectRefComponent> tesRefComponent; // 7B8
83+
TObjectPtr<UVTransformPairingComponent> transformPairingComponent; // 7C0
84+
TObjectPtr<UVAnimationPairingComponent> animationPairingComponent; // 7C8
85+
TObjectPtr<UVPawnSoundPairingComponent> pawnSoundPairingComponent; // 7D0
86+
TObjectPtr<UVWeaponsPairingComponent> weaponsPairingComponent; // 7D8
87+
TObjectPtr<UVCharacterStatePairingComponent> oblivionActorStatePairingComponent; // 7E0
88+
TObjectPtr<UVActorValuesPairingComponent> actorValuesPairingComponent; // 7E8
89+
TObjectPtr<UVActiveEffectsPairingComponent> activeEffectsPairingComponent; // 7F0
90+
float lightingUpdateFrequency; // 7F8
91+
float currentLightingValue; // 7FC
92+
float currentLightingValueWithTorch; // 800
93+
bool doesDetectionLightingAllowShadowOcclusionTests; // 804
94+
TObjectPtr<USoundBase> hitSoundCue; // 808
95+
bool inCombatStance; // 810
96+
bool isImmuneToShieldBashEffect; // 811
97+
TSet<AActor*> allowedMeleeTargets; // 818
98+
bool restrictedMeleeTargeting; // 868
99+
float yawRotationDelta; // 86C
100+
UAnimSequenceBase* specialAnimSequence; // 870
101+
UAnimSequence* dynamicAnimSequence; // 878
102+
FPoseSnapshot lastPoseSnapshot; // 880
103+
bool isRagdollFacingUp; // 8B8
104+
EOblivionAnimGroup currentSpellCastAnimGroup; // 8B9
105+
bool isLanding; // 8BA
106+
bool useRotationSpeedCurve; // 8BB
107+
TObjectPtr<UCurveFloat> rotationSpeedCurve; // 8C0
108+
// ...
109+
};
110+
//static_assert(sizeof(AVPairedPawn) == 0xE30);
111+
}

include/UE/E/EFindName.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#pragma once
2+
3+
namespace UE
4+
{
5+
enum class EFindName
6+
{
7+
Find,
8+
Add
9+
};
10+
}

include/UE/E/ELogVerbosity.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#pragma once
2+
3+
namespace UE
4+
{
5+
enum class ELogVerbosity : std::uint8_t
6+
{
7+
NoLogging = 0,
8+
Fatal,
9+
Error,
10+
Warning,
11+
Display,
12+
Log,
13+
Verbose,
14+
VeryVerbose,
15+
All = VeryVerbose,
16+
NumVerbosity,
17+
VerbosityMask = 0xF,
18+
SetColor = 0x40,
19+
BreakOnLog = 0x80
20+
};
21+
}

0 commit comments

Comments
 (0)