LeviLamina
Loading...
Searching...
No Matches
PermissionsHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/CommandPermissionLevel.h"
7#include "mc/server/commands/PlayerPermissionLevel.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<1, 1, ::CommandPermissionLevel> mCommandPermissions;
19 ::ll::TypedStorage<1, 1, ::PlayerPermissionLevel> mPlayerPermissions;
20 // NOLINTEND
21
22public:
23 // member functions
24 // NOLINTBEGIN
25 MCNAPI void addSaveData(::CompoundTag& tag) const;
26
27 MCNAPI bool loadSaveData(::CompoundTag const& tag);
28 // NOLINTEND
29
30public:
31 // static functions
32 // NOLINTBEGIN
33 MCNAPI static ::PlayerPermissionLevel playerPermissionLevelFromString(::std::string const& s);
34
35 MCNAPI static ::std::string playerPermissionLevelToString(::PlayerPermissionLevel const& permission);
36 // NOLINTEND
37
38public:
39 // static variables
40 // NOLINTBEGIN
41 MCNAPI static ::std::string const& DIFF_COMMAND_PERMISSION();
42
43 MCNAPI static ::std::string const& DIFF_PLAYER_PERMISSION();
44 // NOLINTEND
45};
Definition CompoundTag.h:13
Definition PermissionsHandler.h:14
static MCAPI ::PlayerPermissionLevel playerPermissionLevelFromString(::std::string const &s)
static MCAPI ::std::string const & DIFF_COMMAND_PERMISSION()
static MCAPI ::std::string const & DIFF_PLAYER_PERMISSION()
MCAPI void addSaveData(::CompoundTag &tag) const
static MCAPI ::std::string playerPermissionLevelToString(::PlayerPermissionLevel const &permission)
MCAPI bool loadSaveData(::CompoundTag const &tag)