File tree Expand file tree Collapse file tree 2 files changed +42
-2
lines changed
Expand file tree Collapse file tree 2 files changed +42
-2
lines changed Original file line number Diff line number Diff line change 1+ #pragma once
2+
3+ #include " RE/B/BSTArray.h"
4+ #include " RE/N/NiAVObject.h"
5+ #include " RE/N/NiTransform.h"
6+
7+ namespace RE
8+ {
9+ class __declspec (novtable) NiNode :
10+ public NiAVObject
11+ {
12+ public:
13+ SF_RTTI (NiNode);
14+
15+ // add
16+ virtual ~NiNode () = default ;
17+ virtual NiNode* GetAsNiNode ();
18+ virtual void * AddChild (NiAVObject* child);
19+ virtual bool * RemoveChild (NiAVObject* child);
20+ virtual NiAVObject* GetObjectByName (const BSFixedString& name);
21+ virtual NiAVObject* FindObjectRecursive (const BSFixedString& name);
22+ virtual NiTransform* GetLocalTransform ();
23+ virtual void * SetLocalTransform (const NiTransform& transform);
24+
25+ // members
26+ BSTArray<NiPointer<NiAVObject>> children;
27+ void * extraData;
28+ std::uint32_t childCount;
29+ std::uint32_t flags;
30+ std::uint64_t pad148;
31+
32+ static_assert (sizeof (BSTArray<NiPointer<NiAVObject>>) == 0x8 );
33+ static_assert (offsetof (NiNode, children) == 0x130 );
34+ static_assert (offsetof (NiNode, extraData) == 0x138 );
35+ static_assert (offsetof (NiNode, childCount) == 0x140 );
36+ static_assert (offsetof (NiNode, flags) == 0x144 );
37+ static_assert (sizeof (NiNode) == 0x150 );
38+ };
39+ }
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ namespace SFSE
2020 constexpr REL::Version RUNTIME_SF_1_14_70 (1 , 14 , 70 , 0 );
2121 constexpr REL::Version RUNTIME_SF_1_14_74 (1 , 14 , 74 , 0 );
2222 constexpr REL::Version RUNTIME_SF_1_15_216 (1 , 15 , 216 , 0 );
23- constexpr auto RUNTIME_LATEST = RUNTIME_SF_1_15_216;
23+ constexpr REL::Version RUNTIME_SF_1_15_222 (1 , 15 , 222 , 0 );
24+ constexpr auto RUNTIME_LATEST = RUNTIME_SF_1_15_222;
2425
25- constexpr REL::Version SFSE_PACK_LATEST (0 , 2 , 17 , 0 );
26+ constexpr REL::Version SFSE_PACK_LATEST (0 , 2 , 18 , 0 );
2627}
You can’t perform that action at this time.
0 commit comments