23 struct AllowListEntryMatcher {
27 ::ll::TypedStorage<8, 32, ::std::string> mName;
28 ::ll::TypedStorage<8, 32, ::std::string> mXuid;
29 ::ll::TypedStorage<8, 16, ::mce::UUID> mUuid;
34 AllowListEntryMatcher();
39 MCAPI AllowListEntryMatcher(::std::string name, ::std::string xuid,
::mce::UUID const& uuid);
49 MCAPI
void* $ctor(::std::string name, ::std::string xuid,
::mce::UUID const& uuid);
56 ::ll::TypedStorage<8, 24, ::std::vector<::AllowListEntry>> mEntries;
57 ::ll::TypedStorage<8, 64, ::std::function<void()>> mSyncCallback;
70 virtual ::Json::Value serialize() const ;
72 virtual
void deserialize(::Json::Value const& root) ;
75 virtual ~AllowList() =
default;
77 virtual ~AllowList() ;
86 MCAPI
explicit AllowList(::std::function<
void()> syncCallback);
90 MCAPI
bool addByName(::std::string
const& name);
93 MCAPI
bool isIgnoringPlayerLimit(
::mce::UUID const& uuid, ::std::string
const& xuid)
const;
96 MCAPI
bool removeByName(::std::string
const& name);
99 MCAPI
void tryUpdateEntries(
::mce::UUID const& uuid, ::std::string
const& xuid, ::std::string
const& name);
106 MCAPI
void* $ctor(::std::function<
void()> syncCallback);
119 MCAPI ::Json::Value $serialize()
const;
Definition AllowListEntry.h:14
Definition AllowList.h:23