LeviLamina
Loading...
Searching...
No Matches
ComponentStorageCompositeSchema.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/schema/DefaultCompositeSchema.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct DescriptionConfig; }
11namespace cereal { struct SchemaDescription; }
12namespace cereal { struct SchemaReader; }
13namespace cereal { struct SchemaWriter; }
14namespace cereal::internal { struct LoadState; }
15namespace cereal::internal { struct ReflectionContext; }
16namespace cereal::internal { struct SaveState; }
17// clang-format on
18
19namespace cereal::internal {
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual void doSave(
27 ::entt::meta_any const& any,
29 ) const /*override*/;
30
31 virtual void doLoad(
33 ::entt::meta_any& any,
34 ::entt::meta_any const& udata,
36 ) const /*override*/;
37
38 virtual ~ComponentStorageCompositeSchema() /*override*/ = default;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCNAPI ::cereal::SchemaDescription makeDescriptionForComponents(
46 ::entt::meta_type const& type,
48 ) const;
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCNAPI static ::entt::meta_data
55 findComponentData(::entt::meta_type const& type, uint componentId, bool serializeDeprecated);
56
57 MCNAPI static ::std::pair<uint, ::entt::meta_data> findComponentFamilyData(
58 ::entt::meta_type const& source,
59 ::entt::meta_type const& curr,
60 ::std::string_view family,
61 bool serializeDeprecated
62 );
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI void $doSave(
70 ::entt::meta_any const& any,
72 ) const;
73
74 MCNAPI void $doLoad(
76 ::entt::meta_any& any,
77 ::entt::meta_any const& udata,
79 ) const;
80
81
82 // NOLINTEND
83};
84
85} // namespace cereal::internal
Definition ComponentStorageCompositeSchema.h:21
static MCAPI ::std::pair< uint, ::entt::meta_data > findComponentFamilyData(::entt::meta_type const &source, ::entt::meta_type const &curr, ::std::string_view family, bool serializeDeprecated)
MCAPI void $doLoad(::cereal::SchemaReader &reader, ::entt::meta_any &any, ::entt::meta_any const &udata, ::cereal::internal::LoadState const &state) const
MCAPI::cereal::SchemaDescription makeDescriptionForComponents(::cereal::internal::ReflectionContext const &ctx, ::entt::meta_type const &type, ::cereal::DescriptionConfig config) const
MCAPI void $doSave(::cereal::SchemaWriter &writer, ::entt::meta_any const &any, ::cereal::internal::SaveState const &state) const
static MCAPI ::entt::meta_data findComponentData(::entt::meta_type const &type, uint componentId, bool serializeDeprecated)
Definition DefaultCompositeSchema.h:19
Definition DescriptionConfig.h:10
Definition SchemaDescription.h:20
Definition SchemaReader.h:12
Definition SchemaWriter.h:16
Definition LoadState.h:7
Definition ReflectionContext.h:10
Definition SaveState.h:7
Definition ctx.h:5