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
26#ifdef LL_PLAT_S
27public:
28 // prevent constructor by default
29 AllowListEntry& operator=(AllowListEntry const&);
30 AllowListEntry(AllowListEntry const&);
31 AllowListEntry();
32
33#else // LL_PLAT_C
34public:
35 // prevent constructor by default
36 AllowListEntry();
37
38#endif
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ::Json::Value serialize() const /*override*/;
43
44 virtual void deserialize(::Json::Value const& root) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
51 ::std::string name,
52 ::mce::UUID uuid,
53 ::std::string xuid,
54 ::std::string psnId,
55 ::std::string nsaId,
56 bool ignorePLayerLimit
57 );
58
59#ifdef LL_PLAT_S
60 MCNAPI ::AllowListEntry& operator=(::AllowListEntry&&);
61#endif
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCNAPI void* $ctor(
68 ::std::string name,
69 ::mce::UUID uuid,
70 ::std::string xuid,
71 ::std::string psnId,
72 ::std::string nsaId,
73 bool ignorePLayerLimit
74 );
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80 MCNAPI ::Json::Value $serialize() const;
81
82 MCNAPI void $deserialize(::Json::Value const& root);
83
84
85 // NOLINTEND
86};
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)
MCAPI AllowListEntry(::std::string name, ::mce::UUID uuid, ::std::string xuid, ::std::string psnId, ::std::string nsaId, bool ignorePLayerLimit)
MCAPI::Json::Value $serialize() const
Definition IJsonSerializable.h:10
Definition Value.h:16
Definition UUID.h:7