CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
NiFloatData.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/N/NiFloatKey.h"
4#include "RE/N/NiObject.h"
5
6namespace RE
7{
8 class NiFloatData : public NiObject
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_NiFloatData;
12 inline static constexpr auto Ni_RTTI = NiRTTI_NiFloatData;
13 inline static constexpr auto VTABLE = VTABLE_NiFloatData;
14
16
18 ~NiFloatData() override; // 00
19
20 // override (NiObject)
21 const NiRTTI* GetRTTI() const override; // 02
22 void LoadBinary(NiStream& a_stream) override; // 18
23 void SaveBinary(NiStream& a_stream) override; // 1B
24 bool IsEqual(NiObject* a_object) override; // 1C
25
26 [[nodiscard]] std::uint32_t GetNumKeys() const;
27 NiFloatKey* GetAnim(std::uint32_t& a_numKeys, KeyType& a_type, std::uint8_t& a_size) const;
28
29 // members
30 std::uint32_t numKeys; // 10
31 std::uint32_t pad14; // 14
34 std::uint8_t keySize; // 24
35 std::uint8_t pad25; // 25
36 std::uint16_t pad26; // 26
37 };
38 static_assert(sizeof(NiFloatData) == 0x28);
39}
KeyType
Definition NiAnimationKey.h:21
Definition NiFloatData.h:9
void SaveBinary(NiStream &a_stream) override
static constexpr auto RTTI
Definition NiFloatData.h:11
const NiRTTI * GetRTTI() const override
std::uint8_t keySize
Definition NiFloatData.h:34
void LoadBinary(NiStream &a_stream) override
NiFloatKey * GetAnim(std::uint32_t &a_numKeys, KeyType &a_type, std::uint8_t &a_size) const
std::uint16_t pad26
Definition NiFloatData.h:36
std::uint32_t numKeys
Definition NiFloatData.h:30
bool IsEqual(NiObject *a_object) override
std::uint8_t pad25
Definition NiFloatData.h:35
std::uint32_t pad14
Definition NiFloatData.h:31
static constexpr auto VTABLE
Definition NiFloatData.h:13
~NiFloatData() override
std::uint32_t GetNumKeys() const
NiFloatKey * keys
Definition NiFloatData.h:32
KeyType type
Definition NiFloatData.h:33
static constexpr auto Ni_RTTI
Definition NiFloatData.h:12
Definition NiFloatKey.h:8
Definition NiObject.h:37
Definition NiRTTI.h:6
Definition NiStream.h:29
Definition AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_NiFloatData
Definition Offsets_VTABLE.h:12205
constexpr REL::ID RTTI_NiFloatData(static_cast< std::uint64_t >(685125))
constexpr REL::ID NiRTTI_NiFloatData(static_cast< std::uint64_t >(524338))