LeviLamina
Loading...
Searching...
No Matches
GameModuleClient.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/app_extensions/AppExtensionsNonOwner.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
12class BaseGameVersion;
14class CommandRegistry;
15class Experiments;
17class IClientInstance;
19class ItemRegistryRef;
20class Level;
23// clang-format on
24
26public:
27 // GameModuleClient inner types define
28 enum class ResourceLoadingPhase : int {
29 AppStartup = 0,
30 Frontend = 1,
31 InGame = 2,
32 };
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~GameModuleClient() /*override*/;
38
39 virtual void init(::IClientInstance& client, ::Bedrock::NotNullNonOwnerPtr<::Level> const& level) = 0;
40
41 virtual void configureLevel(
42 ::IClientInstance& client,
43 ::Bedrock::NotNullNonOwnerPtr<::MultiPlayerLevel> const& level,
44 ::Experiments const& experiments,
45 ::BaseGameVersion const& baseGameVersion
46 ) = 0;
47
48 virtual void deconfigureLevel(::IClientInstance& client) = 0;
49
50 virtual void initializeResourceStack(
51 ::Experiments const* experiments,
52 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& repo,
53 ::ResourcePackStack& stack,
54 ::BaseGameVersion const& baseGameVersion,
55 ::GameModuleClient::ResourceLoadingPhase loadingPhase,
56 bool includeEditorPacks
57 ) = 0;
58
59 virtual void configureDocumentation(::GameModuleDocumentation&, ::ItemRegistryRef const) = 0;
60
61 virtual void tick() = 0;
62
63 virtual void setupStandardCommands(::CommandRegistry& commandRegistry) = 0;
64
65 virtual void setupStartMenuScreenCommands(::CommandRegistry& commandRegistry) = 0;
66
67 virtual void setupUI() = 0;
68
69 virtual void registerActorRenderers(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client) = 0;
70
71 virtual ::std::unique_ptr<::ClientInputMappingFactory> createInputMappingFactory(::IClientInstance& client) = 0;
72
73 virtual void registerVanillaGoalsForUpgrader(::ActorMigratedDefinitionFactory& migratedFactory) const = 0;
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCFOLD void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85
86 // NOLINTEND
87};
Definition ActorMigratedDefinitionFactory.h:35
Definition AppExtensionsNonOwner.h:16
Definition BaseGameVersion.h:8
Definition ClientInputMappingFactory.h:5
Definition CommandRegistry.h:50
Definition Experiments.h:14
Definition GameModuleClient.h:5
Definition GameModuleDocumentation.h:5
Definition IClientInstance.h:5
Definition IResourcePackRepository.h:34
Definition ItemRegistryRef.h:36
Definition Level.h:250
Definition MultiPlayerLevel.h:5
Definition ResourcePackStack.h:25