LeviLamina
Loading...
Searching...
No Matches
VanillaGameModuleClient.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/module/GameModuleClient.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class BaseGameVersion;
12class BiomeRegistry;
14class CommandRegistry;
15class EntitySystems;
16class Experiments;
17class GameModuleDocumentation;
18class IClientInstance;
19class IResourcePackRepository;
20class ItemRegistryRef;
21class Level;
22class MultiPlayerLevel;
23class ResourcePackStack;
25namespace GameplayUI { struct GameplayUIContext; }
26namespace VanillaSystemsRegistration { struct RegistrationOptions; }
27// clang-format on
28
30public:
31 // member variables
32 // NOLINTBEGIN
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
53
54public:
55 // virtual functions
56 // NOLINTBEGIN
57 virtual ~VanillaGameModuleClient() /*override*/;
58
59 virtual void init(::IClientInstance& client, ::Bedrock::NotNullNonOwnerPtr<::Level> const& level) /*override*/;
60
61 virtual void initializeResourceStack(
62 ::Experiments const* experiments,
63 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& repo,
64 ::ResourcePackStack& stack,
65 ::BaseGameVersion const& baseGameVersion,
66 ::GameModuleClient::ResourceLoadingPhase loadingPhase,
67 bool includeEditorPacks
68 ) /*override*/;
69
70 virtual void configureLevel(
71 ::IClientInstance& client,
72 ::Bedrock::NotNullNonOwnerPtr<::MultiPlayerLevel> const& level,
73 ::Experiments const& experiments,
74 ::BaseGameVersion const& baseGameVersion
75 ) /*override*/;
76
77 virtual void deconfigureLevel(::IClientInstance& client) /*override*/;
78
79 virtual void configureDocumentation(
80 ::GameModuleDocumentation& moduleDocumentation,
81 ::ItemRegistryRef const docItemRegistry
82 ) /*override*/;
83
84 virtual void tick() /*override*/;
85
86 virtual void setupStandardCommands(::CommandRegistry& commandRegistry) /*override*/;
87
88 virtual void setupStartMenuScreenCommands(::CommandRegistry& commandRegistry) /*override*/;
89
90 virtual void registerActorRenderers(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client) /*override*/;
91
92 virtual ::std::unique_ptr<::ClientInputMappingFactory>
93 createInputMappingFactory(::IClientInstance& client) /*override*/;
94 // NOLINTEND
95
96public:
97 // member functions
98 // NOLINTBEGIN
100
101 MCAPI void _configureEntitySystems(
102 ::EntitySystems& systemRegistry,
103 ::IClientInstance& client,
104 ::VanillaSystemsRegistration::RegistrationOptions const& registrationOptions,
105 bool defaultRegistration
106 );
107
108 MCAPI void _registerListeners(::IClientInstance& client, ::Bedrock::NotNullNonOwnerPtr<::Level> const& level);
109 // NOLINTEND
110
111public:
112 // static functions
113 // NOLINTBEGIN
114 MCAPI static void _onLevelBiomesRegistered(::BiomeRegistry& biomeRegistry);
115 // NOLINTEND
116
117public:
118 // constructor thunks
119 // NOLINTBEGIN
120 MCAPI void* $ctor(::GameModuleClientArgs args, ::GameplayUI::GameplayUIContext& gameplayUIContext);
121 // NOLINTEND
122
123public:
124 // destructor thunk
125 // NOLINTBEGIN
126 MCAPI void $dtor();
127 // NOLINTEND
128
129public:
130 // virtual function thunks
131 // NOLINTBEGIN
132 MCAPI void $init(::IClientInstance& client, ::Bedrock::NotNullNonOwnerPtr<::Level> const& level);
133
134 MCAPI void $initializeResourceStack(
135 ::Experiments const* experiments,
136 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& repo,
137 ::ResourcePackStack& stack,
138 ::BaseGameVersion const& baseGameVersion,
139 ::GameModuleClient::ResourceLoadingPhase loadingPhase,
140 bool includeEditorPacks
141 );
142
143 MCAPI void $configureLevel(
144 ::IClientInstance& client,
145 ::Bedrock::NotNullNonOwnerPtr<::MultiPlayerLevel> const& level,
146 ::Experiments const& experiments,
147 ::BaseGameVersion const& baseGameVersion
148 );
149
150 MCAPI void $deconfigureLevel(::IClientInstance& client);
151
152 MCFOLD void
153 $configureDocumentation(::GameModuleDocumentation& moduleDocumentation, ::ItemRegistryRef const docItemRegistry);
154
155 MCAPI void $tick();
156
157 MCAPI void $setupStandardCommands(::CommandRegistry& commandRegistry);
158
159 MCFOLD void $setupStartMenuScreenCommands(::CommandRegistry& commandRegistry);
160
161 MCAPI void $registerActorRenderers(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client);
162
163 MCFOLD ::std::unique_ptr<::ClientInputMappingFactory> $createInputMappingFactory(::IClientInstance& client);
164 // NOLINTEND
165
166public:
167 // vftables
168 // NOLINTBEGIN
169 MCNAPI static void** $vftable();
170 // NOLINTEND
171};
Definition ClientInputMappingFactory.h:5
Definition GameModuleClient.h:5
Definition VanillaGameModuleClient.h:5
static MCAPI void ** $vftable()
Definition GameModuleClientArgs.h:5
Definition GameplayUIContext.h:7
Definition Alias.h:14