public void AnalyzeCommand(string[] args) { NetworkDevice device = TerminalNetwork.GetCurrentDevice(); NetworkFirewall wall = device.networkNode.FireWall; if (wall == null) { TerminalCore.AddMessage("\t- " + TerminalColourScheme.FormatText("No Firewall Detected.", TerminalStyle.TEXT)); return; } NetworkFirewall.FirewallLevel level = wall.GetNextClosedFirewall(); consoleLine = TerminalCore.AddCachedMessage("\t- Guess: " + level.CurrentGuess); }
private IEnumerator DisconnectAnim() { CachedConsoleLine line = TerminalCore.AddCachedMessage("DC"); yield return(new WaitForSeconds(0.3f)); line.ConsoleLine = "<color=orange>Disconnecting...</color >"; Disconnect(); yield return(new WaitForSeconds(0.3f)); line.ConsoleLine = "Establishing Connection..."; yield return(new WaitForSeconds(0.3f)); line.ConsoleLine = "Connected To Host."; }