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 SchemaDescription; }
11namespace cereal { struct SchemaReader; }
12namespace cereal { struct SchemaWriter; }
13namespace cereal::internal { struct DescriptionConfig; }
14namespace cereal::internal { struct LoadState; }
15namespace cereal::internal { struct SaveState; }
16// clang-format on
17
18namespace cereal::internal {
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual void doSave(
26 ::entt::meta_any const& any,
28 ) const /*override*/;
29
30 virtual void doLoad(
32 ::entt::meta_any& any,
33 ::entt::meta_any const& udata,
35 ) const /*override*/;
36
37 virtual ~ComponentStorageCompositeSchema() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI ::cereal::SchemaDescription makeDescriptionForComponents(
44 ::entt::meta_ctx const& ctx,
45 ::entt::meta_type const& type,
47 ) const;
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCNAPI static ::entt::meta_data
54 findComponentData(::entt::meta_type const& type, uint componentId, bool serializeDeprecated);
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCNAPI void $doSave(
62 ::entt::meta_any const& any,
64 ) const;
65
66 MCNAPI void $doLoad(
68 ::entt::meta_any& any,
69 ::entt::meta_any const& udata,
71 ) const;
72
73
74 // NOLINTEND
75};
76
77} // namespace cereal::internal
Definition ComponentStorageCompositeSchema.h:20
MCAPI void $doLoad(::cereal::SchemaReader &reader, ::entt::meta_any &any, ::entt::meta_any const &udata, ::cereal::internal::LoadState const &state) const
MCAPI void $doSave(::cereal::SchemaWriter &writer, ::entt::meta_any const &any, ::cereal::internal::SaveState const &state) const
MCAPI::cereal::SchemaDescription makeDescriptionForComponents(::entt::meta_ctx const &ctx, ::entt::meta_type const &type, ::cereal::internal::DescriptionConfig config) const
static MCAPI ::entt::meta_data findComponentData(::entt::meta_type const &type, uint componentId, bool serializeDeprecated)
Definition DefaultCompositeSchema.h:19
Definition SchemaDescription.h:20
Definition SchemaReader.h:12
Definition SchemaWriter.h:16
Definition DescriptionConfig.h:7
Definition LoadState.h:7
Definition SaveState.h:7
Definition ctx.h:5