CommonLibSSE NG
Loading...
Searching...
No Matches
TESModel.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/B/BSFixedString.h
"
4
#include "
RE/B/BaseFormComponent.h
"
5
6
namespace
RE
7
{
8
namespace
BSResource
9
{
10
struct
ID;
11
}
12
13
class
TESModelTextureSwap;
14
15
class
TESModel
:
public
BaseFormComponent
16
{
17
public
:
18
inline
static
constexpr
auto
RTTI
=
RTTI_TESModel
;
19
inline
static
constexpr
auto
VTABLE
=
VTABLE_TESModel
;
20
21
~TESModel
()
override
;
// 00
22
23
// override (BaseFormComponent)
24
void
InitializeDataComponent
()
override
;
// 01
25
void
ClearDataComponent
()
override
;
// 02
26
void
CopyComponent
(
BaseFormComponent
* a_rhs)
override
;
// 03
27
28
// add
29
[[nodiscard]]
virtual
const
char
*
GetModel
()
const
;
// 04 - { return model.c_str(); }
30
virtual
void
SetModel
(
const
char
* a_model);
// 05 - { model = a_model; }
31
virtual
TESModelTextureSwap
*
GetAsModelTextureSwap
();
// 06 - { return 0; }
32
33
// members
34
BSFixedString
model
;
// 08 - MODL
35
BSResource::ID
*
textures
;
// 10 - MODT
36
std::uint32_t*
addons
;
// 18
37
std::uint16_t
numTextures
;
// 20
38
std::uint16_t
numAddons
;
// 22
39
std::uint32_t
pad24
;
// 24
40
};
41
static_assert
(
sizeof
(
TESModel
) == 0x28);
42
}
BSFixedString.h
BaseFormComponent.h
RE::BaseFormComponent
Definition
BaseFormComponent.h:8
RE::TESModel
Definition
TESModel.h:16
RE::TESModel::GetModel
virtual const char * GetModel() const
RE::TESModel::numTextures
std::uint16_t numTextures
Definition
TESModel.h:37
RE::TESModel::VTABLE
static constexpr auto VTABLE
Definition
TESModel.h:19
RE::TESModel::model
BSFixedString model
Definition
TESModel.h:34
RE::TESModel::InitializeDataComponent
void InitializeDataComponent() override
RE::TESModel::GetAsModelTextureSwap
virtual TESModelTextureSwap * GetAsModelTextureSwap()
RE::TESModel::pad24
std::uint32_t pad24
Definition
TESModel.h:39
RE::TESModel::RTTI
static constexpr auto RTTI
Definition
TESModel.h:18
RE::TESModel::addons
std::uint32_t * addons
Definition
TESModel.h:36
RE::TESModel::numAddons
std::uint16_t numAddons
Definition
TESModel.h:38
RE::TESModel::textures
BSResource::ID * textures
Definition
TESModel.h:35
RE::TESModel::CopyComponent
void CopyComponent(BaseFormComponent *a_rhs) override
RE::TESModel::ClearDataComponent
void ClearDataComponent() override
RE::TESModel::~TESModel
~TESModel() override
RE::TESModel::SetModel
virtual void SetModel(const char *a_model)
RE::TESModelTextureSwap
Definition
TESModelTextureSwap.h:10
RE::detail::BSFixedString< char >
RE
Definition
AbsorbEffect.h:6
RE::VTABLE_TESModel
constexpr std::array< REL::VariantID, 1 > VTABLE_TESModel
Definition
Offsets_VTABLE.h:324
RE::RTTI_TESModel
constexpr REL::VariantID RTTI_TESModel(513857, 392225, 0x1ed6e70)
RE::BSResource::ID
Definition
ID.h:10
CommonLibSSE-NG
include
RE
T
TESModel.h
Generated by
1.9.7