LeviLamina
Loading...
Searching...
No Matches
InputEventQueue.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/input/InputEvent.h"
7#include "mc/deps/input/enums/ButtonState.h"
8#include "mc/deps/input/enums/DirectionId.h"
9#include "mc/deps/input/enums/FocusImpact.h"
10
11class InputEventQueue {
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<8, 40, ::std::queue<::InputEvent, ::std::deque<::InputEvent>>> mQueue;
16 // NOLINTEND
17
18public:
19 // member functions
20 // NOLINTBEGIN
21 MCAPI InputEventQueue();
22
23 MCAPI void enqueueButton(
24 uint id,
25 ::ButtonState state,
26 bool exclusive,
27 ::FocusImpact focusImpact,
28 int controllerId,
29 bool inputClearingEvent,
30 float repeatInterval,
31 int source
32 );
33
34 MCAPI void enqueueButtonPressAndRelease(uint buttonId, ::FocusImpact focusImpact, int controllerId);
35
36 MCAPI void enqueueClearPointerLocationWithId(int id);
37
38 MCAPI void enqueueClearPointerLocations();
39
40 MCAPI void enqueueDirection(
41 ::DirectionId directionId,
42 float x,
43 float y,
44 ::FocusImpact focusImpact,
45 int controllerId,
46 bool inputClearingEvent
47 );
48
49 MCAPI void enqueuePointerLocationWithId(int id, short x, short y, bool updateActionPointer);
50
51 MCAPI ~InputEventQueue();
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCFOLD void* $ctor();
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCAPI void $dtor();
64 // NOLINTEND
65};
Definition InputEventQueue.h:5