aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ServerConsole/ServerConsole/ServerConsole.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ServerConsole/ServerConsole/ServerConsole.cs')
-rw-r--r--src/ServerConsole/ServerConsole/ServerConsole.cs22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/ServerConsole/ServerConsole/ServerConsole.cs b/src/ServerConsole/ServerConsole/ServerConsole.cs
index 93c8114..27d97e5 100644
--- a/src/ServerConsole/ServerConsole/ServerConsole.cs
+++ b/src/ServerConsole/ServerConsole/ServerConsole.cs
@@ -43,12 +43,7 @@ namespace ServerConsole
43 instance = value; 43 instance = value;
44 } 44 }
45 } 45 }
46 46 }
47 public MainConsole()
48 {
49
50 }
51 }
52 47
53 public abstract class ConsoleBase 48 public abstract class ConsoleBase
54 { 49 {
@@ -60,16 +55,15 @@ namespace ServerConsole
60 } 55 }
61 56
62 public abstract void Close(); 57 public abstract void Close();
63 58
64 // You know what ReadLine() and WriteLine() do, right? And Read() and Write()? Right, you do actually know C#, right? Are you actually a programmer? Do you know english? Do you find my sense of humour in comments irritating? Good, glad you're still here 59 public abstract void Write(string format, params object[] args);
65 public abstract void WriteLine(string Line) ; 60
66 61 public abstract void WriteLine(string format, params object[] args);
62
67 public abstract string ReadLine(); 63 public abstract string ReadLine();
68 64
69 public abstract int Read() ; 65 public abstract int Read() ;
70 66
71 public abstract void Write(string Line) ;
72
73 // Displays a command prompt and waits for the user to enter a string, then returns that string 67 // Displays a command prompt and waits for the user to enter a string, then returns that string
74 public abstract string CmdPrompt(string prompt) ; 68 public abstract string CmdPrompt(string prompt) ;
75 69
@@ -87,5 +81,7 @@ namespace ServerConsole
87 81
88 // Displays a prompt to the user and then runs the command they entered 82 // Displays a prompt to the user and then runs the command they entered
89 public abstract void MainConsolePrompt() ; 83 public abstract void MainConsolePrompt() ;
90 } 84
85 public abstract void SetStatus( string status );
86 }
91} 87}