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
10
class
AllowListEntry
;
11
namespace
Json {
class
Value
; }
12
namespace
mce {
class
UUID
; }
13
// clang-format on
14
15
class
AllowList
:
public
::IJsonSerializable
{
16
public
:
17
// AllowList inner types declare
18
// clang-format off
19
struct
AllowListEntryMatcher
;
20
// clang-format on
21
22
// AllowList inner types define
23
struct
AllowListEntryMatcher {
24
public
:
25
// member variables
26
// NOLINTBEGIN
27
::ll::TypedStorage<8, 32, ::std::string> mName;
28
::ll::TypedStorage<8, 32, ::std::string> mXuid;
29
// NOLINTEND
30
31
public
:
32
// prevent constructor by default
33
AllowListEntryMatcher();
34
35
public
:
36
// member functions
37
// NOLINTBEGIN
38
MCAPI AllowListEntryMatcher(::std::string name, ::std::string xuid);
39
// NOLINTEND
40
41
public
:
42
// constructor thunks
43
// NOLINTBEGIN
44
MCAPI
void
* $ctor(::std::string name, ::std::string xuid);
45
// NOLINTEND
46
};
47
48
public
:
49
// member variables
50
// NOLINTBEGIN
51
::ll::TypedStorage<8, 24, ::std::vector<::AllowListEntry>> mEntries;
52
::ll::TypedStorage<8, 64, ::std::function<void()>> mSyncCallback;
53
// NOLINTEND
54
55
public
:
56
// virtual functions
57
// NOLINTBEGIN
58
virtual
void
serialize(
::Json::Value
& root)
/*override*/
;
59
60
virtual
void
deserialize(
::Json::Value
& root)
/*override*/
;
61
62
#ifdef LL_PLAT_S
63
virtual
~AllowList
()
/*override*/
=
default
;
64
#else
// LL_PLAT_C
65
virtual
~AllowList
()
/*override*/
;
66
#endif
67
68
// NOLINTEND
69
70
public
:
71
// member functions
72
// NOLINTBEGIN
73
MCAPI
bool
isIgnoringPlayerLimit(
::mce::UUID
const
& uuid, ::std::string
const
& xuid)
const
;
74
75
MCAPI
void
tryUpdateEntries(
::mce::UUID
const
& uuid, ::std::string
const
& xuid, ::std::string
const
& name);
76
// NOLINTEND
77
78
public
:
79
// constructor thunks
80
// NOLINTBEGIN
81
MCAPI_C
void
* $ctor(::std::function<
void
()> syncCallback);
82
// NOLINTEND
83
84
public
:
85
// destructor thunk
86
// NOLINTBEGIN
87
MCAPI
void
$dtor
();
88
// NOLINTEND
89
90
public
:
91
// virtual function thunks
92
// NOLINTBEGIN
93
MCAPI
void
$serialize(
::Json::Value
& root);
94
95
MCAPI
void
$deserialize(
::Json::Value
& root);
96
97
98
// NOLINTEND
99
100
public
:
101
// vftables
102
// NOLINTBEGIN
103
MCNAPI
static
void
**
$vftable
();
104
// NOLINTEND
105
};
AllowListEntry
Definition
AllowListEntry.h:14
AllowList
Definition
AllowList.h:15
AllowList::$vftable
static MCAPI void ** $vftable()
IJsonSerializable
Definition
IJsonSerializable.h:10
IJsonSerializable::$dtor
MCAPI void $dtor()
Json::Value
Definition
Value.h:16
mce::UUID
Definition
UUID.h:7
AllowList::AllowListEntryMatcher
Definition
AllowList.h:23
src
mc
server
AllowList.h
Generated on
for LeviLamina by
1.16.1