57struct MinecraftArguments {
68 struct CreateMinecraftCommandsArgs {
72 ::ll::TypedStorage<8, 8, ::ICommandsContextProvider&> mContext;
77 CreateMinecraftCommandsArgs& operator=(CreateMinecraftCommandsArgs
const&);
78 CreateMinecraftCommandsArgs(CreateMinecraftCommandsArgs
const&);
79 CreateMinecraftCommandsArgs();
82 struct CreateServerNetworkHandlerArgs {
86 ::ll::TypedStorage<8, 8, ::ILevel&> mLevel;
87 ::ll::TypedStorage<8, 8, ::PrivateKeyManager&> mServerKeys;
88 ::ll::TypedStorage<8, 8, ::MinecraftServiceKeyManager&> mMinecraftServiceKeys;
89 ::ll::TypedStorage<8, 8, ::KeyManager const&> mHostPublicKey;
90 ::ll::TypedStorage<4, 4, int> mMaxChunkRadius;
91 ::ll::TypedStorage<4, 4, int> mMaxNumPlayers;
92 ::ll::TypedStorage<8, 8, ::MinecraftCommands&> mCommands;
93 ::ll::TypedStorage<8, 8, ::std::unordered_map<::PackIdVersion, ::std::string>
const&> mPackIdToContentKey;
94 ::ll::TypedStorage<8, 8, ::Scheduler&> mScheduler;
95 ::ll::TypedStorage<8, 8, ::TextFilteringProcessor*> mTextFilteringProcessor;
96 ::ll::TypedStorage<8, 8, ::NetworkServerConfig const&> mPacketHandlerConfig;
97 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ScriptPackSettingsCache>> mPackSettingsCache;
98 ::ll::TypedStorage<8, 8, ::ServerNetworkHandlerDependencies&&> mServerNetworkOptions;
99 ::ll::TypedStorage<8, 8, ::optional_ref<::MinecraftGameTest>> mGameTest;
104 CreateServerNetworkHandlerArgs& operator=(CreateServerNetworkHandlerArgs
const&);
105 CreateServerNetworkHandlerArgs(CreateServerNetworkHandlerArgs
const&);
106 CreateServerNetworkHandlerArgs();
113 ::ll::TypedStorage<8, 8, ::IImGuiModuleConnector*> mConnector;
118 ::std::string
const&,
119 ::std::unordered_map<::mce::UUID, ::PlayerListEntry>
const&,
122 mAutoCompletePlayerMention;
123 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::IEducationOptions>> mEducationOptions;
143 struct ServerNetworkHandlerFactoryArguments {
147 ::ll::TypedStorage<8, 8, ::AllowList&> mAllowList;
148 ::ll::TypedStorage<8, 8, ::EditorAllowList&> mEditorAllowList;
149 ::ll::TypedStorage<8, 8, ::IMinecraftApp&> mApp;
150 ::ll::TypedStorage<8, 384, ::std::optional<::ServerConfiguration::ServerConfigurationJoinInfo>>
151 mServerConfigurationJoinInfo;
152 ::ll::TypedStorage<8, 128, ::Social::Events::ServerTelemetryData> mServerTelemetryData;
157 ServerNetworkHandlerFactoryArguments& operator=(ServerNetworkHandlerFactoryArguments
const&);
158 ServerNetworkHandlerFactoryArguments(ServerNetworkHandlerFactoryArguments
const&);
159 ServerNetworkHandlerFactoryArguments();
164 using MinecraftCommandsFactory = ::brstd::move_only_function<
167 using MinecraftServiceKeyManagerFactory = ::brstd::function_ref<
171 using RequestServerShutdownCallback = ::brstd::move_only_function<
void() const>;
173 using ServerNetworkHandlerFactory = ::brstd::move_only_function<
181 ::ll::TypedStorage<8, 8, ::
std::chrono::seconds> mMaxPlayerIdleTime;
184 ::ll::TypedStorage<8, 8, ::
PacketSender&> mPacketSender;
185 ::ll::TypedStorage<1, 1, ::SubClientId> mClientSubId;
186 ::ll::TypedStorage<8, 8, ::
Timer&> mSimTimer;
187 ::ll::TypedStorage<8, 8, ::
Timer&> mRealTimer;
191 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<
void() const>> mRequestServerShutdown;
195 ::brstd::move_only_function<
197 mCreateServerNetworkHandler;
198 ::ll::TypedStorage<1, 1,
bool> mIsDedicatedServer;
203 ::brstd::function_ref<
206 mCreateMinecraftServiceKeyManager;
207 ::ll::TypedStorage<8, 64, ::brstd::move_only_function<::Bedrock::NotNullNonOwnerPtr<::
FileArchiver>() const>>
212 ::brstd::move_only_function<
214 mCreateMinecraftCommands;
219 MinecraftArguments& operator=(MinecraftArguments const&);
220 MinecraftArguments(MinecraftArguments const&);
221 MinecraftArguments();
226 MCNAPI ::brstd::move_only_function<
231 MCNAPI ~MinecraftArguments();
Definition ICommandsContextProvider.h:15
Definition IContentTierManager.h:13
Definition PlayerListEntry.h:17
Definition TextFilteringProcessor.h:19
static MCAPI ::OwnerPtr<::ResourcePackManager > createResourcePackManager(::Core::FilePathManager const &filePathManager, ::IContentTierManager const &contentTierManager, ::Bedrock::Resources::CategoryFileMapping categoryFileMapping, ::Bedrock::Resources::CategoryMergeStrategyFactory<::LoadedResourceData, ::ResourceMergeOptions > mergeStrategyFactory)