コード例 #1
0
        protected override Interior loadUnguarded(string key)
        {
            if (Thread.CurrentThread.ManagedThreadId == 1)
            {
                GameConsole.WriteLine("ChunkLoading", "Interior " + key + " loaded in main thread");
            }

            var interior = WorldLoader.LoadInterior(key);

            interior.Connected = true;

            return(interior);
        }