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 // vIndex: 0
32 virtual ~GameModuleServer() /*override*/;
33
34 // vIndex: 2
35 virtual void init(::ServerInstance&, ::Bedrock::NotNullNonOwnerPtr<::Level> const&) = 0;
36
37 // vIndex: 3
38 virtual void initializeBehaviorStack(
39 ::Experiments const&,
40 ::Bedrock::NotNullNonOwnerPtr<::IResourcePackRepository> const&,
42 ::BaseGameVersion const&,
43 bool
44 ) = 0;
45
46 // vIndex: 4
47 virtual void configureLevel(
48 ::Bedrock::NotNullNonOwnerPtr<::Level>&,
49 ::Experiments const&,
51 ::BaseGameVersion const&,
53 ::std::optional<::std::reference_wrapper<
54 ::std::unordered_map<::std::string, ::std::unique_ptr<::BiomeJsonDocumentGlue::ResolvedBiomeData>>>>
55 ) = 0;
56
57 // vIndex: 5
58 virtual void configureNewPlayer(::Player&) = 0;
59
60 // vIndex: 6
61 virtual void configureDocumentation(::IGameModuleDocumentation&, ::ItemRegistryRef const) = 0;
62
63 // vIndex: 7
64 virtual void tick() = 0;
65
66 // vIndex: 8
67 virtual void setupCommands(::CommandRegistry&) = 0;
68
69 // vIndex: 9
70 virtual void
71 configureServerNetworkHandler(::ServerInstance&, ::Bedrock::NotNullNonOwnerPtr<::ServerNetworkHandler>) = 0;
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCNAPI void $dtor();
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition AppExtensionsNonOwner.h:16
Definition BaseGameVersion.h:8
Definition CommandRegistry.h:44
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:34
Definition Level.h:247
Definition Player.h:123
Definition ResourcePackManager.h:24
Definition ResourcePackStack.h:22
Definition ServerInstance.h:76
Definition ServerNetworkHandler.h:168
Definition ServerScriptManager.h:73