LeviLamina
Loading...
Searching...
No Matches
AllowListEntry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/UUID.h"
7#include "mc/server/IJsonSerializable.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Json { class Value; }
12// clang-format on
13
14class AllowListEntry : public ::IJsonSerializable {
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 32, ::std::string> mName;
19 ::ll::TypedStorage<8, 16, ::mce::UUID> mUuid;
20 ::ll::TypedStorage<8, 32, ::std::string> mXuid;
21 ::ll::TypedStorage<8, 32, ::std::string> mPsnId;
22 ::ll::TypedStorage<8, 32, ::std::string> mNsaId;
23 ::ll::TypedStorage<1, 1, bool> mIgnoresPlayerLimit;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 AllowListEntry& operator=(AllowListEntry const&);
29 AllowListEntry();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::Json::Value serialize() const /*override*/;
35
36 virtual void deserialize(::Json::Value const& root) /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCNAPI AllowListEntry(::AllowListEntry const&);
43
45 ::std::string name,
46 ::mce::UUID uuid,
47 ::std::string xuid,
48 ::std::string psnId,
49 ::std::string nsaId,
50 bool ignorePLayerLimit
51 );
52
53 MCNAPI ::AllowListEntry& operator=(::AllowListEntry&&);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCNAPI void* $ctor(::AllowListEntry const&);
60
61 MCNAPI void* $ctor(
62 ::std::string name,
63 ::mce::UUID uuid,
64 ::std::string xuid,
65 ::std::string psnId,
66 ::std::string nsaId,
67 bool ignorePLayerLimit
68 );
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCNAPI ::Json::Value $serialize() const;
75
76 MCNAPI void $deserialize(::Json::Value const& root);
77
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
MCAPI void * $ctor(::AllowListEntry const &)
MCAPI::AllowListEntry & operator=(::AllowListEntry &&)
MCAPI void * $ctor(::std::string name, ::mce::UUID uuid, ::std::string xuid, ::std::string psnId, ::std::string nsaId, bool ignorePLayerLimit)
MCAPI void $deserialize(::Json::Value const &root)
static MCAPI void ** $vftable()
MCAPI AllowListEntry(::std::string name, ::mce::UUID uuid, ::std::string xuid, ::std::string psnId, ::std::string nsaId, bool ignorePLayerLimit)
MCAPI AllowListEntry(::AllowListEntry const &)
MCAPI::Json::Value $serialize() const
Definition IJsonSerializable.h:10
Definition Value.h:16
Definition UUID.h:7