CommonLibSSE (powerof3)
hkpProperty.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
6  {
7  public:
8  hkpPropertyValue() = default;
9  hkpPropertyValue(std::uint64_t a_value);
10  hkpPropertyValue(std::int32_t a_value);
11  hkpPropertyValue(std::uint32_t a_value);
12  hkpPropertyValue(float a_value);
13  hkpPropertyValue(void* a_value);
14 
15  [[nodiscard]] float GetFloat() const;
16  [[nodiscard]] void* GetPointer() const;
17  [[nodiscard]] std::int32_t GetSInt() const;
18  [[nodiscard]] std::uint32_t GetUInt() const;
19  [[nodiscard]] std::uint64_t GetUInt64() const;
20 
21  // members
22  std::uint64_t data; // 0
23  };
24  static_assert(sizeof(hkpPropertyValue) == 0x8);
25 
27  {
28  public:
29  hkpProperty() = default;
30  hkpProperty(std::uint32_t a_key, hkpPropertyValue a_value);
31 
32  // members
33  std::uint32_t key; // 00
34  std::uint32_t alignmentPadding; // 04
36  };
37  static_assert(sizeof(hkpProperty) == 0x10);
38 }
Definition: hkpProperty.h:27
hkpProperty(std::uint32_t a_key, hkpPropertyValue a_value)
hkpProperty()=default
std::uint32_t key
Definition: hkpProperty.h:33
hkpPropertyValue value
Definition: hkpProperty.h:35
std::uint32_t alignmentPadding
Definition: hkpProperty.h:34
Definition: AbsorbEffect.h:6
Definition: hkpProperty.h:6
void * GetPointer() const
hkpPropertyValue(std::uint64_t a_value)
hkpPropertyValue()=default
std::uint64_t GetUInt64() const
hkpPropertyValue(std::int32_t a_value)
hkpPropertyValue(void *a_value)
std::uint64_t data
Definition: hkpProperty.h:22
float GetFloat() const
hkpPropertyValue(std::uint32_t a_value)
hkpPropertyValue(float a_value)
std::uint32_t GetUInt() const
std::int32_t GetSInt() const