LeviLamina
Loading...
Searching...
No Matches
ScriptPackPermissions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandPermissionLevel.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace Json { class Value; }
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::unordered_map<::std::string, ::Json::Value>>>
18 mModulePermissions;
19 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mAllowedModules;
20 ::ll::TypedStorage<1, 2, ::std::optional<::CommandPermissionLevel>> mCommandsPermissionLevel;
21 // NOLINTEND
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCNAPI bool isModuleAllowed(::std::string const& moduleName) const;
27
28#ifdef LL_PLAT_C
29 MCNAPI void setAllModulesAllowed();
30#endif
31
33 // NOLINTEND
34
35public:
36 // static variables
37 // NOLINTBEGIN
38 MCNAPI static ::std::string const& sWildCardModuleName();
39 // NOLINTEND
40
41public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCNAPI void $dtor();
45 // NOLINTEND
46};
Definition Value.h:16
Definition ScriptPackPermissions.h:13
static MCAPI ::std::string const & sWildCardModuleName()
MCAPI bool isModuleAllowed(::std::string const &moduleName) const
MCAPI ~ScriptPackPermissions()