Deprecated PacketBufferer as its function is now fulfilled by SendQ

This commit is contained in:
White 2015-11-23 11:50:24 +10:30
parent 7d4a96cfee
commit 9c7d0f08e2
4 changed files with 37 additions and 33 deletions

View file

@ -100,6 +100,7 @@ namespace TShockAPI
/// <summary>OverridePort - Determines if TShock should override the server port.</summary>
public static bool OverridePort;
/// <summary>PacketBuffer - Static reference to the packet bufferer system, which buffers packets to clients for better performance.</summary>
[Obsolete("PacketBufferer is no longer used", true)]
public static PacketBufferer PacketBuffer;
/// <summary>Geo - Static reference to the GeoIP system which determines the location of an IP address.</summary>
public static GeoIPCountry Geo;
@ -322,9 +323,6 @@ namespace TShockAPI
if (Config.RestApiEnabled)
RestApi.Start();
if (Config.BufferPackets)
PacketBuffer = new PacketBufferer(this);
Log.ConsoleInfo("AutoSave " + (Config.AutoSave ? "Enabled" : "Disabled"));
Log.ConsoleInfo("Backups " + (Backups.Interval > 0 ? "Enabled" : "Disabled"));