LeviLamina
Loading...
Searching...
No Matches
CompositeSceneStackView.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/GameEventNotification.h"
7#include "mc/client/gui/screens/ConstCompositeSceneStackView.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/platform/brstd/function_ref.h"
10
11// auto generated forward declare list
12// clang-format off
13class AbstractScene;
14class ISceneStack;
15// clang-format on
16
18public:
19 // CompositeSceneStackView inner types define
20 using VoidSceneVisitor = ::brstd::function_ref<void(::AbstractScene&)>;
21
22 using BoolSceneVisitor = ::brstd::function_ref<bool(::AbstractScene&)>;
23
24 using BoolConstSceneVisitor = ::brstd::function_ref<bool(::AbstractScene const&)>;
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack>> mMainStack;
30 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack>> mClientInstanceStack;
31 ::ll::TypedStorage<8, 48, ::ConstCompositeSceneStackView> mConstView;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 CompositeSceneStackView();
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI CompositeSceneStackView(
42 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& mainStack,
43 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& clientInstanceStack
44 );
45
46 MCAPI void forEachAlwaysAcceptInputScreen(
47 ::brstd::function_ref<void(::AbstractScene&)> callback,
48 ::AbstractScene const* ignoreScreen
49 );
50
51 MCAPI void forEachAlwaysAcceptInputScreenWithTop(::brstd::function_ref<void(::AbstractScene&)> callback);
52
53 MCAPI void forEachScreen(::brstd::function_ref<bool(::AbstractScene&)> callback, bool topDown);
54
55 MCAPI void forEachScreenConst(::brstd::function_ref<bool(::AbstractScene const&)> callback, bool topDown) const;
56
57 MCAPI void forEachVisibleScreen(
58 ::brstd::function_ref<void(::AbstractScene&)> callback,
59 bool tickedLastFrame,
60 bool splitscreenRenderBypassThisFrame
61 );
62
63 MCAPI ::AbstractScene* getActiveScene();
64
65 MCAPI bool hasScheduledScreens() const;
66
67 MCAPI void onGameEventNotification(::ui::GameEventNotification notification);
68
69 MCAPI bool update();
70
71 MCAPI ~CompositeSceneStackView();
72 // NOLINTEND
73
74public:
75 // constructor thunks
76 // NOLINTBEGIN
77 MCAPI void* $ctor(
78 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& mainStack,
79 ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> const& clientInstanceStack
80 );
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88};
Definition AbstractScene.h:5
Definition CompositeSceneStackView.h:5
Definition ISceneStack.h:5