CommonLibVR
ConcreteObjectFormFactory.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
RE/C/ConcreteFormFactory.h
"
4
5
namespace
RE
6
{
7
template
<
class
T, FormType FORM_TYPE, OBJECT_TYPE OBJ_TYPE, OBJECT_CATEGORY_TYPE OBJ_CATEGORY_TYPE>
8
class
ConcreteObjectFormFactory
:
public
ConcreteFormFactory
<T, FORM_TYPE>
9
{
10
public
:
11
~ConcreteObjectFormFactory
()
override
;
// 00
12
13
// override (ConcreteFormFactory)
14
const
char
*
GetObjectName
()
const override
;
// 04 - { return _name; }
15
OBJECT_TYPE
GetObjectType
()
const override
;
// 05 - { return OBJ_TYPE; }
16
[[nodiscard]]
OBJECT_CATEGORY_TYPE
GetObjectCategory
()
const override
;
// 06 - { return OBJ_CATEGORY_TYPE; }
17
};
18
static_assert(
sizeof
(
ConcreteObjectFormFactory
<
TESForm
,
FormType::None
,
static_cast<
OBJECT_TYPE
>
(0),
static_cast<
OBJECT_CATEGORY_TYPE
>
(0)>) == 0x10);
19
}
ConcreteFormFactory.h
RE::ConcreteFormFactory
Definition:
ConcreteFormFactory.h:10
RE::ConcreteObjectFormFactory
Definition:
ConcreteObjectFormFactory.h:9
RE::ConcreteObjectFormFactory::~ConcreteObjectFormFactory
~ConcreteObjectFormFactory() override
RE::ConcreteObjectFormFactory::GetObjectType
OBJECT_TYPE GetObjectType() const override
RE::ConcreteObjectFormFactory::GetObjectCategory
OBJECT_CATEGORY_TYPE GetObjectCategory() const override
RE::ConcreteObjectFormFactory::GetObjectName
const char * GetObjectName() const override
RE::TESForm
Definition:
TESForm.h:40
RE
Definition:
AbsorbEffect.h:6
RE::OBJECT_TYPE
OBJECT_TYPE
Definition:
IFormFactory.h:11
RE::OBJECT_CATEGORY_TYPE
OBJECT_CATEGORY_TYPE
Definition:
IFormFactory.h:15
RE::FormType::None
@ None
CommonLibVR
include
RE
C
ConcreteObjectFormFactory.h
Generated by
1.9.1