72 ::ll::TypedStorage<8, 8, ::GameCallbacks&> mGameCallbacks;
73 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
74 ::ll::TypedStorage<8, 16, ::OwnerPtr<::ResourcePackManager>> mResourceLoader;
75 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::StructureManager>> mStructureManager;
76 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GameModuleServer>> mGameModuleServer;
77 ::ll::TypedStorage<8, 8, ::PermissionsFile*> mPermissionsFile;
78 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PrivateKeyManager>> mServerKeys;
79 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MinecraftServiceKeyManager>> mMinecraftServiceKeys;
80 ::ll::TypedStorage<8, 32, ::std::string const> mSaveGamePath;
81 ::ll::TypedStorage<8, 8, ::ServerMetrics*> mServerMetrics;
82 ::ll::TypedStorage<1, 1, bool const> mIsDedicatedServer;
83 ::ll::TypedStorage<1, 1, bool> mCorruptionDetected;
84 ::ll::TypedStorage<1, 1, bool> mFireOnLevelCorrupt;
85 ::ll::TypedStorage<8, 8, double> mFrameDuration;
86 ::ll::TypedStorage<8, 8, double> mLastFrameStart;
87 ::ll::TypedStorage<8, 8, ::std::chrono::seconds> mMaxPlayerIdleTime;
88 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DefaultCommandsContextProvider>> mDefaultCommandsContextProvider;
89 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftCommands>> mCommands;
90 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameSession>> mGameSession;
91 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameTestLevelListener>> mGameTestLevelListener;
92 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftGameTest>> mGameTest;
93 ::ll::TypedStorage<8, 8, ::Timer&> mSimTimer;
94 ::ll::TypedStorage<8, 8, ::Timer&> mRealTimer;
95 ::ll::TypedStorage<8, 16, ::ClientOrServerNetworkSystemRef> mNetwork;
96 ::ll::TypedStorage<8, 8, ::PacketSender&> mPacketSender;
97 ::ll::TypedStorage<1, 1, ::SubClientId> mClientSubId;
98 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::Minecraft::Impl>>> mImpl;
99 ::ll::TypedStorage<8, 16, ::gsl::not_null<::OwnerPtr<::EntityRegistry>>> mEntityRegistry;
100 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ITickingSystem>> mAddMovementTickForCatchup;
111 ::brstd::move_only_function<
113 mCreateServerNetworkHandler;
114 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<::Bedrock::NotNullNonOwnerPtr<::
FileArchiver>() const>>
119 ::brstd::move_only_function<
121 mCreateMinecraftCommands;
125 LLAPI
Level* getLevel() const;
129 Minecraft& operator=(Minecraft const&);
130 Minecraft(Minecraft const&);
136 virtual ~Minecraft() = default;
138 virtual
void setSimTimePause(
bool pause);
140 virtual
void setSimTimeScale(
float scale);
142 virtual
bool getSimPaused() const;
144 virtual
bool isOnlineClient() const;
167 ::
std::
string const& serverName,
190 MCNAPI ::Bedrock::PubSub::Subscription registerLevelListener(::std::function<
void(
::Level*)> callback)
const;
192 MCNAPI
bool requestInGamePause(
bool status);
194 MCNAPI
void startClientGame(::std::unique_ptr<::NetEventCallback> legacyClientNetworkHandler);
210 ::std::unique_ptr<::ITickingSystem>& addMovementTickForCatchup
Definition DefaultCommandsContextProvider.h:17
Definition EntityContext.h:15
MCAPI bool hostMultiplayer(::std::string const &serverName, ::std::pair<::std::unique_ptr<::Level >, ::OwnerPtr<::EntityContext > > levelEntity, ::KeyManager const &hostPublicKey, int maxChunkRadius, bool shouldAnnounce, ::ConnectionDefinition const &connectionDefinition, ::std::unordered_map<::PackIdVersion, ::std::string > const &packIdToContentKey, ::Scheduler &scheduler, ::TextFilteringProcessor *textFilteringProcessor, ::NetworkServerConfig const &packetHandlerConfig, ::std::shared_ptr<::ScriptPackSettingsCache > packSettingsCache, ::ServerNetworkHandlerDependencies &&serverNetworkOptions)
Definition TextFilteringProcessor.h:19