LeviLamina
Loading...
Searching...
No Matches
AllowList.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/IJsonSerializable.h"
7
8// auto generated forward declare list
9// clang-format off
10class AllowListEntry;
11namespace Json { class Value; }
12namespace mce { class UUID; }
13// clang-format on
14
16public:
17 // AllowList inner types declare
18 // clang-format off
20 // clang-format on
21
22 // AllowList inner types define
24 public:
25 // member variables
26 // NOLINTBEGIN
29 // NOLINTEND
30
31 public:
32 // prevent constructor by default
36
37 public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI AllowListEntryMatcher(::std::string name, ::std::string xuid);
41
42 MCNAPI bool operator()(::AllowListEntry& entry);
43 // NOLINTEND
44
45 public:
46 // constructor thunks
47 // NOLINTBEGIN
48 MCNAPI void* $ctor(::std::string name, ::std::string xuid);
49 // NOLINTEND
50 };
51
52public:
53 // member variables
54 // NOLINTBEGIN
57 // NOLINTEND
58
59public:
60 // prevent constructor by default
61 AllowList& operator=(AllowList const&);
62 AllowList(AllowList const&);
63 AllowList();
64
65public:
66 // virtual functions
67 // NOLINTBEGIN
68 // vIndex: 1
69 virtual void serialize(::Json::Value& root) /*override*/;
70
71 // vIndex: 2
72 virtual void deserialize(::Json::Value& root) /*override*/;
73
74 // vIndex: 0
75 virtual ~AllowList() /*override*/ = default;
76 // NOLINTEND
77
78public:
79 // member functions
80 // NOLINTBEGIN
81 MCNAPI bool isIgnoringPlayerLimit(::mce::UUID const& uuid, ::std::string const& xuid) const;
82
83 MCNAPI void tryUpdateEntries(::mce::UUID const& uuid, ::std::string const& xuid, ::std::string const& name);
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCNAPI void $serialize(::Json::Value& root);
90
91 MCNAPI void $deserialize(::Json::Value& root);
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
Definition AllowListEntry.h:14
Definition AllowList.h:15
static MCAPI void ** $vftable()
MCAPI bool isIgnoringPlayerLimit(::mce::UUID const &uuid, ::std::string const &xuid) const
MCAPI void tryUpdateEntries(::mce::UUID const &uuid, ::std::string const &xuid, ::std::string const &name)
MCAPI void $serialize(::Json::Value &root)
MCAPI void $deserialize(::Json::Value &root)
Definition IJsonSerializable.h:10
Definition Value.h:16
Definition UUID.h:7
Definition AllowList.h:23
MCAPI void * $ctor(::std::string name, ::std::string xuid)
MCAPI AllowListEntryMatcher(::std::string name, ::std::string xuid)
MCAPI bool operator()(::AllowListEntry &entry)
Definition Alias.h:14
Definition serialize.h:11