16class PermissionsHandler {
19 using PermissionsPublisher =
22 using PermissionsPublisherRefWrapper = ::std::reference_wrapper<
28 ::ll::TypedStorage<1, 1, ::CommandPermissionLevel> mCommandPermissions;
29 ::ll::TypedStorage<1, 1, ::PlayerPermissionLevel> mPlayerPermissions;
34 mClientPlayerPermissionsPublisher;
39 PermissionsHandler(PermissionsHandler
const&);
44 MCAPI PermissionsHandler();
50 MCAPI ::PermissionsHandler& operator=(::PermissionsHandler
const&);
52 MCAPI ~PermissionsHandler();
59 MCAPI static ::std::optional<::std::string>
60 getDiff(::PermissionsHandler
const& lhs, ::PermissionsHandler
const& rhs);
63 MCAPI static ::PlayerPermissionLevel playerPermissionLevelFromString(::std::string
const& s);
65 MCAPI static ::std::string playerPermissionLevelToString(::PlayerPermissionLevel
const& permission);
71 MCAPI static ::std::string
const& DIFF_COMMAND_PERMISSION();
73 MCAPI static ::std::string
const& DIFF_PLAYER_PERMISSION();