LeviLamina
Loading...
Searching...
No Matches
ScriptPlayerInputPermissions.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/runtime/Result_deprecated.h"
7#include "mc/entity/enums/ClientInputLockCategory.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace Scripting { struct ClassBinding; }
12// clang-format on
13
14namespace ScriptModuleMinecraft {
15
17public:
18 // member variables
19 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI ::Scripting::Result_deprecated<bool> _getPermissionCategoryV1(::ClientInputLockCategory category) const;
33
34 MCNAPI ::Scripting::Result_deprecated<bool> _getPermissionCategoryV2(::ClientInputLockCategory category) const;
35
36 MCNAPI ::Scripting::Result_deprecated<void>
37 _setPermissionCategoryV1(::ClientInputLockCategory category, bool isEnabled);
38
39 MCNAPI ::Scripting::Result_deprecated<void>
40 _setPermissionCategoryV2(::ClientInputLockCategory category, bool isEnabled);
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCNAPI static ::Scripting::ClassBinding bind();
47 // NOLINTEND
48};
49
50} // namespace ScriptModuleMinecraft
Definition ScriptPlayerInputPermissions.h:16
static MCAPI ::Scripting::ClassBinding bind()
MCAPI ::Scripting::Result_deprecated< void > _setPermissionCategoryV2(::ClientInputLockCategory category, bool isEnabled)
MCAPI ::Scripting::Result_deprecated< void > _setPermissionCategoryV1(::ClientInputLockCategory category, bool isEnabled)
MCAPI ::Scripting::Result_deprecated< bool > _getPermissionCategoryV2(::ClientInputLockCategory category) const
MCAPI ::Scripting::Result_deprecated< bool > _getPermissionCategoryV1(::ClientInputLockCategory category) const
Definition Alias.h:14