CommonLibSSE (powerof3)
Loading...
Searching...
No Matches
NiColorData.h
Go to the documentation of this file.
1#pragma once
2
3#include "RE/N/NiColorKey.h"
4#include "RE/N/NiObject.h"
5
6namespace RE
7{
8 class NiColorData : public NiObject
9 {
10 public:
11 inline static constexpr auto RTTI = RTTI_NiColorData;
12 inline static constexpr auto Ni_RTTI = NiRTTI_NiColorData;
13 inline static constexpr auto VTABLE = VTABLE_NiColorData;
14
16
18 ~NiColorData() 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 NiColorKey* GetAnim(std::uint32_t& a_numKeys, NiColorKey::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(NiColorData) == 0x28);
39}
KeyType
Definition NiAnimationKey.h:21
Definition NiColorData.h:9
std::uint32_t numKeys
Definition NiColorData.h:30
std::uint8_t pad25
Definition NiColorData.h:35
NiColorKey * GetAnim(std::uint32_t &a_numKeys, NiColorKey::KeyType &a_type, std::uint8_t &a_size) const
void SaveBinary(NiStream &a_stream) override
std::uint16_t pad26
Definition NiColorData.h:36
std::uint8_t keySize
Definition NiColorData.h:34
bool IsEqual(NiObject *a_object) override
void LoadBinary(NiStream &a_stream) override
~NiColorData() override
NiColorKey * keys
Definition NiColorData.h:32
std::uint32_t GetNumKeys() const
const NiRTTI * GetRTTI() const override
static constexpr auto Ni_RTTI
Definition NiColorData.h:12
std::uint32_t pad14
Definition NiColorData.h:31
KeyType type
Definition NiColorData.h:33
static constexpr auto RTTI
Definition NiColorData.h:11
static constexpr auto VTABLE
Definition NiColorData.h:13
Definition NiColorKey.h:9
Definition NiObject.h:37
Definition NiRTTI.h:6
Definition NiStream.h:29
Definition AbsorbEffect.h:6
constexpr REL::ID NiRTTI_NiColorData(static_cast< std::uint64_t >(524340))
constexpr REL::ID RTTI_NiColorData(static_cast< std::uint64_t >(685126))
constexpr std::array< REL::ID, 1 > VTABLE_NiColorData
Definition Offsets_VTABLE.h:12192