LeviLamina
Loading...
Searching...
No Matches
GameModuleServer.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#include "mc/world/level/biome/glue/BiomeJsonDocumentGlue.h"
9
10// auto generated forward declare list
11// clang-format off
12class BaseGameVersion;
13class CommandRegistry;
14class Experiments;
17class ItemRegistryRef;
18class Level;
19class Player;
22class ServerInstance;
25// clang-format on
26
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual ~GameModuleServer() /*override*/;
32
33 virtual void init(::ServerInstance&, ::Bedrock::NotNullNonOwnerPtr<::Level> const&) = 0;
34
35 virtual void initializeBehaviorStack(
36 ::Experiments const&,
37 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const&,
39 ::BaseGameVersion const&,
40 bool
41 ) = 0;
42
43 virtual void configureLevel(
44 ::Bedrock::NotNullNonOwnerPtr<::Level>&,
45 ::Experiments const&,
47 ::BaseGameVersion const&,
49 ::std::optional<::std::reference_wrapper<
50 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData>>>>
51 ) = 0;
52
53 virtual void configureNewPlayer(::Player&) = 0;
54
55 virtual void configureDocumentation(::IGameModuleDocumentation&, ::ItemRegistryRef const) = 0;
56
57 virtual void tick() = 0;
58
59 virtual void setupCommands(::CommandRegistry&) = 0;
60
61 virtual void
62 configureServerNetworkHandler(::ServerInstance&, ::Bedrock::NotNullNonOwnerPtr<::ServerNetworkHandler>) = 0;
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68 MCNAPI void $dtor();
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition AppExtensionsNonOwner.h:16
Definition BaseGameVersion.h:8
Definition CommandRegistry.h:47
Definition Experiments.h:14
Definition GameModuleServer.h:27
static MCAPI void ** $vftable()
MCAPI void $dtor()
Definition IGameModuleDocumentation.h:5
Definition IResourcePackRepository.h:34
Definition ItemRegistryRef.h:36
Definition Level.h:249
Definition Player.h:125
Definition ResourcePackManager.h:29
Definition ResourcePackStack.h:25
Definition ServerInstance.h:57
Definition ServerNetworkHandler.h:171
Definition ServerScriptManager.h:74