Adds BufferReader and BufferWriter. Updates UOP handling. (#101)

This commit is contained in:
Kamron Batman 2020-04-12 21:33:24 -07:00 • committed by GitHub
parent 2c0d97cd36
commit 038c3be258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 2458 additions and 2185 deletions

View file

@ -1,14 +1,14 @@
namespace Server.Misc
{
public class Broadcasts
public static class Broadcasts
{
public static void Initialize()
{
EventSink.Crashed += EventSink_Crashed;
EventSink.ServerCrashed += EventSink_Crashed;
EventSink.Shutdown += EventSink_Shutdown;
}
public static void EventSink_Crashed(CrashedEventArgs e)
public static void EventSink_Crashed(ServerCrashedEventArgs e)
{
try
{
@ -20,16 +20,16 @@ namespace Server.Misc
}
}
public static void EventSink_Shutdown(ShutdownEventArgs e)
public static void EventSink_Shutdown()
{
/* try
{
World.Broadcast(0x35, true, "The server has shut down.");
}
catch
{
// ignored
}*/
/* try
{
World.Broadcast(0x35, true, "The server has shut down.");
}
catch
{
// ignored
}*/
}
}
}