62 ::ll::TypedStorage<8, 8, ::GameCallbacks&> mGameCallbacks;
63 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
64 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ResourcePackManager>> mResourceLoader;
65 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::StructureManager>> mStructureManager;
66 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GameModuleServer>> mGameModuleServer;
67 ::ll::TypedStorage<8, 8, ::AllowList&> mAllowList;
68 ::ll::TypedStorage<8, 8, ::PermissionsFile*> mPermissionsFile;
69 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PrivateKeyManager>> mServerKeys;
70 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftServiceKeyManager>> mMinecraftServiceKeys;
71 ::ll::TypedStorage<8, 32, ::std::string const> mSaveGamePath;
72 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>> mFilePathManager;
73 ::ll::TypedStorage<8, 8, ::ServerMetrics*> mServerMetrics;
74 ::ll::TypedStorage<1, 1, bool> mCorruptionDetected;
75 ::ll::TypedStorage<1, 1, bool> mFireOnLevelCorrupt;
76 ::ll::TypedStorage<8, 8, double> mFrameDuration;
77 ::ll::TypedStorage<8, 8, double> mLastFrameStart;
78 ::ll::TypedStorage<8, 8, ::std::chrono::seconds> mMaxPlayerIdleTime;
79 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DefaultCommandsContextProvider>> mDefaultCommandsContextProvider;
80 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftCommands>> mCommands;
81 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameSession>> mGameSession;
82 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameTestLevelListener>> mGameTestLevelListener;
83 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftGameTest>> mGameTest;
84 ::ll::TypedStorage<8, 8, ::Timer&> mSimTimer;
85 ::ll::TypedStorage<8, 8, ::Timer&> mRealTimer;
86 ::ll::TypedStorage<8, 16, ::ClientOrServerNetworkSystemRef> mNetwork;
87 ::ll::TypedStorage<8, 8, ::PacketSender&> mPacketSender;
88 ::ll::TypedStorage<8, 8, ::IMinecraftApp&> mApp;
89 ::ll::TypedStorage<1, 1, ::SubClientId> mClientSubId;
90 ::ll::TypedStorage<8, 16, ::OwnerPtr<::EntityRegistry>> mEntityRegistry;
91 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ITickingSystem>> mAddMovementTickForCatchup;
113 virtual void setSimTimePause(
bool pause);
116 virtual void setSimTimeScale(
float scale);
119 virtual bool getSimPaused()
const;
122 virtual bool isOnlineClient()
const;
125 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
128 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
139 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& filePathManager,
140 ::std::chrono::seconds maxPlayerIdleTime,
144 ::SubClientId clientSubId,
147 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const>
const& contentTierManager,
151 MCAPI
void _tryCatchupMovementTicks();
153 MCAPI
void activateAllowList();
157 MCAPI
void disconnectClient(
::NetworkIdentifier const&
id, ::Connection::DisconnectFailReason disconnectReason);
159 MCAPI ::Level* getLevel()
const;
161 MCAPI ::Bedrock::NonOwnerPointer<::ServerNetworkHandler> getServerNetworkHandler();
163 MCAPI ::ServerNetworkSystem& getServerNetworkSystem();
165 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager();
167 MCAPI
bool hostMultiplayer(
168 ::std::string
const& serverName,
171 ::std::unique_ptr<::NetEventCallback> clientNetworkHandler,
175 ::std::unordered_map<::PackIdVersion, ::std::string>
const& packIdToContentKey,
179 ::std::shared_ptr<::ScriptPackSettingsCache> packSettingsCache,
185 MCAPI
void initCommands();
187 MCAPI
void setupServerCommands(::std::string
const& networkCommands, ::std::string
const& networkTestCommands);
189 MCAPI
void startLeaveGame(
bool stopNetwork);
191 MCAPI
void tickSimtime(
int nTick,
int maxTick);
199 MCAPI
static void _tryCatchupMovementTicks(
202 ::std::unique_ptr<::ITickingSystem>& addMovementTickForCatchup
214 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& filePathManager,
215 ::std::chrono::seconds maxPlayerIdleTime,
219 ::SubClientId clientSubId,
222 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const>
const& contentTierManager,
236 MCAPI
void $setSimTimePause(
bool pause);
238 MCAPI
void $setSimTimeScale(
float scale);
240 MCAPI
bool $getSimPaused()
const;
242 MCAPI
bool $isOnlineClient()
const;
244 MCFOLD ::StackRefResult<::EntityRegistry> $getEntityRegistry();
246 MCFOLD ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
Definition EntityContext.h:16
Definition IContentTierManager.h:13
Definition TextFilteringProcessor.h:18