58 ::ll::TypedStorage<8, 8, ::GameCallbacks&> mGameCallbacks;
59 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
60 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ResourcePackManager>> mResourceLoader;
61 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::StructureManager>> mStructureManager;
62 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::GameModuleServer>> mGameModuleServer;
63 ::ll::TypedStorage<8, 8, ::AllowList&> mAllowList;
64 ::ll::TypedStorage<8, 8, ::PermissionsFile*> mPermissionsFile;
65 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::PrivateKeyManager>> mServerKeys;
66 ::ll::TypedStorage<8, 32, ::std::string const> mSaveGamePath;
67 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>> mFilePathManager;
68 ::ll::TypedStorage<8, 8, ::ServerMetrics*> mServerMetrics;
69 ::ll::TypedStorage<1, 1, bool> mCorruptionDetected;
70 ::ll::TypedStorage<1, 1, bool> mFireOnLevelCorrupt;
71 ::ll::TypedStorage<8, 8, double> mFrameDuration;
72 ::ll::TypedStorage<8, 8, double> mLastFrameStart;
73 ::ll::TypedStorage<8, 8, ::std::chrono::seconds> mMaxPlayerIdleTime;
74 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DefaultCommandsContextProvider>> mDefaultCommandsContextProvider;
75 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftCommands>> mCommands;
76 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameSession>> mGameSession;
77 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::GameTestLevelListener>> mGameTestLevelListener;
78 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecraftGameTest>> mGameTest;
79 ::ll::TypedStorage<8, 8, ::Timer&> mSimTimer;
80 ::ll::TypedStorage<8, 8, ::Timer&> mRealTimer;
81 ::ll::TypedStorage<8, 16, ::ClientOrServerNetworkSystemRef> mNetwork;
82 ::ll::TypedStorage<8, 8, ::PacketSender&> mPacketSender;
83 ::ll::TypedStorage<8, 8, ::IMinecraftApp&> mApp;
84 ::ll::TypedStorage<1, 1, ::SubClientId> mClientSubId;
85 ::ll::TypedStorage<8, 16, ::OwnerPtr<::EntityRegistry>> mEntityRegistry;
107 virtual void setSimTimePause(
bool pause);
110 virtual void setSimTimeScale(
float scale);
113 virtual bool getSimPaused()
const;
116 virtual bool isOnlineClient()
const;
119 virtual ::StackRefResult<::EntityRegistry> getEntityRegistry() ;
122 virtual ::StackRefResult<::EntityRegistry const> getEntityRegistry()
const ;
133 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& filePathManager,
134 ::std::chrono::seconds maxPlayerIdleTime,
138 ::SubClientId clientSubId,
141 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const>
const& contentTierManager,
145 MCAPI
void _tryCatchupMovementTicks();
147 MCAPI
void activateAllowList();
151 MCAPI
void disconnectClient(
153 ::Connection::DisconnectFailReason discoReason,
154 ::std::string
const& reasonMessage
157 MCAPI ::Level* getLevel()
const;
159 MCAPI ::Bedrock::NonOwnerPointer<::ServerNetworkHandler> getServerNetworkHandler();
161 MCAPI ::Bedrock::NotNullNonOwnerPtr<::StructureManager> getStructureManager();
163 MCAPI
bool hostMultiplayer(
164 ::std::string
const& serverName,
168 ::std::unique_ptr<::NetEventCallback> clientNetworkHandler,
172 ::std::unordered_map<::PackIdVersion, ::std::string>
const& packIdToContentKey,
180 MCAPI
void initCommands();
182 MCAPI
void setupServerCommands(::std::string
const& networkCommands, ::std::string
const& networkTestCommands);
184 MCAPI
void startLeaveGame(
bool stopNetwork);
186 MCAPI
void tickSimtime(
int nTick,
int maxTick);
205 ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager>
const& filePathManager,
206 ::std::chrono::seconds maxPlayerIdleTime,
210 ::SubClientId clientSubId,
213 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const>
const& contentTierManager,
227 MCAPI
void $setSimTimePause(
bool pause);
229 MCAPI
void $setSimTimeScale(
float scale);
231 MCAPI
bool $getSimPaused()
const;
233 MCAPI
bool $isOnlineClient()
const;
235 MCFOLD ::StackRefResult<::EntityRegistry> $getEntityRegistry();
237 MCFOLD ::StackRefResult<::EntityRegistry const> $getEntityRegistry()
const;
Definition DefaultCommandsContextProvider.h:16
Definition EntityContext.h:16
Definition IContentTierManager.h:13
Definition TextFilteringProcessor.h:18