public static void Init_Tier0() { RunDefaults(); GameSetup.RunOnce = true; bootstrapInitRun = true; ConsoleSystem.Index.Initialize(ConsoleGen.All); UnityButtons.Register(); Output.Install(); Facepunch.Pool.ResizeBuffer <Networkable>(65536); Facepunch.Pool.ResizeBuffer <EntityLink>(65536); Facepunch.Pool.FillBuffer <Networkable>(); Facepunch.Pool.FillBuffer <EntityLink>(); SteamNetworking.SetDebugFunction(); if (Facepunch.CommandLine.HasSwitch("-swnet")) { NetworkInitSteamworks(false); } else if (Facepunch.CommandLine.HasSwitch("-sdrnet")) { NetworkInitSteamworks(true); } else { NetworkInitRaknet(); } if (!UnityEngine.Application.isEditor) { string text = Facepunch.CommandLine.Full.Replace(Facepunch.CommandLine.GetSwitch("-rcon.password", Facepunch.CommandLine.GetSwitch("+rcon.password", "RCONPASSWORD")), "******"); WriteToLog("Command Line: " + text); } Interface.Initialize(); }