CommonLibSSE (powerof3)
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 
14  ~TESTexture() override; // 00
15 
16  // override (BaseFormComponent)
17  void InitializeDataComponent() override; // 01
18  void ClearDataComponent() override; // 02
19  void CopyComponent(BaseFormComponent* a_rhs) override; // 03
20 
21  // add
22  virtual std::uint32_t GetMaxAllowedSize(); // 04 - { return 0; }
23  virtual const char* GetAsNormalFile(BSString& a_out) const; // 05
24  [[nodiscard]] virtual const char* GetDefaultPath() const; // 06 - { return "Textures\\"; }
25 
26  // members
27  BSFixedString textureName; // 08 - ICON
28  };
29  static_assert(sizeof(TESTexture) == 0x10);
30 }
Definition: BaseFormComponent.h:8
Definition: TESTexture.h:10
void ClearDataComponent() override
~TESTexture() override
virtual const char * GetDefaultPath() const
virtual std::uint32_t GetMaxAllowedSize()
virtual const char * GetAsNormalFile(BSString &a_out) const
BSFixedString textureName
Definition: TESTexture.h:27
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
Definition: Offsets_RTTI.h:6076