Skip to content
LeviMC
English
AutoLightDark
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
13class BaseGameVersion;
14class BiomeRegistry;
16class ClientLevel;
17class CommandRegistry;
18class Experiments;
20class IClientInstance;
23class ItemRegistryRef;
24class Level;
27// clang-format on
28
30public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::UntypedStorage<8, 8> mUnk5e0158;
34 ::ll::UntypedStorage<8, 8> mUnkf1ce19;
35 ::ll::UntypedStorage<8, 8> mUnke1f776;
36 ::ll::UntypedStorage<8, 8> mUnk4ab956;
37 ::ll::UntypedStorage<8, 8> mUnkdd8a64;
38 ::ll::UntypedStorage<8, 8> mUnk6f8df0;
39 ::ll::UntypedStorage<8, 8> mUnkadce9b;
40 ::ll::UntypedStorage<8, 8> mUnk84fc3a;
41 ::ll::UntypedStorage<8, 8> mUnkee2df3;
42 ::ll::UntypedStorage<8, 8> mUnkcb9508;
43 ::ll::UntypedStorage<8, 16> mUnk33240b;
44 ::ll::UntypedStorage<8, 24> mUnk31c50a;
45 ::ll::UntypedStorage<8, 16> mUnkc9162e;
46 ::ll::UntypedStorage<8, 24> mUnkeda6d9;
47 ::ll::UntypedStorage<8, 64> mUnk31c75f;
48 ::ll::UntypedStorage<8, 8> mUnkd23d66;
49 ::ll::UntypedStorage<8, 16> mUnkd24109;
50 ::ll::UntypedStorage<8, 16> mUnk852403;
51 ::ll::UntypedStorage<1, 1> mUnk16e252;
52 // NOLINTEND
53
54public:
55 // prevent constructor by default
56 VanillaGameModuleClient& operator=(VanillaGameModuleClient const&);
57 VanillaGameModuleClient(VanillaGameModuleClient const&);
58 VanillaGameModuleClient();
59
60public:
61 // virtual functions
62 // NOLINTBEGIN
63 virtual ~VanillaGameModuleClient() /*override*/ = default;
64
65 virtual void init(::IClientInstance& client, ::Bedrock::NotNullNonOwnerPtr<::Level> const& level) /*override*/;
66
67 virtual void initializeResourceStack(
68 ::Experiments const* experiments,
69 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& repo,
70 ::ResourcePackStack& stack,
71 ::BaseGameVersion const& baseGameVersion,
72 ::GameModuleClient::ResourceLoadingPhase loadingPhase,
73 bool includeEditorPacks,
74 ::IEducationOptions const* educationOptions
75 ) /*override*/;
76
77 virtual void configureLevel(
78 ::IClientInstance& client,
79 ::Bedrock::NotNullNonOwnerPtr<::ClientLevel> const& level,
80 ::Experiments const& experiments,
81 ::BaseGameVersion const& baseGameVersion
82 ) /*override*/;
83
84 virtual void deconfigureLevel(::IClientInstance& client) /*override*/;
85
86 virtual void onLeaveWorld() /*override*/;
87
88 virtual void
89 configureDocumentation(::GameModuleDocumentation&, ::ItemRegistryRef const docItemRegistry) /*override*/;
90
91 virtual void tick(::IClientInstance const& client) /*override*/;
92
93 virtual void setupStandardCommands(
94 ::CommandRegistry& commandRegistry,
95 ::AtomicClientEntityFactory& atomicClientEntityFactory,
96 ::IEducationOptions const& educationOptions
97 ) /*override*/;
98
99 virtual void setupStartMenuScreenCommands(::CommandRegistry&) /*override*/;
100
101 virtual void setupUI() /*override*/;
102
103 virtual void registerActorRenderers(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client) /*override*/;
104
105 virtual ::std::unique_ptr<::ClientInputMappingFactory>
106 createInputMappingFactory(::IClientInstance& client) /*override*/;
107
108 virtual ::std::shared_ptr<void> registerVanillaGoalsForUpgrader(
109 ::Experiments const& experiments,
110 ::BaseGameVersion const& baseGameVersion,
111 ::ItemRegistryRef const itemRegistryRef,
112 ::ActorMigratedDefinitionFactory& migratedFactory
113 ) const /*override*/;
114
115 virtual ::ServerboundDiagnosticsPacket createServerboundDiagnosticsPacket() /*override*/;
116
117 virtual ::std::shared_ptr<void const> getWorldSystemsScope() /*override*/;
118 // NOLINTEND
119
120public:
121 // static functions
122 // NOLINTBEGIN
123 MCNAPI static void _onLevelBiomesRegistered(::BiomeRegistry& biomeRegistry);
124 // NOLINTEND
125
126public:
127 // virtual function thunks
128 // NOLINTBEGIN
129 MCNAPI void $init(::IClientInstance& client, ::Bedrock::NotNullNonOwnerPtr<::Level> const& level);
130
131 MCAPI void $initializeResourceStack(
132 ::Experiments const* experiments,
133 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const& repo,
134 ::ResourcePackStack& stack,
135 ::BaseGameVersion const& baseGameVersion,
136 ::GameModuleClient::ResourceLoadingPhase loadingPhase,
137 bool includeEditorPacks,
138 ::IEducationOptions const* educationOptions
139 );
140
141 MCNAPI void $configureLevel(
142 ::IClientInstance& client,
143 ::Bedrock::NotNullNonOwnerPtr<::ClientLevel> const& level,
144 ::Experiments const& experiments,
145 ::BaseGameVersion const& baseGameVersion
146 );
147
149
150 MCNAPI void $onLeaveWorld();
151
153
154 MCNAPI void $tick(::IClientInstance const& client);
155
157 ::CommandRegistry& commandRegistry,
158 ::AtomicClientEntityFactory& atomicClientEntityFactory,
159 ::IEducationOptions const& educationOptions
160 );
161
163
164 MCNAPI void $setupUI();
165
166 MCNAPI void $registerActorRenderers(::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client);
167
168 MCNAPI ::std::unique_ptr<::ClientInputMappingFactory> $createInputMappingFactory(::IClientInstance& client);
169
170 MCNAPI ::std::shared_ptr<void> $registerVanillaGoalsForUpgrader(
171 ::Experiments const& experiments,
172 ::BaseGameVersion const& baseGameVersion,
173 ::ItemRegistryRef const itemRegistryRef,
174 ::ActorMigratedDefinitionFactory& migratedFactory
175 ) const;
176
177 MCNAPI ::ServerboundDiagnosticsPacket $createServerboundDiagnosticsPacket();
178
179 MCNAPI ::std::shared_ptr<void const> $getWorldSystemsScope();
180 // NOLINTEND
181};
Definition ActorMigratedDefinitionFactory.h:42
Definition AtomicClientEntityFactory.h:13
Definition BaseGameVersion.h:8
Definition BiomeRegistry.h:37
Definition ClientInputMappingFactory.h:5
Definition ClientLevel.h:5
Definition CommandRegistry.h:51
Definition Experiments.h:14
Definition GameModuleClient.h:5
Definition GameModuleDocumentation.h:5
Definition IClientInstance.h:5
Definition IEducationOptions.h:8
Definition IResourcePackRepository.h:36
Definition ItemRegistryRef.h:36
Definition Level.h:255
Definition ResourcePackStack.h:23
Definition ServerboundDiagnosticsPacket.h:19
Definition VanillaGameModuleClient.h:5
static MCAPI void _onLevelBiomesRegistered(::BiomeRegistry &biomeRegistry)
MCAPI void $init(::IClientInstance &client, ::Bedrock::NotNullNonOwnerPtr<::Level > const &level)
MCAPI::ServerboundDiagnosticsPacket $createServerboundDiagnosticsPacket()
MCAPI void $tick(::IClientInstance const &client)
MCAPI ::std::unique_ptr<::ClientInputMappingFactory > $createInputMappingFactory(::IClientInstance &client)
MCAPI void $configureLevel(::IClientInstance &client, ::Bedrock::NotNullNonOwnerPtr<::ClientLevel > const &level, ::Experiments const &experiments, ::BaseGameVersion const &baseGameVersion)
MCAPI void $deconfigureLevel(::IClientInstance &client)
MCAPI ::std::shared_ptr< void > $registerVanillaGoalsForUpgrader(::Experiments const &experiments, ::BaseGameVersion const &baseGameVersion, ::ItemRegistryRef const itemRegistryRef, ::ActorMigratedDefinitionFactory &migratedFactory) const
MCAPI void $setupStartMenuScreenCommands(::CommandRegistry &)
MCAPI void $setupStandardCommands(::CommandRegistry &commandRegistry, ::AtomicClientEntityFactory &atomicClientEntityFactory, ::IEducationOptions const &educationOptions)
MCAPI void $onLeaveWorld()
MCAPI void $registerActorRenderers(::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &client)
MCAPI ::std::shared_ptr< void const > $getWorldSystemsScope()
MCAPI void $configureDocumentation(::GameModuleDocumentation &, ::ItemRegistryRef const docItemRegistry)