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
11class BaseGameVersion;
13class CommandRegistry;
14class Experiments;
15class GameModuleDocumentation;
16class IClientInstance;
17class IResourcePackRepository;
18class ItemRegistryRef;
19class Level;
20class MultiPlayerLevel;
21class ResourcePackStack;
22// clang-format on
23
24class GameModuleClient : public ::AppExtensions::AppExtensionsNonOwner {
25public:
26 // GameModuleClient inner types define
27 enum class ResourceLoadingPhase : int {
28 AppStartup = 0,
29 Frontend = 1,
30 InGame = 2,
31 };
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~GameModuleClient() /*override*/;
37
38 virtual void init(::IClientInstance& client, ::Bedrock::NotNullNonOwnerPtr<::Level> const& level) = 0;
39
40 virtual void configureLevel(
41 ::IClientInstance&,
42 ::Bedrock::NotNullNonOwnerPtr<::MultiPlayerLevel> const&,
43 ::Experiments const&,
44 ::BaseGameVersion const&
45 ) = 0;
46
47 virtual void deconfigureLevel(::IClientInstance&) = 0;
48
49 virtual void initializeResourceStack(
50 ::Experiments const*,
51 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const&,
52 ::ResourcePackStack&,
53 ::BaseGameVersion const&,
54 ::GameModuleClient::ResourceLoadingPhase,
55 bool
56 ) = 0;
57
58 virtual void configureDocumentation(::GameModuleDocumentation&, ::ItemRegistryRef const) = 0;
59
60 virtual void tick() = 0;
61
62 virtual void setupStandardCommands(::CommandRegistry&) = 0;
63
64 virtual void setupStartMenuScreenCommands(::CommandRegistry&) = 0;
65
66 virtual void registerActorRenderers(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const&) = 0;
67
68 virtual ::std::unique_ptr<::ClientInputMappingFactory> createInputMappingFactory(::IClientInstance&) = 0;
69 // NOLINTEND
70
71public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCFOLD void $dtor();
75 // NOLINTEND
76
77public:
78 // virtual function thunks
79 // NOLINTBEGIN
80
81 // NOLINTEND
82};
Definition ClientInputMappingFactory.h:5
Definition GameModuleClient.h:5