LeviLamina
Loading...
Searching...
No Matches
TouchTurnInteractControl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/input/TouchControl.h"
7#include "mc/deps/input/TouchTurnControlState.h"
8#include "mc/deps/input/TouchTurnState.h"
9
10// auto generated forward declare list
11// clang-format off
12class InputEventQueue;
13class RectangleArea;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 64, ::std::function<bool()>> mCondition;
22 ::ll::TypedStorage<8, 64, ::std::function<::std::vector<::RectangleArea>()>> mGetInactiveAreasCallback;
23 ::ll::TypedStorage<4, 4, uint const> mTurnInteractButtonId;
24 ::ll::TypedStorage<4, 4, uint const> mTapButtonId;
25 ::ll::TypedStorage<4, 4, uint const> mHoldButtonId;
26 ::ll::TypedStorage<4, 4, float> mHoldSensitivity;
27 ::ll::TypedStorage<1, 1, bool> mPersistData;
28 ::ll::TypedStorage<8, 32, ::TouchTurnControlState> mState;
29 ::ll::TypedStorage<8, 64, ::std::function<::RectangleArea()>> mHotbarArea;
30 ::ll::TypedStorage<8, 16, ::std::set<int>> mPreviousActivePointers;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual ~TouchTurnInteractControl() /*override*/;
41
42 virtual void
43 tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults, int yAxisInversionFactor) /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
50 ::std::function<::RectangleArea()> area,
51 ::std::function<::RectangleArea()> hotbarArea,
52 uint turnInteractButtonId,
53 uint tapButtonId,
54 uint holdButtonId,
55 float holdSensitivity,
56 ::std::function<bool()> condition,
57 ::std::function<::std::vector<::RectangleArea>()> inactiveAreas
58 );
59
60 MCAPI void incrementMoveDelta(::InputEventQueue& eventQueue, float x, float y, int yAxisInversionFactor);
61
62 MCAPI void switchState(::InputEventQueue& eventQueue, ::TouchTurnState newState);
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(
69 ::std::function<::RectangleArea()> area,
70 ::std::function<::RectangleArea()> hotbarArea,
71 uint turnInteractButtonId,
72 uint tapButtonId,
73 uint holdButtonId,
74 float holdSensitivity,
75 ::std::function<bool()> condition,
76 ::std::function<::std::vector<::RectangleArea>()> inactiveAreas
77 );
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCAPI void $dtor();
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI void $tick(::InputEventQueue& eventQueue, ::TouchPointResults& touchPointResults, int yAxisInversionFactor);
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
Definition InputEventQueue.h:5
Definition TouchControl.h:5
Definition TouchPointResults.h:5
Definition TouchTurnInteractControl.h:5
static MCAPI void ** $vftable()