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, 13 insertions, 9 deletions
diff --git a/src/ServerConsole/ServerConsole/ServerConsole.cs b/src/ServerConsole/ServerConsole/ServerConsole.cs
index 27d97e5..93c8114 100644
--- a/src/ServerConsole/ServerConsole/ServerConsole.cs
+++ b/src/ServerConsole/ServerConsole/ServerConsole.cs
@@ -43,7 +43,12 @@ namespace ServerConsole
43 instance = value; 43 instance = value;
44 } 44 }
45 } 45 }
46 } 46
47 public MainConsole()
48 {
49
50 }
51 }
47 52
48 public abstract class ConsoleBase 53 public abstract class ConsoleBase
49 { 54 {
@@ -55,15 +60,16 @@ namespace ServerConsole
55 } 60 }
56 61
57 public abstract void Close(); 62 public abstract void Close();
58 63
59 public abstract void Write(string format, params object[] args); 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
60 65 public abstract void WriteLine(string Line) ;
61 public abstract void WriteLine(string format, params object[] args); 66
62
63 public abstract string ReadLine(); 67 public abstract string ReadLine();
64 68
65 public abstract int Read() ; 69 public abstract int Read() ;
66 70
71 public abstract void Write(string Line) ;
72
67 // Displays a command prompt and waits for the user to enter a string, then returns that string 73 // Displays a command prompt and waits for the user to enter a string, then returns that string
68 public abstract string CmdPrompt(string prompt) ; 74 public abstract string CmdPrompt(string prompt) ;
69 75
@@ -81,7 +87,5 @@ namespace ServerConsole
81 87
82 // Displays a prompt to the user and then runs the command they entered 88 // Displays a prompt to the user and then runs the command they entered
83 public abstract void MainConsolePrompt() ; 89 public abstract void MainConsolePrompt() ;
84 90 }
85 public abstract void SetStatus( string status );
86 }
87} 91}