CommonLibVR
TESTexture.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "RE/B/BSFixedString.h"
4 #include "RE/B/BSString.h"
6 
7 namespace RE
8 {
10  {
11  public:
12  inline static constexpr auto RTTI = RTTI_TESTexture;
13  inline static constexpr auto VTABLE = VTABLE_TESTexture;
14 
15  ~TESTexture() override; // 00
16 
17  // override (BaseFormComponent)
18  void InitializeDataComponent() override; // 01
19  void ClearDataComponent() override; // 02
20  void CopyComponent(BaseFormComponent* a_rhs) override; // 03
21 
22  // add
23  virtual std::uint32_t GetMaxAllowedSize(); // 04 - { return 0; }
24  virtual const char* GetAsNormalFile(BSString& a_out) const; // 05
25  [[nodiscard]] virtual const char* GetDefaultPath() const; // 06 - { return "Textures\\"; }
26 
27  // members
28  BSFixedString textureName; // 08 - ICON
29  private:
30  KEEP_FOR_RE()
31  };
32  static_assert(sizeof(TESTexture) == 0x10);
33 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BaseFormComponent.h:8
Definition: TESTexture.h:10
void ClearDataComponent() override
~TESTexture() override
virtual const char * GetDefaultPath() const
static constexpr auto VTABLE
Definition: TESTexture.h:13
virtual std::uint32_t GetMaxAllowedSize()
virtual const char * GetAsNormalFile(BSString &a_out) const
BSFixedString textureName
Definition: TESTexture.h:28
void InitializeDataComponent() override
static constexpr auto RTTI
Definition: TESTexture.h:12
void CopyComponent(BaseFormComponent *a_rhs) override
Definition: AbsorbEffect.h:6
constexpr REL::ID RTTI_TESTexture(static_cast< std::uint64_t >(513858))
constexpr std::array< REL::ID, 1 > VTABLE_TESTexture
Definition: Offsets_VTABLE.h:12904