LeviLamina
Loading...
Searching...
No Matches
RemappingLayoutRawIndex.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Publisher.h"
7
8// auto generated forward declare list
9// clang-format off
10class Keymapping;
11namespace Bedrock::PubSub::ThreadModel { struct SingleThreaded; }
12// clang-format on
13
15public:
16 // RemappingLayoutRawIndex inner types define
17 using RefreshKeymappingPublisher =
18 ::Bedrock::PubSub::Publisher<void(::std::optional<uint64>), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>;
19
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 8, ::std::vector<::Keymapping>&> mKeymappings;
24 ::ll::TypedStorage<8, 8, ::std::vector<::Keymapping>&> mDefaultMappings;
25 ::ll::TypedStorage<
26 8,
27 16,
28 ::std::shared_ptr<
29 ::Bedrock::PubSub::
30 Publisher<void(::std::optional<uint64>), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0>>>
31 mRefreshKeymappingsPublisher;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 RemappingLayoutRawIndex& operator=(RemappingLayoutRawIndex const&);
37 RemappingLayoutRawIndex(RemappingLayoutRawIndex const&);
38 RemappingLayoutRawIndex();
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI void defaultKeyAtIndex(uint64 index);
44
45 MCAPI bool isKeymappingDefault(uint64 index) const;
46
47 MCAPI void unassignDuplicateKeys(uint64 index);
48
49 MCAPI void unassignKeyAtIndex(uint64 index);
50 // NOLINTEND
51};
Definition Keymapping.h:5
Definition RemappingLayoutRawIndex.h:5