File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
include/RED4ext/Scripting/Natives Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change 4
4
5
5
// This file is generated from the Game's Reflection data
6
6
7
+ #include < RED4ext/Scripting/Natives/moveComponent.hpp>
8
+
9
+ namespace RED4ext
10
+ {
11
+ RED4EXT_ASSERT_SIZE (move::Component, 0x2C0 );
12
+ using moveComponent = move::Component;
13
+ } // namespace RED4ext
14
+
15
+ /*
7
16
#include <cstdint>
8
17
#include <RED4ext/Common.hpp>
9
18
#include <RED4ext/Scripting/Natives/Generated/ent/IMoverComponent.hpp>
@@ -23,5 +32,6 @@ RED4EXT_ASSERT_SIZE(Component, 0x2C0);
23
32
} // namespace move
24
33
using moveComponent = move::Component;
25
34
} // namespace RED4ext
35
+ */
26
36
27
37
// clang-format on
Original file line number Diff line number Diff line change
1
+ #pragma once
2
+
3
+ #include < cstdint>
4
+ #include < RED4ext/Common.hpp>
5
+ #include < RED4ext/Scripting/Natives/Vector3.hpp>
6
+ #include < RED4ext/Scripting/Natives/Vector4.hpp>
7
+ #include < RED4ext/Scripting/Natives/Generated/WorldTransform.hpp>
8
+ #include < RED4ext/Scripting/Natives/Generated/ent/IMoverComponent.hpp>
9
+
10
+ namespace RED4ext
11
+ {
12
+ namespace move
13
+ {
14
+ struct Component : ent::IMoverComponent
15
+ {
16
+ static constexpr const char * NAME = " moveComponent" ;
17
+ static constexpr const char * ALIAS = NAME;
18
+
19
+ uint8_t unk90[0x1C0 - 0x90 ]; // 90
20
+ WorldTransform worldTransform; // 1C0
21
+ uint8_t unk1E0[0x1E8 - 0x1E0 ]; // 1E0
22
+ Vector4 position; // 1E8
23
+ uint8_t unk1F8[0x220 - 0x1F8 ]; // 1F8
24
+ Vector3 speed; // 220
25
+ float deltaFrame; // 22C
26
+ uint8_t unk230[0x2C0 - 0x230 ]; // 230
27
+ };
28
+ RED4EXT_ASSERT_SIZE (Component, 0x2C0 );
29
+ RED4EXT_ASSERT_OFFSET (Component, worldTransform, 0x1C0 );
30
+ RED4EXT_ASSERT_OFFSET (Component, position, 0x1E8 );
31
+ RED4EXT_ASSERT_OFFSET (Component, speed, 0x220 );
32
+ RED4EXT_ASSERT_OFFSET (Component, deltaFrame, 0x22C );
33
+ } // namespace move
34
+ using moveComponent = move::Component;
35
+ } // namespace RED4ext
You can’t perform that action at this time.
0 commit comments