diff --git a/include/RED4ext/Dump/Reflection-inl.hpp b/include/RED4ext/Dump/Reflection-inl.hpp index ef5c5f52a..55d0582e8 100644 --- a/include/RED4ext/Dump/Reflection-inl.hpp +++ b/include/RED4ext/Dump/Reflection-inl.hpp @@ -42,7 +42,7 @@ RED4EXT_INLINE void Dump(std::filesystem::path aOutPath, std::filesystem::path a size_t i = 0; static constexpr std::pair uniqueNamespaces[] = { - {"AI", false}, {"GpuApi", true}, {"GpuWrapApi", true}, {"GpuWrapApiVertexPacking", true}}; + {"AI", false}, {"GpuApi", true}, {"GpuWrapApiVertexPacking", true}, {"GpuWrapApi", true}}; for (const auto& [name, isSpecialCase] : uniqueNamespaces) { diff --git a/include/RED4ext/Scripting/Natives/Generated/game/PhotoModeSystem.hpp b/include/RED4ext/Scripting/Natives/Generated/game/PhotoModeSystem.hpp index bc442d123..e76faf81b 100644 --- a/include/RED4ext/Scripting/Natives/Generated/game/PhotoModeSystem.hpp +++ b/include/RED4ext/Scripting/Natives/Generated/game/PhotoModeSystem.hpp @@ -17,9 +17,9 @@ struct __declspec(align(0x10)) PhotoModeSystem : game::IPhotoModeSystem static constexpr const char* NAME = "gamePhotoModeSystem"; static constexpr const char* ALIAS = "PhotoModeSystem"; - uint8_t unk48[0xA40 - 0x48]; // 48 + uint8_t unk48[0xA60 - 0x48]; // 48 }; -RED4EXT_ASSERT_SIZE(PhotoModeSystem, 0xA40); +RED4EXT_ASSERT_SIZE(PhotoModeSystem, 0xA60); } // namespace game using gamePhotoModeSystem = game::PhotoModeSystem; using PhotoModeSystem = game::PhotoModeSystem; diff --git a/include/RED4ext/Scripting/Natives/Generated/game/data/Vehicle_Record.hpp b/include/RED4ext/Scripting/Natives/Generated/game/data/Vehicle_Record.hpp index c66c8b193..bbde20d82 100644 --- a/include/RED4ext/Scripting/Natives/Generated/game/data/Vehicle_Record.hpp +++ b/include/RED4ext/Scripting/Natives/Generated/game/data/Vehicle_Record.hpp @@ -17,9 +17,9 @@ struct Vehicle_Record : game::data::SpawnableObject_Record static constexpr const char* NAME = "gamedataVehicle_Record"; static constexpr const char* ALIAS = "Vehicle_Record"; - uint8_t unkF8[0x590 - 0xF8]; // F8 + uint8_t unkF8[0x5A0 - 0xF8]; // F8 }; -RED4EXT_ASSERT_SIZE(Vehicle_Record, 0x590); +RED4EXT_ASSERT_SIZE(Vehicle_Record, 0x5A0); } // namespace game::data using gamedataVehicle_Record = game::data::Vehicle_Record; using Vehicle_Record = game::data::Vehicle_Record; diff --git a/include/RED4ext/Scripting/Natives/Generated/game/ui/ChangeCameraControlHintVisibilityEvent.hpp b/include/RED4ext/Scripting/Natives/Generated/game/ui/ChangeCameraControlHintVisibilityEvent.hpp index 9185d0dd4..1e22ef14f 100644 --- a/include/RED4ext/Scripting/Natives/Generated/game/ui/ChangeCameraControlHintVisibilityEvent.hpp +++ b/include/RED4ext/Scripting/Natives/Generated/game/ui/ChangeCameraControlHintVisibilityEvent.hpp @@ -17,8 +17,9 @@ struct ChangeCameraControlHintVisibilityEvent : red::Event static constexpr const char* NAME = "gameuiChangeCameraControlHintVisibilityEvent"; static constexpr const char* ALIAS = "ChangeCameraControlHintVisibilityEvent"; - bool visible; // 40 - uint8_t unk41[0x48 - 0x41]; // 41 + bool movementVisible; // 40 + bool rotationVisible; // 41 + uint8_t unk42[0x48 - 0x42]; // 42 }; RED4EXT_ASSERT_SIZE(ChangeCameraControlHintVisibilityEvent, 0x48); } // namespace game::ui diff --git a/include/RED4ext/Scripting/Natives/Generated/ink/GameScreenshotCallback.hpp b/include/RED4ext/Scripting/Natives/Generated/ink/GameScreenshotCallback.hpp new file mode 100644 index 000000000..a8adec7b6 --- /dev/null +++ b/include/RED4ext/Scripting/Natives/Generated/ink/GameScreenshotCallback.hpp @@ -0,0 +1,27 @@ +#pragma once + +// clang-format off + +// This file is generated from the Game's Reflection data + +#include +#include +#include + +namespace RED4ext +{ +namespace ink +{ +struct GameScreenshotCallback : ink::CallbackBase +{ + static constexpr const char* NAME = "inkGameScreenshotCallback"; + static constexpr const char* ALIAS = NAME; + + uint8_t unk28[0x38 - 0x28]; // 28 +}; +RED4EXT_ASSERT_SIZE(GameScreenshotCallback, 0x38); +} // namespace ink +using inkGameScreenshotCallback = ink::GameScreenshotCallback; +} // namespace RED4ext + +// clang-format on diff --git a/include/RED4ext/Scripting/Natives/Generated/quest/ICharacterConditionType.hpp b/include/RED4ext/Scripting/Natives/Generated/quest/ICharacterConditionType.hpp index 39603550c..54e2b6a82 100644 --- a/include/RED4ext/Scripting/Natives/Generated/quest/ICharacterConditionType.hpp +++ b/include/RED4ext/Scripting/Natives/Generated/quest/ICharacterConditionType.hpp @@ -27,7 +27,7 @@ struct ICharacterConditionType : quest::IConditionType static constexpr const char* NAME = "questICharacterConditionType"; static constexpr const char* ALIAS = NAME; - game::EntityReference attackerRef; // 38 + game::EntityReference puppetRef; // 38 bool isPlayer; // 70 uint8_t unk71[0x78 - 0x71]; // 71 }; diff --git a/include/RED4ext/Scripting/Natives/Generated/vehicle/VehicleCustomization.hpp b/include/RED4ext/Scripting/Natives/Generated/vehicle/VehicleCustomization.hpp index cfc59716f..78b7ffd65 100644 --- a/include/RED4ext/Scripting/Natives/Generated/vehicle/VehicleCustomization.hpp +++ b/include/RED4ext/Scripting/Natives/Generated/vehicle/VehicleCustomization.hpp @@ -20,9 +20,9 @@ struct VehicleCustomization : ent::IComponent static constexpr const char* ALIAS = "VehicleCustomizationComponent"; DynArray defaultDecalsPerAppearance; // 90 - uint8_t unkA0[0x148 - 0xA0]; // A0 + uint8_t unkA0[0x158 - 0xA0]; // A0 }; -RED4EXT_ASSERT_SIZE(VehicleCustomization, 0x148); +RED4EXT_ASSERT_SIZE(VehicleCustomization, 0x158); } // namespace vehicle using vehicleVehicleCustomization = vehicle::VehicleCustomization; using VehicleCustomizationComponent = vehicle::VehicleCustomization; diff --git a/include/RED4ext/Scripting/Natives/Generated/world/BenchmarkSummary.hpp b/include/RED4ext/Scripting/Natives/Generated/world/BenchmarkSummary.hpp index ede18aa03..10d1c34e3 100644 --- a/include/RED4ext/Scripting/Natives/Generated/world/BenchmarkSummary.hpp +++ b/include/RED4ext/Scripting/Natives/Generated/world/BenchmarkSummary.hpp @@ -53,37 +53,40 @@ struct BenchmarkSummary : IScriptable int32_t DLSSQuality; // 190 float DLSSSharpness; // 194 bool DLSSFrameGenEnabled; // 198 - bool FSR2Enabled; // 199 + bool DLSSMultiFrameGenEnabled; // 199 uint8_t unk19A[0x19C - 0x19A]; // 19A - int32_t FSR2Quality; // 19C - float FSR2Sharpness; // 1A0 - bool FSR3Enabled; // 1A4 - uint8_t unk1A5[0x1A8 - 0x1A5]; // 1A5 - int32_t FSR3Quality; // 1A8 - float FSR3Sharpness; // 1AC - bool FSR3FrameGenEnabled; // 1B0 - bool XeSSEnabled; // 1B1 - uint8_t unk1B2[0x1B4 - 0x1B2]; // 1B2 - int32_t XeSSQuality; // 1B4 - float XeSSSharpness; // 1B8 - bool DRSEnabled; // 1BC - uint8_t unk1BD[0x1C0 - 0x1BD]; // 1BD - uint32_t DRSTargetFPS; // 1C0 - uint32_t DRSMinimalResolutionPercentage; // 1C4 - uint32_t DRSMaximalResolutionPercentage; // 1C8 - bool CASSharpeningEnabled; // 1CC - bool FSREnabled; // 1CD - uint8_t unk1CE[0x1D0 - 0x1CE]; // 1CE - int32_t FSRQuality; // 1D0 - bool rayTracingEnabled; // 1D4 - bool rayTracedReflections; // 1D5 - bool rayTracedSunShadows; // 1D6 - bool rayTracedLocalShadows; // 1D7 - int32_t rayTracedLightingQuality; // 1D8 - bool rayTracedPathTracingEnabled; // 1DC - uint8_t unk1DD[0x1E0 - 0x1DD]; // 1DD + int32_t DLSSMultiFrameGenFrameToGenerate; // 19C + bool FSR2Enabled; // 1A0 + uint8_t unk1A1[0x1A4 - 0x1A1]; // 1A1 + int32_t FSR2Quality; // 1A4 + float FSR2Sharpness; // 1A8 + bool FSR3Enabled; // 1AC + uint8_t unk1AD[0x1B0 - 0x1AD]; // 1AD + int32_t FSR3Quality; // 1B0 + float FSR3Sharpness; // 1B4 + bool FSR3FrameGenEnabled; // 1B8 + bool XeSSEnabled; // 1B9 + uint8_t unk1BA[0x1BC - 0x1BA]; // 1BA + int32_t XeSSQuality; // 1BC + float XeSSSharpness; // 1C0 + bool DRSEnabled; // 1C4 + uint8_t unk1C5[0x1C8 - 0x1C5]; // 1C5 + uint32_t DRSTargetFPS; // 1C8 + uint32_t DRSMinimalResolutionPercentage; // 1CC + uint32_t DRSMaximalResolutionPercentage; // 1D0 + bool CASSharpeningEnabled; // 1D4 + bool FSREnabled; // 1D5 + uint8_t unk1D6[0x1D8 - 0x1D6]; // 1D6 + int32_t FSRQuality; // 1D8 + bool rayTracingEnabled; // 1DC + bool rayTracedReflections; // 1DD + bool rayTracedSunShadows; // 1DE + bool rayTracedLocalShadows; // 1DF + int32_t rayTracedLightingQuality; // 1E0 + bool rayTracedPathTracingEnabled; // 1E4 + uint8_t unk1E5[0x1E8 - 0x1E5]; // 1E5 }; -RED4EXT_ASSERT_SIZE(BenchmarkSummary, 0x1E0); +RED4EXT_ASSERT_SIZE(BenchmarkSummary, 0x1E8); } // namespace world using worldBenchmarkSummary = world::BenchmarkSummary; } // namespace RED4ext