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/BasicSchema.h"
7#include "mc/deps/cereal/schema/DefaultCompositeSchema.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { struct SchemaDescription; }
12namespace cereal { struct SchemaReader; }
13namespace cereal { struct SchemaWriter; }
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 // vIndex: 6
25 virtual void doLoad(
27 ::entt::meta_any& any,
28 ::entt::meta_any const& udata,
30 ) const /*override*/;
31
32 // vIndex: 7
33 virtual void doSave(
35 ::entt::meta_any const& any,
37 ) const /*override*/;
38
39 // vIndex: 0
40 virtual ~ComponentStorageCompositeSchema() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCNAPI ::cereal::SchemaDescription makeDescriptionForComponents(
47 ::entt::meta_ctx const& ctx,
48 ::entt::meta_type const& type,
49 ::cereal::internal::BasicSchema::DescriptionMode mode
50 ) const;
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
56 MCNAPI static ::entt::meta_data
57 findComponentData(::entt::meta_type const& type, uint componentId, bool serializeDeprecated);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI void $doLoad(
65 ::entt::meta_any& any,
66 ::entt::meta_any const& udata,
68 ) const;
69
70 MCNAPI void $doSave(
72 ::entt::meta_any const& any,
74 ) const;
75 // NOLINTEND
76};
77
78} // namespace cereal::internal
Definition ComponentStorageCompositeSchema.h:20
MCAPI::cereal::SchemaDescription makeDescriptionForComponents(::entt::meta_ctx const &ctx, ::entt::meta_type const &type, ::cereal::internal::BasicSchema::DescriptionMode mode) const
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
static MCAPI ::entt::meta_data findComponentData(::entt::meta_type const &type, uint componentId, bool serializeDeprecated)
Definition DefaultCompositeSchema.h:17
Definition SchemaReader.h:12
Definition SchemaWriter.h:16
Definition LoadState.h:7
Definition SaveState.h:7
Definition ctx.h:5