LeviLamina
Loading...
Searching...
No Matches
AppPlatformListener.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/LowMemorySeverity.h"
7#include "mc/deps/core/platform/OperationMode.h"
8#include "mc/deps/core/utility/pub_sub/Subscription.h"
9
10// auto generated forward declare list
11// clang-format off
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mLowMemorySubscription;
20 ::ll::TypedStorage<1, 1, bool> mListenerRegistered;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 0
27 virtual ~AppPlatformListener();
28
29 // vIndex: 1
30 virtual void onAppPaused();
31
32 // vIndex: 2
33 virtual void onAppUnpaused();
34
35 // vIndex: 3
36 virtual void onAppPreSuspended();
37
38 // vIndex: 4
39 virtual void onAppSuspended();
40
41 // vIndex: 5
42 virtual void onAppResumed();
43
44 // vIndex: 6
45 virtual void onAppFocusLost();
46
47 // vIndex: 7
48 virtual void onAppFocusGained();
49
50 // vIndex: 8
51 virtual void onAppTerminated();
52
53 // vIndex: 9
54 virtual void onOperationModeChanged(::OperationMode const);
55
56 // vIndex: 10
57 virtual void onPerformanceModeChanged(bool const boost);
58
59 // vIndex: 11
60 virtual void onPushNotificationReceived(::PushNotificationMessage const& msg);
61
62 // vIndex: 12
63 virtual void onResizeBegin();
64
65 // vIndex: 13
66 virtual void onResizeEnd();
67
68 // vIndex: 14
69 virtual void onDeviceLost();
70
71 // vIndex: 15
72 virtual void onAppSurfaceCreated();
73
74 // vIndex: 16
75 virtual void onAppSurfaceDestroyed();
76
77 // vIndex: 17
78 virtual void onClipboardCopy(::std::string const&);
79
80 // vIndex: 18
81 virtual void onClipboardPaste(::std::string const&);
82
83 // vIndex: 19
84 virtual void onLowMemory(::LowMemorySeverity);
85 // NOLINTEND
86
87public:
88 // member functions
89 // NOLINTBEGIN
90 MCNAPI void initListener(float priority);
91 // NOLINTEND
92
93public:
94 // destructor thunk
95 // NOLINTBEGIN
96 MCNAPI void $dtor();
97 // NOLINTEND
98
99public:
100 // virtual function thunks
101 // NOLINTBEGIN
102 MCNAPI void $onAppPaused();
103
104 MCNAPI void $onAppUnpaused();
105
106 MCNAPI void $onAppPreSuspended();
107
108 MCNAPI void $onAppSuspended();
109
110 MCNAPI void $onAppResumed();
111
112 MCNAPI void $onAppFocusLost();
113
114 MCNAPI void $onAppFocusGained();
115
116 MCNAPI void $onAppTerminated();
117
118 MCNAPI void $onPerformanceModeChanged(bool const boost);
119
121
122 MCNAPI void $onResizeBegin();
123
124 MCNAPI void $onResizeEnd();
125
126 MCNAPI void $onDeviceLost();
127
128 MCNAPI void $onAppSurfaceCreated();
129
131
132 MCNAPI void $onClipboardCopy(::std::string const&);
133
134 MCNAPI void $onClipboardPaste(::std::string const&);
135
136 MCNAPI void $onLowMemory(::LowMemorySeverity);
137 // NOLINTEND
138
139public:
140 // vftables
141 // NOLINTBEGIN
142 MCNAPI static void** $vftable();
143 // NOLINTEND
144};
Definition AppPlatformListener.h:15
MCAPI void $onPushNotificationReceived(::PushNotificationMessage const &msg)
MCAPI void $onPerformanceModeChanged(bool const boost)
MCAPI void $onAppTerminated()
MCAPI void $onAppFocusLost()
MCAPI void $onClipboardCopy(::std::string const &)
MCAPI void $onClipboardPaste(::std::string const &)
MCAPI void $onAppFocusGained()
MCAPI void $onAppSurfaceDestroyed()
MCAPI void $onResizeBegin()
MCAPI void $onAppSuspended()
MCAPI void initListener(float priority)
MCAPI void $onResizeEnd()
MCAPI void $onAppResumed()
MCAPI void $onAppPreSuspended()
MCAPI void $onAppPaused()
static MCAPI void ** $vftable()
MCAPI void $dtor()
MCAPI void $onDeviceLost()
MCAPI void $onAppUnpaused()
MCAPI void $onLowMemory(::LowMemorySeverity)
MCAPI void $onAppSurfaceCreated()
Definition PushNotificationMessage.h:5