* Re-wrote the Server code again. Now much more reliable and passes all connections to the ConnectionManager properly.
* StandardCharacter re-wrote to support the new Server code. Also added event method support for various states. * ConnectionManager re-wrote to support the new server. * Work on Log message importance started * INetworked.Connect now requires a Socket as its parameter. * StandardGame no longer has Properties for MaxConnections and MaxQueuedConnections. This is handle via StandardGame.Start() parameters. * CommandLogin command added. Initial check-in and not fully implemented.
This commit is contained in:
parent
5b141c62ed
commit
27f7e31772
12 changed files with 314 additions and 163 deletions
|
@ -11,6 +11,16 @@ namespace MudEngine.Core
|
|||
/// </summary>
|
||||
public static class Logger
|
||||
{
|
||||
public enum Importance
|
||||
{
|
||||
Critical = 0,
|
||||
Error = 1,
|
||||
Warning = 2,
|
||||
Information = 3,
|
||||
Chat = 4,
|
||||
All = 5
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The Log Filename for the engine log.
|
||||
/// </summary>
|
||||
|
@ -42,6 +52,10 @@ namespace MudEngine.Core
|
|||
_Messages.Clear();
|
||||
}
|
||||
|
||||
public static void WriteLine(String message, Importance importance)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Writes a single line to the engine log file.
|
||||
/// </summary>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue