LeviLamina
Loading...
Searching...
No Matches
NamespaceConstraint.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/ConstraintHandle.h"
7#include "mc/deps/cereal/ContextArea.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace cereal { class SerializerContext; }
12namespace cereal::internal { struct ConstraintDescription; }
13// clang-format on
14
15namespace SharedTypes {
16
17class NamespaceConstraint : public ::cereal::ConstraintHandle<::SharedTypes::NamespaceConstraint> {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mDisallowedNamespace;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~NamespaceConstraint() /*override*/;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI ::cereal::internal::ConstraintDescription description(::cereal::ContextArea req) const;
34
35 MCAPI ::SharedTypes::NamespaceConstraint& disallowMinecraft();
36
37 MCAPI ::std::string getRegexString(::std::optional<::std::string> disallowedNamespace) const;
38
39 MCAPI void validateValue(::std::string const& value, ::cereal::SerializerContext& context) const;
40 // NOLINTEND
41
42public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCFOLD void $dtor();
46 // NOLINTEND
47
48public:
49 // vftables
50 // NOLINTBEGIN
51 MCNAPI static void** $vftable();
52 // NOLINTEND
53};
54
55} // namespace SharedTypes
Definition NamespaceConstraint.h:17
static MCAPI void ** $vftable()
Definition ConstraintHandle.h:8
Definition SerializerContext.h:11
Definition ConstraintDescription.h:7
Definition context.h:5