Beispiel #1
0
        /// <inheritdoc />
        public override bool TryGetWorldProvider(ServerConnectionDetails connectionDetails, PlayerProfile profile,
                                                 out WorldProvider worldProvider,
                                                 out NetworkProvider networkProvider)
        {
            worldProvider = new BedrockWorldProvider(Alex, connectionDetails.EndPoint,
                                                     profile, out networkProvider);

            return(true);
        }
        /// <inheritdoc />
        public override bool TryGetWorldProvider(ServerConnectionDetails connectionDetails, PlayerProfile profile,
                                                 out WorldProvider worldProvider,
                                                 out NetworkProvider networkProvider)
        {
            worldProvider = new BedrockWorldProvider(Alex, connectionDetails.EndPoint,
                                                     profile, new DedicatedThreadPool(new DedicatedThreadPoolSettings(4, "Bedrock Thread")), out networkProvider);

            return(true);
        }