From f1f0590404deb847b15359c61ff322f4b529d470 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Thu, 1 Jun 2017 13:49:23 +1000 Subject: [PATCH] accurate comments --- fCraft/Network/Packet.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fCraft/Network/Packet.cs b/fCraft/Network/Packet.cs index 7b2428f..5aab131 100644 --- a/fCraft/Network/Packet.cs +++ b/fCraft/Network/Packet.cs @@ -45,7 +45,7 @@ public partial struct Packet { /// Player to whom this packet is being sent. /// Used to determine DeleteAdmincrete permission, for client-side checks. May not be null. /// Message-of-the-day (text displayed below the server name). May not be null. - /// If packet contains characters from CodePage 437 + /// Whether client supports extended code page 437 characters. /// player, serverName, or motd is null public static Packet MakeHandshake( [NotNull] Player player, [NotNull] string serverName, [NotNull] string motd, bool hasCP437 ) { if( serverName == null ) throw new ArgumentNullException( "serverName" ); @@ -183,7 +183,7 @@ public partial struct Packet { /// Message type. /// Message. /// whether or not to use color fallback codes. - /// If packet contains characters from CodePage 437 + /// Whether client supports extended code page 437 characters. public static Packet Message(byte type, string message, bool useFallbacks, bool hasCP437) { Packet packet = new Packet(OpCode.Message); packet.Bytes[1] = type; @@ -199,7 +199,7 @@ public partial struct Packet { /// Creates a new Kick (0x0E) packet. /// Given reason. Only first 64 characters will be sent. May not be null. - /// If packet contains characters from CodePage 437 + /// Whether client supports extended code page 437 characters. /// reason is null public static Packet MakeKick( [NotNull] string reason, bool hasCP437 ) { if( reason == null ) throw new ArgumentNullException( "reason" );