libER
0.1.4.2
ELDEN RING API library
Loading...
Searching...
No Matches
include
fd4
component.hpp
Go to the documentation of this file.
1
8
#pragma once
9
10
#include <
dantelion2/reflection.hpp
>
11
#include <detail/preprocessor.hpp>
12
13
// LIBER_CLASS specialization that uses
14
// DLRuntimeClass reflection for CLASSNAME
15
#define FD4_RUNTIME_CLASS(CLASSNAME) \
16
virtual from::DLRF::DLRuntimeClass* get_runtime_class() const noexcept { \
17
return from::DLRF::DLRuntimeClass::get_runtime_class( \
18
LIBER_STRINGIFY(CLASSNAME)); \
19
} \
20
LIBER_CLASS(CLASSNAME)
21
22
namespace
from {
23
namespace
FD4 {
32
struct
FD4ComponentBase
{
33
FD4_RUNTIME_CLASS(
FD4ComponentBase
);
34
35
virtual
~FD4ComponentBase
() =
default
;
36
};
37
}
// namespace FD4
38
}
// namespace from
reflection.hpp
Dantelion2 type reflection.
from::FD4::FD4ComponentBase
Reflection implementation for a given class.
Definition
component.hpp:32
Generated by
1.9.8