// Token: 0x06001ABE RID: 6846 RVA: 0x0007183A File Offset: 0x0006FA3A
        private static void OnStopServer()
        {
            SteamworksServerManager steamworksServerManager = SteamworksServerManager.instance;

            if (steamworksServerManager != null)
            {
                steamworksServerManager.Dispose();
            }
            SteamworksServerManager.instance = null;
        }
        private static void CCSteamServerPrintInfo(ConCommandArgs args)
        {
            SteamworksServerManager steamworksServerManager = SteamworksServerManager.instance;
            Server server = (steamworksServerManager != null) ? steamworksServerManager.steamworksServer : null;

            if (server == null)
            {
                throw new ConCommandException("No Steamworks server is running.");
            }
            Debug.Log("" + string.Format("IsValid={0}\n", server.IsValid) + string.Format("Product={0}\n", server.Product) + string.Format("ModDir={0}\n", server.ModDir) + string.Format("SteamId={0}\n", server.SteamId) + string.Format("DedicatedServer={0}\n", server.DedicatedServer) + string.Format("LoggedOn={0}\n", server.LoggedOn) + string.Format("ServerName={0}\n", server.ServerName) + string.Format("PublicIp={0}\n", server.PublicIp) + string.Format("Passworded={0}\n", server.Passworded) + string.Format("MaxPlayers={0}\n", server.MaxPlayers) + string.Format("BotCount={0}\n", server.BotCount) + string.Format("MapName={0}\n", server.MapName) + string.Format("GameDescription={0}\n", server.GameDescription) + string.Format("GameTags={0}\n", server.GameTags));
        }
        private static void CCSteamServerForceHeartbeat(ConCommandArgs args)
        {
            SteamworksServerManager steamworksServerManager = SteamworksServerManager.instance;
            Server server = (steamworksServerManager != null) ? steamworksServerManager.steamworksServer : null;

            if (server == null)
            {
                throw new ConCommandException("No Steamworks server is running.");
            }
            server.ForceHeartbeat();
        }
        // Token: 0x06001ABD RID: 6845 RVA: 0x000717FE File Offset: 0x0006F9FE
        private static void OnStartServer()
        {
            SteamworksServerManager steamworksServerManager = SteamworksServerManager.instance;

            if (steamworksServerManager != null)
            {
                steamworksServerManager.Dispose();
            }
            SteamworksServerManager.instance = null;
            if (NetworkServer.dontListen)
            {
                return;
            }
            SteamworksServerManager.instance = new SteamworksServerManager();
            if (SteamworksServerManager.instance.disposed)
            {
                SteamworksServerManager.instance = null;
            }
        }