LeviLamina
Loading...
Searching...
No Matches
JSONSchema.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ext/json_schema/JSONSchemaDef.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace cereal { struct ReflectionCtx; }
11namespace cereal { struct SchemaDescription; }
12// clang-format on
13
14namespace cereal::ext {
15
16struct JSONSchema : public ::cereal::ext::internal::JSONSchemaDef {
17public:
18 // JSONSchema inner types define
19 using JSONSchemaDef = ::cereal::ext::internal::JSONSchemaDef;
20
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mTitle;
25 ::ll::TypedStorage<8, 32, ::std::string> mSchemaUrl;
26 ::ll::TypedStorage<8, 32, ::std::string> mIdentifier;
27 ::ll::TypedStorage<8, 32, ::std::string> mExtraFormatVersion;
28 ::ll::TypedStorage<8, 32, ::std::string> mExtraMinecraftVersion;
29 ::ll::TypedStorage<4, 8, ::std::optional<int>> mExtraProtocolVersion;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI JSONSchema();
36
37 MCAPI JSONSchema(::cereal::ext::JSONSchema const&);
38
39 MCAPI ::cereal::ext::JSONSchema& operator=(::cereal::ext::JSONSchema&&);
40
41 MCAPI ::cereal::ext::JSONSchema& operator=(::cereal::ext::JSONSchema const&);
42
43 MCAPI ~JSONSchema();
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
50
51 MCAPI static ::cereal::ext::JSONSchema
52 fromDescription(::cereal::SchemaDescription const& desc, ::std::function<::std::string(uint)> const& uriProvider);
53 // NOLINTEND
54
55public:
56 // constructor thunks
57 // NOLINTBEGIN
58 MCAPI void* $ctor();
59
60 MCAPI void* $ctor(::cereal::ext::JSONSchema const&);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68};
69
70} // namespace cereal::ext
Definition ReflectionCtx.h:11
Definition SchemaDescription.h:21
Definition JSONSchema.h:16
Definition JSONSchemaDef.h:18
Definition ctx.h:5