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 // member functions
26 // NOLINTBEGIN
27 MCAPI ::cereal::internal::ConstraintDescription description(::cereal::ContextArea) const;
28
29 MCAPI ::SharedTypes::NamespaceConstraint& disallowMinecraft();
30
31 MCAPI ::SharedTypes::NamespaceConstraint& disallowNamespace(::std::string const& disallowedNamespace);
32
33 MCAPI ::std::string getRegexString(::std::optional<::std::string> disallowedNamespace) const;
34
35 MCAPI void validateValue(::std::string_view value, ::cereal::SerializerContext& context) const;
36 // NOLINTEND
37
38public:
39 // vftables
40 // NOLINTBEGIN
41 MCNAPI static void** $vftable();
42 // NOLINTEND
43};
44
45} // namespace SharedTypes
Definition NamespaceConstraint.h:17
static MCAPI void ** $vftable()
Definition ConstraintHandle.h:8
Definition SerializerContext.h:17
Definition ConstraintDescription.h:7
Definition context.h:5