LeviLamina
Loading...
Searching...
No Matches
ScreenController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/GameEventNotification.h"
8#include "mc/client/gui/SceneType.h"
9#include "mc/client/gui/ViewRequest.h"
10#include "mc/client/gui/screens/interfaces/IScreenController.h"
11#include "mc/deps/input/enums/ButtonState.h"
12#include "mc/platform/brstd/move_only_function.h"
13
14// auto generated forward declare list
15// clang-format off
16class BlockPos;
18class TaskResult;
19class UIPropertyBag;
20struct ActorUniqueID;
23struct ItemRendererData;
26struct ScreenEvent;
28struct StringHash;
32namespace Json { class Value; }
33namespace mce { class Color; }
34// clang-format on
35
37public:
38 // ScreenController inner types declare
39 // clang-format off
41 // clang-format on
42
43 // ScreenController inner types define
44 enum class PreviousButtonStateRequirement : int {
45 Any = 0,
46 Down = 1,
47 Up = 2,
48 NotDown = 3,
49 NotUp = 4,
50 };
51
52 enum class SliderChangeType : int {
53 AnyChange = 0,
54 NotFinalized = 1,
55 Finalized = 2,
56 };
57
59
60public:
61 // member variables
62 // NOLINTBEGIN
92 // NOLINTEND
93
94public:
95 // prevent constructor by default
96 ScreenController& operator=(ScreenController const&);
99
100public:
101 // virtual functions
102 // NOLINTBEGIN
103 // vIndex: 0
104 virtual ~ScreenController() /*override*/;
105
106 // vIndex: 2
107 virtual ::ui::DirtyFlag tick() /*override*/;
108
109 // vIndex: 1
110 virtual void preFrameTick() /*override*/;
111
112 // vIndex: 3
113 virtual ::ui::ViewRequest handleEvent(::ScreenEvent& screenEvent) /*override*/;
114
115 // vIndex: 4
116 virtual ::std::optional<::std::string> getRoute() const /*override*/;
117
118 // vIndex: 5
119 virtual void setScreenState(::std::vector<::std::pair<::std::string_view, ::std::string_view>> const&) /*override*/;
120
121 // vIndex: 6
122 virtual void onOpen();
123
124 // vIndex: 7
125 virtual void queueTitleNarration();
126
127 // vIndex: 8
128 virtual void onTerminate();
129
130 // vIndex: 9
131 virtual void onInit();
132
133 // vIndex: 10
134 virtual void onDelete();
135
136 // vIndex: 11
137 virtual bool canExit();
138
139 // vIndex: 12
140 virtual ::ui::ViewRequest tryExit();
141
142 // vIndex: 13
143 virtual void onCreation();
144
145 // vIndex: 14
146 virtual void onReload();
147
148 // vIndex: 15
149 virtual void onLeave();
150
151 // vIndex: 16
152 virtual void leaveScreen(::std::string const&);
153
154 // vIndex: 17
155 virtual ::ui::DirtyFlag handleGameEventNotification(::ui::GameEventNotification notification);
156
157 // vIndex: 19
158 virtual bool bind(
159 ::std::string const& collectionName,
160 uint collectionNameHash,
161 int collectionIndex,
162 ::std::string const& bindingName,
163 uint bindingNameHash,
164 ::std::string const& bindingNameOverride,
165 ::UIPropertyBag& bag
166 );
167
168 // vIndex: 18
169 virtual bool bind(
170 ::std::string const& bindingName,
171 uint bindingNameHash,
172 ::std::string const& bindingNameOverride,
173 ::UIPropertyBag& bag
174 );
175
176 // vIndex: 20
177 virtual void handleLicenseChanged();
178
179 // vIndex: 21
180 virtual void setAssociatedBlockPos(::BlockPos const& pos);
181
182 // vIndex: 22
183 virtual void setAssociatedEntityUniqueID(::ActorUniqueID const unqiueID);
184
185 // vIndex: 23
186 virtual void setSuspendInput(bool);
187
188 // vIndex: 24
189 virtual void setSuspendDirectionalInput(bool);
190
191 // vIndex: 25
192 virtual void setViewCommand(::ScreenViewCommand const& callback);
193
194 // vIndex: 26
195 virtual void addStaticScreenVars(::Json::Value& globalVars);
196
197 // vIndex: 27
198 virtual ::std::string getAdditionalScreenInfo() const;
199
200 // vIndex: 28
201 virtual ::std::string getTelemetryOverride() const;
202
203 // vIndex: 29
204 virtual void addEventProperties(::std::unordered_map<::std::string, ::std::string>&) const;
205
206 // vIndex: 30
207 virtual ::ui::SceneType getSceneType() const;
208
209 // vIndex: 31
210 virtual int getScreenVersion() const;
211
212 // vIndex: 32
213 virtual uint getSceneId() const;
214
215 // vIndex: 33
216 virtual ::ScreenControllerProxy* getProxy();
217
218 // vIndex: 34
219 virtual void onEntered();
220
221 // vIndex: 35
222 virtual void onScreenPushedAbove();
223
224 // vIndex: 36
225 virtual void onEntering();
226
227 // vIndex: 37
228 virtual bool _doesScreenHaveExitBehavior() const;
229
230 // vIndex: 38
231 virtual bool _isContainerScreen() const;
232 // NOLINTEND
233
234public:
235 // member functions
236 // NOLINTBEGIN
237 MCNAPI explicit ScreenController(bool useTaskGroup);
238
239 MCNAPI uint _getNameId(::std::string const& name) const;
240
241 MCNAPI ::ui::ViewRequest _handleButtonEvent(::ScreenEvent& screenEvent);
242
243 MCNAPI ::ui::ViewRequest _handleEvent(::ScreenEvent& screenEvent);
244
245 MCNAPI void _registerSubController(::std::shared_ptr<::ScreenController> controller);
246
247 MCNAPI void bindBool(
248 ::StringHash const& bindingName,
249 ::brstd::move_only_function<bool() const> callback,
250 ::brstd::move_only_function<bool() const> condition
251 );
252
254 ::StringHash const& bindingName,
255 ::brstd::move_only_function<bool(::std::string const&, int) const> callback,
256 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
257 );
258
260 ::StringHash const& collectionName,
261 ::StringHash const& bindingName,
262 ::brstd::move_only_function<bool(int) const> callback,
263 ::brstd::move_only_function<bool(int) const> condition
264 );
265
266 MCNAPI void bindColor(
267 ::StringHash const& bindingName,
268 ::brstd::move_only_function<::mce::Color() const> callback,
269 ::brstd::move_only_function<bool() const> condition
270 );
271
273 ::StringHash const& collectionName,
274 ::StringHash const& bindingName,
275 ::brstd::move_only_function<::mce::Color(int) const> callback,
276 ::brstd::move_only_function<bool(int) const> condition
277 );
278
280 ::StringHash const& bindingName,
281 ::brstd::move_only_function<::mce::Color(::UIPropertyBag&) const> callback,
282 ::brstd::move_only_function<bool() const> condition
283 );
284
286 ::StringHash const& bindingName,
287 ::brstd::move_only_function<double(::std::string const&, int) const> callback,
288 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
289 );
290
291 MCNAPI void bindFloat(
292 ::StringHash const& bindingName,
293 ::brstd::move_only_function<float() const> callback,
294 ::brstd::move_only_function<bool() const> condition
295 );
296
298 ::StringHash const& bindingName,
299 ::brstd::move_only_function<float(::std::string const&, int) const> callback,
300 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
301 );
302
304 ::StringHash const& collectionName,
305 ::StringHash const& bindingName,
306 ::brstd::move_only_function<float(int) const> callback,
307 ::brstd::move_only_function<bool(int) const> condition
308 );
309
311 ::StringHash const& bindingName,
312 ::brstd::move_only_function<void(int, ::std::string const&, ::UIPropertyBag&) const> callback,
313 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
314 );
315
317 ::StringHash const& bindingName,
318 ::brstd::move_only_function<void(::std::string const&, int, ::std::string const&, ::UIPropertyBag&) const>
319 callback,
320 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
321 );
322
323 MCNAPI void bindForCollection(
324 ::StringHash const& collectionName,
325 ::StringHash const& bindingName,
326 ::brstd::move_only_function<void(int, ::std::string const&, ::UIPropertyBag&) const> func
327 );
328
329 MCNAPI void bindForGlobal(
330 ::StringHash const& bindingName,
331 ::brstd::move_only_function<void(::std::string const&, ::UIPropertyBag&) const> func
332 );
333
335 ::StringHash const& bindingName,
336 ::brstd::move_only_function<void(::std::string const&, ::UIPropertyBag&) const> callback,
337 ::brstd::move_only_function<bool() const> condition
338 );
339
340 MCNAPI void bindGridSize(
341 ::StringHash const& bindingName,
342 ::brstd::move_only_function<::glm::ivec2() const> callback,
343 ::brstd::move_only_function<bool() const> condition
344 );
345
346 MCNAPI void bindInt(
347 ::StringHash const& bindingName,
348 ::brstd::move_only_function<int() const> callback,
349 ::brstd::move_only_function<bool() const> condition
350 );
351
353 ::StringHash const& bindingName,
354 ::brstd::move_only_function<int(::std::string const&, int) const> callback,
355 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
356 );
357
359 ::StringHash const& collectionName,
360 ::StringHash const& bindingName,
361 ::brstd::move_only_function<int(int) const> callback,
362 ::brstd::move_only_function<bool(int) const> condition
363 );
364
366 ::StringHash const& bindingName,
367 ::brstd::move_only_function<::ItemRendererData(::std::string const&, int) const> callback,
368 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
369 );
370
371 MCNAPI void bindString(
372 ::StringHash const& bindingName,
373 ::brstd::move_only_function<::std::string() const> callback,
374 ::brstd::move_only_function<bool() const> condition
375 );
376
378 ::StringHash const& bindingName,
379 ::brstd::move_only_function<::std::string(::std::string const&, int) const> callback,
380 ::brstd::move_only_function<bool(::std::string const&, int) const> condition
381 );
382
384 ::StringHash const& collectionName,
385 ::StringHash const& bindingName,
386 ::brstd::move_only_function<::std::string(int) const> callback,
387 ::brstd::move_only_function<bool(int) const> condition
388 );
389
390 MCNAPI bool hasFinishedAsyncTasks() const;
391
392 MCNAPI void queueAsyncTask(::brstd::move_only_function<::TaskResult()>&& task, ::std::function<void()>&& callback);
393
394 MCNAPI void
395 registerAnimationEventHandler(uint eventId, ::brstd::move_only_function<::ui::ViewRequest() const> callback);
396
398 uint buttonId,
399 ::ButtonState currentState,
400 ::ButtonState previousState,
401 ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const> callback
402 );
403
405 uint buttonId,
406 ::ButtonState currentState,
407 ::ScreenController::PreviousButtonStateRequirement previousStateRequirement,
408 ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const> callback
409 );
410
412 uint buttonId,
413 ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const> callback
414 );
415
417 uint buttonId,
418 ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const> callback
419 );
420
422 uint buttonId,
423 ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const> callback
424 );
425
427 uint eventId,
428 ::brstd::move_only_function<::ui::ViewRequest(bool, ::UIPropertyBag&) const> callback
429 );
430
432 ::StringHash const& collectionName,
433 ::brstd::move_only_function<::ui::ViewRequest(int, int, ::UIPropertyBag&) const> callback
434 );
435
436 MCNAPI void
437 registerCustomRendererEventHandler(uint eventId, ::brstd::move_only_function<::ui::ViewRequest() const> callback);
438
440 ::brstd::move_only_function<::ui::ViewRequest(::FocusMoveScreenEventData&) const> callback
441 );
442
444 ::brstd::move_only_function<::ui::ViewRequest(::InputModeChangeScreenEventData&) const> callback
445 );
446
448 ::brstd::move_only_function<::ui::ViewRequest(::PointerHeldScreenEventData&) const> callback
449 );
450
452 uint buttonId,
453 ::brstd::move_only_function<::ui::ViewRequest(int, float) const> callback
454 );
455
457 uint buttonId,
458 ::brstd::move_only_function<::ui::ViewRequest(int, float) const> callback
459 );
460
462 uint buttonId,
463 ::brstd::move_only_function<::ui::ViewRequest(int, float) const> callback
464 );
465
467 uint buttonId,
468 ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData&, int) const> callback
469 );
470
472 uint buttonId,
473 ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData&, int) const> callback
474 );
475
477 uint buttonId,
478 ::brstd::move_only_function<::ui::ViewRequest(::TextEditSelectedStateChangeEventData&) const> callback
479 );
480
482 ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData&, int) const> callback
483 );
484
486 uint buttonId,
487 ::brstd::move_only_function<::ui::ViewRequest(::ToggleChangeEventData&) const> callback
488 );
489 // NOLINTEND
490
491public:
492 // constructor thunks
493 // NOLINTBEGIN
494 MCNAPI void* $ctor(bool useTaskGroup);
495 // NOLINTEND
496
497public:
498 // destructor thunk
499 // NOLINTBEGIN
500 MCNAPI void $dtor();
501 // NOLINTEND
502
503public:
504 // virtual function thunks
505 // NOLINTBEGIN
506 MCNAPI ::ui::DirtyFlag $tick();
507
508 MCNAPI void $preFrameTick();
509
510 MCNAPI ::ui::ViewRequest $handleEvent(::ScreenEvent& screenEvent);
511
512 MCNAPI ::std::optional<::std::string> $getRoute() const;
513
514 MCNAPI void $setScreenState(::std::vector<::std::pair<::std::string_view, ::std::string_view>> const&);
515
516 MCNAPI void $onOpen();
517
518 MCNAPI void $queueTitleNarration();
519
520 MCNAPI void $onTerminate();
521
522 MCNAPI void $onInit();
523
524 MCNAPI void $onDelete();
525
526 MCNAPI bool $canExit();
527
528 MCNAPI ::ui::ViewRequest $tryExit();
529
530 MCNAPI void $onCreation();
531
532 MCNAPI void $onReload();
533
534 MCNAPI void $onLeave();
535
536 MCNAPI void $leaveScreen(::std::string const&);
537
538 MCNAPI ::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification);
539
540 MCNAPI bool $bind(
541 ::std::string const& collectionName,
542 uint collectionNameHash,
543 int collectionIndex,
544 ::std::string const& bindingName,
545 uint bindingNameHash,
546 ::std::string const& bindingNameOverride,
547 ::UIPropertyBag& bag
548 );
549
550 MCNAPI bool $bind(
551 ::std::string const& bindingName,
552 uint bindingNameHash,
553 ::std::string const& bindingNameOverride,
554 ::UIPropertyBag& bag
555 );
556
558
559 MCNAPI void $setAssociatedBlockPos(::BlockPos const& pos);
560
561 MCNAPI void $setAssociatedEntityUniqueID(::ActorUniqueID const unqiueID);
562
563 MCNAPI void $setSuspendInput(bool);
564
566
567 MCNAPI void $setViewCommand(::ScreenViewCommand const& callback);
568
569 MCNAPI void $addStaticScreenVars(::Json::Value& globalVars);
570
571 MCNAPI ::std::string $getAdditionalScreenInfo() const;
572
573 MCNAPI ::std::string $getTelemetryOverride() const;
574
575 MCNAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string>&) const;
576
577 MCNAPI ::ui::SceneType $getSceneType() const;
578
579 MCNAPI int $getScreenVersion() const;
580
581 MCNAPI uint $getSceneId() const;
582
584
585 MCNAPI void $onEntered();
586
587 MCNAPI void $onScreenPushedAbove();
588
589 MCNAPI void $onEntering();
590
591 MCNAPI bool $_doesScreenHaveExitBehavior() const;
592
593 MCNAPI bool $_isContainerScreen() const;
594 // NOLINTEND
595
596public:
597 // vftables
598 // NOLINTBEGIN
599 MCNAPI static void** $vftable();
600 // NOLINTEND
601};
Definition BlockPos.h:14
Definition ScreenControllerProxy.h:10
Definition ScreenController.h:36
MCAPI::std::string $getAdditionalScreenInfo() const
MCAPI void $setAssociatedEntityUniqueID(::ActorUniqueID const unqiueID)
MCAPI void registerPointerHeldEventHandler(::brstd::move_only_function<::ui::ViewRequest(::PointerHeldScreenEventData &) const > callback)
MCAPI void bindIntForAnyCollection(::StringHash const &bindingName, ::brstd::move_only_function< int(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void $onDelete()
MCAPI bool $canExit()
MCAPI void _registerSubController(::std::shared_ptr<::ScreenController > controller)
MCAPI void $addStaticScreenVars(::Json::Value &globalVars)
MCAPI void bindForGlobalGridSize(::StringHash const &bindingName, ::brstd::move_only_function< void(::std::string const &, ::UIPropertyBag &) const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindForCollection(::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< void(int, ::std::string const &, ::UIPropertyBag &) const > func)
MCAPI void bindColorForCollection(::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function<::mce::Color(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void * $ctor(bool useTaskGroup)
MCAPI::ui::DirtyFlag $tick()
MCAPI void $dtor()
MCAPI::ScreenControllerProxy * $getProxy()
MCAPI void registerClippedCollectionEventHandler(::StringHash const &collectionName, ::brstd::move_only_function<::ui::ViewRequest(int, int, ::UIPropertyBag &) const > callback)
MCAPI void bindForAnyCollection(::StringHash const &bindingName, ::brstd::move_only_function< void(int, ::std::string const &, ::UIPropertyBag &) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void $onScreenPushedAbove()
MCAPI void registerButtonInteractedHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI::ui::SceneType $getSceneType() const
static MCAPI void ** $vftable()
MCAPI void bindInt(::StringHash const &bindingName, ::brstd::move_only_function< int() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindFloatForAnyCollection(::StringHash const &bindingName, ::brstd::move_only_function< float(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void $setAssociatedBlockPos(::BlockPos const &pos)
MCAPI void bindBoolForAnyCollection(::StringHash const &bindingName, ::brstd::move_only_function< bool(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void registerInputModechangedEventHandler(::brstd::move_only_function<::ui::ViewRequest(::InputModeChangeScreenEventData &) const > callback)
MCAPI int $getScreenVersion() const
MCAPI void registerFocusMovedEventHandler(::brstd::move_only_function<::ui::ViewRequest(::FocusMoveScreenEventData &) const > callback)
MCAPI void $onEntered()
MCAPI void $onLeave()
MCAPI bool $bind(::std::string const &collectionName, uint collectionNameHash, int collectionIndex, ::std::string const &bindingName, uint bindingNameHash, ::std::string const &bindingNameOverride, ::UIPropertyBag &bag)
MCAPI void bindGridSize(::StringHash const &bindingName, ::brstd::move_only_function<::glm::ivec2() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void $setScreenState(::std::vector<::std::pair<::std::string_view, ::std::string_view > > const &)
MCAPI ::std::optional<::std::string > $getRoute() const
MCAPI void registerSliderNotFinishedEventHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(int, float) const > callback)
MCAPI void $setSuspendInput(bool)
MCAPI void registerTextEditSelectedStateChangeEventHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::TextEditSelectedStateChangeEventData &) const > callback)
MCAPI::ui::ViewRequest _handleEvent(::ScreenEvent &screenEvent)
MCAPI void $onReload()
MCAPI void bindStringForAnyCollection(::StringHash const &bindingName, ::brstd::move_only_function<::std::string(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI uint $getSceneId() const
MCAPI void $addEventProperties(::std::unordered_map<::std::string, ::std::string > &) const
MCAPI bool $_isContainerScreen() const
MCAPI void registerClipStateChangeEventHandler(uint eventId, ::brstd::move_only_function<::ui::ViewRequest(bool, ::UIPropertyBag &) const > callback)
MCAPI void bindItemDataForAnyCollection(::StringHash const &bindingName, ::brstd::move_only_function<::ItemRendererData(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindIntForCollection(::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< int(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI::ui::ViewRequest $handleEvent(::ScreenEvent &screenEvent)
MCAPI void bindBool(::StringHash const &bindingName, ::brstd::move_only_function< bool() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void $queueTitleNarration()
MCAPI void registerCustomRendererEventHandler(uint eventId, ::brstd::move_only_function<::ui::ViewRequest() const > callback)
MCAPI void $leaveScreen(::std::string const &)
MCAPI void registerToggleChangeEventHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::ToggleChangeEventData &) const > callback)
MCAPI void $preFrameTick()
MCAPI void queueAsyncTask(::brstd::move_only_function<::TaskResult()> &&task, ::std::function< void()> &&callback)
MCAPI void registerSliderFinishedEventHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(int, float) const > callback)
MCAPI::ui::DirtyFlag $handleGameEventNotification(::ui::GameEventNotification notification)
MCAPI void bindFloat(::StringHash const &bindingName, ::brstd::move_only_function< float() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindForGlobal(::StringHash const &bindingName, ::brstd::move_only_function< void(::std::string const &, ::UIPropertyBag &) const > func)
MCAPI void $onEntering()
MCAPI void registerTextEventHandler(::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData &, int) const > callback)
MCAPI void $setSuspendDirectionalInput(bool)
MCAPI bool hasFinishedAsyncTasks() const
MCAPI void bindStringForCollection(::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function<::std::string(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void bindDoubleForAnyCollection(::StringHash const &bindingName, ::brstd::move_only_function< double(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI::std::string $getTelemetryOverride() const
MCAPI void registerSliderChangedEventHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(int, float) const > callback)
MCAPI void bindFloatForCollection(::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< float(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void bindColor(::StringHash const &bindingName, ::brstd::move_only_function<::mce::Color() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void registerButtonReleasedHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void $onTerminate()
MCAPI void registerButtonPressedHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void bindBoolForCollection(::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< bool(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void registerTextEditChangedEventHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData &, int) const > callback)
MCAPI void registerTextEditFinishedEventHandler(uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData &, int) const > callback)
MCAPI void bindColorWithPropertyBag(::StringHash const &bindingName, ::brstd::move_only_function<::mce::Color(::UIPropertyBag &) const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void $setViewCommand(::ScreenViewCommand const &callback)
MCAPI void $handleLicenseChanged()
MCAPI bool $_doesScreenHaveExitBehavior() const
MCAPI void $onCreation()
MCAPI void registerButtonEventHandler(uint buttonId, ::ButtonState currentState, ::ButtonState previousState, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void bindString(::StringHash const &bindingName, ::brstd::move_only_function<::std::string() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI uint _getNameId(::std::string const &name) const
MCAPI::ui::ViewRequest $tryExit()
MCAPI void $onOpen()
MCAPI void $onInit()
MCAPI void registerAnimationEventHandler(uint eventId, ::brstd::move_only_function<::ui::ViewRequest() const > callback)
MCAPI::ui::ViewRequest _handleButtonEvent(::ScreenEvent &screenEvent)
Definition TaskResult.h:5
Definition UIPropertyBag.h:15
STL namespace.
Definition ActorUniqueID.h:5
Definition FocusMoveScreenEventData.h:5
Definition IScreenController.h:5
Definition InputModeChangeScreenEventData.h:5
Definition ItemRendererData.h:5
Definition PointerHeldScreenEventData.h:5
Definition RawInputScreenEventData.h:5
Definition ScreenController.h:58
Definition ScreenEvent.h:5
Definition ScreenViewCommand.h:5
Definition StringHash.h:5
Definition TextEditScreenEventData.h:5
Definition TextEditSelectedStateChangeEventData.h:5
Definition ToggleChangeEventData.h:5
Definition _HeaderOutputPredefine.h:273