59 ::ll::TypedStorage<8, 8, ::GameCallbacks&> mGameCallbacks;
60 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
61 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ResourcePackManager>> mResourceLoader;
62 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::StructureManager>> mStructureManager;
63 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GameModuleServer>> mGameModuleServer;
64 ::ll::TypedStorage<8, 8, ::AllowList&> mAllowList;
65 ::ll::TypedStorage<8, 8, ::PermissionsFile*> mPermissionsFile;
66 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PrivateKeyManager>> mServerKeys;
67 ::ll::TypedStorage<8, 32, ::std::string const> mSaveGamePath;
68 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>> mFilePathManager;
69 ::ll::TypedStorage<8, 8, ::ServerMetrics*> mServerMetrics;
70 ::ll::TypedStorage<1, 1, bool> mCorruptionDetected;
71 ::ll::TypedStorage<1, 1, bool> mFireOnLevelCorrupt;
72 ::ll::TypedStorage<8, 8, double> mFrameDuration;
73 ::ll::TypedStorage<8, 8, double> mLastFrameStart;
74 ::ll::TypedStorage<8, 8, ::std::chrono::seconds> mMaxPlayerIdleTime;
75 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DefaultCommandsContextProvider>> mDefaultCommandsContextProvider;
76 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftCommands>> mCommands;
77 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameSession>> mGameSession;
78 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameTestLevelListener>> mGameTestLevelListener;
79 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftGameTest>> mGameTest;
80 ::ll::TypedStorage<8, 8, ::Timer&> mSimTimer;
81 ::ll::TypedStorage<8, 8, ::Timer&> mRealTimer;
82 ::ll::TypedStorage<8, 16, ::ClientOrServerNetworkSystemRef> mNetwork;
83 ::ll::TypedStorage<8, 8, ::PacketSender&> mPacketSender;
84 ::ll::TypedStorage<8, 8, ::IMinecraftApp&> mApp;
85 ::ll::TypedStorage<1, 1, ::SubClientId> mClientSubId;
86 ::ll::TypedStorage<8, 16, ::OwnerPtr<::EntityRegistry>> mEntityRegistry;
108 virtual void setSimTimePause(
bool pause);
111 virtual void setSimTimeScale(
float scale);
114 virtual bool getSimPaused()
const;
117 virtual bool isOnlineClient()
const;
120 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
123 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
134 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& filePathManager,
135 ::std::chrono::seconds maxPlayerIdleTime,
139 ::SubClientId clientSubId,
142 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const>
const& contentTierManager,
146 MCAPI
void _tryCatchupMovementTicks();
148 MCAPI
void activateAllowList();
152 MCAPI
void disconnectClient(
154 ::Connection::DisconnectFailReason discoReason,
155 ::std::string
const& reasonMessage
158 MCAPI ::Level* getLevel()
const;
160 MCAPI ::Bedrock::NonOwnerPointer<::ServerNetworkHandler> getServerNetworkHandler();
162 MCAPI ::ServerNetworkSystem& getServerNetworkSystem();
164 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager();
166 MCAPI
bool hostMultiplayer(
167 ::std::string
const& serverName,
171 ::std::unique_ptr<::NetEventCallback> clientNetworkHandler,
175 ::std::unordered_map<::PackIdVersion, ::std::string>
const& packIdToContentKey,
183 MCAPI
void initCommands();
185 MCAPI
void setupServerCommands(::std::string
const& networkCommands, ::std::string
const& networkTestCommands);
187 MCAPI
void startLeaveGame(
bool stopNetwork);
189 MCAPI
void tickSimtime(
int nTick,
int maxTick);
208 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& filePathManager,
209 ::std::chrono::seconds maxPlayerIdleTime,
213 ::SubClientId clientSubId,
216 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const>
const& contentTierManager,
230 MCAPI
void $setSimTimePause(
bool pause);
232 MCAPI
void $setSimTimeScale(
float scale);
234 MCAPI
bool $getSimPaused()
const;
236 MCAPI
bool $isOnlineClient()
const;
238 MCFOLD ::StackRefResult<::EntityRegistry> $getEntityRegistry();
240 MCFOLD ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
Definition DefaultCommandsContextProvider.h:16
Definition EntityContext.h:16
Definition IContentTierManager.h:13
Definition TextFilteringProcessor.h:18