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/ecs/WeakEntityRef.h"
7#include "mc/deps/scripting/binding_type/ClassBindingBuilder.h"
8#include "mc/deps/scripting/runtime/Result_deprecated.h"
9#include "mc/entity/enums/ClientInputLockCategory.h"
10
11// auto generated forward declare list
12// clang-format off
14namespace Scripting { struct ClassBinding; }
15// clang-format on
16
17namespace ScriptModuleMinecraft {
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mPlayer;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI ::Scripting::Result_deprecated<bool> _getPermissionCategoryV1(::ClientInputLockCategory category) const;
30
31 MCAPI ::Scripting::Result_deprecated<bool> _getPermissionCategoryV2(::ClientInputLockCategory category) const;
32
33 MCAPI ::Scripting::Result_deprecated<void>
34 _setPermissionCategoryV1(::ClientInputLockCategory category, bool isEnabled);
35
36 MCAPI ::Scripting::Result_deprecated<void>
37 _setPermissionCategoryV2(::ClientInputLockCategory category, bool isEnabled);
38
39 MCAPI ::ClientInputLockComponent* _tryGetClientInputLockComponent() const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void _makeCategoryPropertyBinding(
47 ::ClientInputLockCategory category
48 );
49
50 MCAPI static ::Scripting::ClassBinding bind();
51 // NOLINTEND
52};
53
54} // namespace ScriptModuleMinecraft
Definition ScriptPlayerInputPermissions.h:19
Definition ClassBindingBuilder.h:8
Definition ClientInputLockComponent.h:10
Definition ClassBinding.h:19