Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
VanillaSceneFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/SceneFactory.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/platform/brstd/move_only_function.h"
9
10// auto generated forward declare list
11// clang-format off
12class AbstractScene;
13class BaseScreen;
14class IClientInstance;
16class IMinecraftGame;
19namespace Json { class Value; }
20namespace OreUI { class SceneProvider; }
21namespace SceneCreationUtils { class ScreenCreator; }
22// clang-format on
23
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<
29 8,
30 64,
31 ::brstd::move_only_function<::std::shared_ptr<::BaseScreen>(::SceneCreationUtils::ScreenCreator&)>>
32 mDevConsoleScreenFactory;
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 VanillaSceneFactory();
38
39public:
40 // virtual functions
41 // NOLINTBEGIN
42 virtual ~VanillaSceneFactory() /*override*/ = default;
43
44 virtual ::Json::Value createGlobalVars(::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const> defRepository) const
45 /*override*/;
46
47 virtual ::std::shared_ptr<::AbstractScene> createDevConsole() /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
54 ::std::unique_ptr<::ISceneFactoryImpl> impl,
55 ::IMinecraftGame& minecraft,
56 ::ILayoutServiceProvider& layoutServiceProvider,
57 ::IClientInstance& client,
58 ::OreUI::SceneProvider& sceneProvider,
59 ::brstd::move_only_function<::std::shared_ptr<::BaseScreen>(::SceneCreationUtils::ScreenCreator&)>&&
60 devConsoleScreenFactory
61 );
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCNAPI void* $ctor(
68 ::std::unique_ptr<::ISceneFactoryImpl> impl,
69 ::IMinecraftGame& minecraft,
70 ::ILayoutServiceProvider& layoutServiceProvider,
71 ::IClientInstance& client,
72 ::OreUI::SceneProvider& sceneProvider,
73 ::brstd::move_only_function<::std::shared_ptr<::BaseScreen>(::SceneCreationUtils::ScreenCreator&)>&&
74 devConsoleScreenFactory
75 );
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI ::Json::Value $createGlobalVars(::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const> defRepository) const;
82
83 MCNAPI ::std::shared_ptr<::AbstractScene> $createDevConsole();
84 // NOLINTEND
85};
Definition AbstractScene.h:5
Definition BaseScreen.h:5
Definition IClientInstance.h:5
Definition ILayoutServiceProvider.h:5
Definition IMinecraftGame.h:5
Definition ISceneFactoryImpl.h:5
Definition IUIDefRepository.h:5
Definition Value.h:16
Definition SceneProvider.h:7
Definition ScreenCreator.h:7
Definition SceneFactory.h:5
Definition VanillaSceneFactory.h:5
MCAPI VanillaSceneFactory(::std::unique_ptr<::ISceneFactoryImpl > impl, ::IMinecraftGame &minecraft, ::ILayoutServiceProvider &layoutServiceProvider, ::IClientInstance &client, ::OreUI::SceneProvider &sceneProvider, ::brstd::move_only_function<::std::shared_ptr<::BaseScreen >(::SceneCreationUtils::ScreenCreator &)> &&devConsoleScreenFactory)
MCAPI::Json::Value $createGlobalVars(::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const > defRepository) const
MCAPI void * $ctor(::std::unique_ptr<::ISceneFactoryImpl > impl, ::IMinecraftGame &minecraft, ::ILayoutServiceProvider &layoutServiceProvider, ::IClientInstance &client, ::OreUI::SceneProvider &sceneProvider, ::brstd::move_only_function<::std::shared_ptr<::BaseScreen >(::SceneCreationUtils::ScreenCreator &)> &&devConsoleScreenFactory)
MCAPI ::std::shared_ptr<::AbstractScene > $createDevConsole()
Definition move_only_function.h:9