Skip to content

Commit f1f0590

Browse files
accurate comments
1 parent 876d210 commit f1f0590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fCraft/Network/Packet.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public Packet( [NotNull] byte[] rawBytes ) {
4545
/// <param name="player"> Player to whom this packet is being sent.
4646
/// Used to determine DeleteAdmincrete permission, for client-side checks. May not be null. </param>
4747
/// <param name="motd"> Message-of-the-day (text displayed below the server name). May not be null. </param>
48-
/// <param name="hasCP437"> If packet contains characters from CodePage 437 </param>
48+
/// <param name="hasCP437"> Whether client supports extended code page 437 characters. </param>
4949
/// <exception cref="ArgumentNullException"> player, serverName, or motd is null </exception>
5050
public static Packet MakeHandshake( [NotNull] Player player, [NotNull] string serverName, [NotNull] string motd, bool hasCP437 ) {
5151
if( serverName == null ) throw new ArgumentNullException( "serverName" );
@@ -183,7 +183,7 @@ public static Packet MakeRemoveEntity( sbyte id ) {
183183
/// <param name="type"> Message type. </param>
184184
/// <param name="message"> Message. </param>
185185
/// <param name="useFallbacks"> whether or not to use color fallback codes. </param>
186-
/// <param name="hasCP437"> If packet contains characters from CodePage 437 </param>
186+
/// <param name="hasCP437"> Whether client supports extended code page 437 characters. </param>
187187
public static Packet Message(byte type, string message, bool useFallbacks, bool hasCP437) {
188188
Packet packet = new Packet(OpCode.Message);
189189
packet.Bytes[1] = type;
@@ -199,7 +199,7 @@ public static Packet Message(byte type, string message, Player player) {
199199

200200
/// <summary> Creates a new Kick (0x0E) packet. </summary>
201201
/// <param name="reason"> Given reason. Only first 64 characters will be sent. May not be null. </param>
202-
/// <param name="hasCP437"> If packet contains characters from CodePage 437 </param>
202+
/// <param name="hasCP437"> Whether client supports extended code page 437 characters. </param>
203203
/// <exception cref="ArgumentNullException"> reason is null </exception>
204204
public static Packet MakeKick( [NotNull] string reason, bool hasCP437 ) {
205205
if( reason == null ) throw new ArgumentNullException( "reason" );

0 commit comments

Comments
 (0)