LeviLamina
Loading...
Searching...
No Matches
ComponentInitializer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class EntityContext;
8namespace cereal { class ComponentStorage; }
9// clang-format on
10
11namespace AtomicClientEntity {
12
14public:
15 // virtual functions
16 // NOLINTBEGIN
17 virtual ~ComponentInitializer() = default;
18
19 virtual void
20 initializeFromStorage(::EntityContext&, ::cereal::ComponentStorage const&, ::std::string const&) const = 0;
21
22 virtual ::std::string_view getComponentName() const = 0;
23 // NOLINTEND
24};
25
26} // namespace AtomicClientEntity
Definition ComponentInitializer.h:13
Definition EntityContext.h:15
Definition ComponentStorage.h:10