CommonLibSSE (Parapets fork)
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
20
~TESModel
()
override
;
// 00
21
22
// override (BaseFormComponent)
23
void
InitializeDataComponent
()
override
;
// 01
24
void
ClearDataComponent
()
override
;
// 02
25
void
CopyComponent
(
BaseFormComponent
* a_rhs)
override
;
// 03
26
27
// add
28
[[nodiscard]]
virtual
const
char
*
GetModel
()
const
;
// 04 - { return model.c_str(); }
29
virtual
void
SetModel
(
const
char
* a_model);
// 05 - { model = a_model; }
30
virtual
TESModelTextureSwap
*
GetAsModelTextureSwap
();
// 06 - { return 0; }
31
32
// members
33
BSFixedString
model
;
// 08 - MODL
34
BSResource::ID
*
textures
;
// 10 - MODT
35
std::uint32_t*
addons
;
// 18
36
std::uint16_t
numTextures
;
// 20
37
std::uint16_t
numAddons
;
// 22
38
std::uint32_t
pad24
;
// 24
39
};
40
static_assert(
sizeof
(
TESModel
) == 0x28);
41
}
BSFixedString.h
BaseFormComponent.h
RE::BaseFormComponent
Definition:
BaseFormComponent.h:8
RE::TESModelTextureSwap
Definition:
TESModelTextureSwap.h:10
RE::TESModel
Definition:
TESModel.h:16
RE::TESModel::GetAsModelTextureSwap
virtual TESModelTextureSwap * GetAsModelTextureSwap()
RE::TESModel::numTextures
std::uint16_t numTextures
Definition:
TESModel.h:36
RE::TESModel::model
BSFixedString model
Definition:
TESModel.h:33
RE::TESModel::InitializeDataComponent
void InitializeDataComponent() override
RE::TESModel::pad24
std::uint32_t pad24
Definition:
TESModel.h:38
RE::TESModel::RTTI
static constexpr auto RTTI
Definition:
TESModel.h:18
RE::TESModel::addons
std::uint32_t * addons
Definition:
TESModel.h:35
RE::TESModel::numAddons
std::uint16_t numAddons
Definition:
TESModel.h:37
RE::TESModel::GetModel
virtual const char * GetModel() const
RE::TESModel::textures
BSResource::ID * textures
Definition:
TESModel.h:34
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::detail::BSFixedString< char >
RE
Definition:
AbsorbEffect.h:6
RE::RTTI_TESModel
constexpr REL::ID RTTI_TESModel
Definition:
Offsets_RTTI.h:6017
SKSE::WinAPI::GetWindowLongIndex::ID
@ ID
RE::BSResource::ID
Definition:
ID.h:10
CommonLibSSE
include
RE
T
TESModel.h
Generated by
1.9.1