diff --git a/.travis.yml b/.travis.yml
index fe45b8b..07c76d1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,6 +3,10 @@ solution: ProCraft.sln
notifications:
slack:
on_success: change
+ irc:
+ channels:
+ - "irc.esper.net#ProCraft"
+ on_success: change
script:
- loc_=/home/travis/build/123DMWM/ProCraft/bin/Release/
- ploc_=/home/travis/build/123DMWM/ProCraft/
diff --git a/fCraft/Network/Packet.cs b/fCraft/Network/Packet.cs
index 2d98a9c..7b2428f 100644
--- a/fCraft/Network/Packet.cs
+++ b/fCraft/Network/Packet.cs
@@ -45,6 +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
/// 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" );
@@ -78,6 +79,8 @@ public partial struct Packet {
/// Entity ID. Negative values refer to "self".
/// Entity name. May not be null.
/// Spawning position for the player.
+ /// If packet contains characters from CodePage 437
+ /// If player supports Extended Positions
/// name is null
public static Packet MakeAddEntity( sbyte id, [NotNull] string name, Position spawn,
bool hasCP437, bool extPos ) {
@@ -100,6 +103,7 @@ public partial struct Packet {
/// Creates a new Teleport (0x08) packet.
/// Entity ID. Negative values refer to "self".
/// Position to teleport the entity to.
+ /// If player supports Extended Positions
public static Packet MakeTeleport( sbyte id, Position newPosition, bool extPos ) {
int size = PacketSizes[(byte)OpCode.Teleport];
if (extPos) size += 6;
@@ -116,6 +120,7 @@ public partial struct Packet {
/// Creates a new Teleport (0x08) packet, and sets ID to -1 ("self").
/// Position to teleport player to.
+ /// If player supports Extended Positions
public static Packet MakeSelfTeleport( Position newPosition, bool extPos ) {
return MakeTeleport( -1, newPosition.GetFixed(), extPos );
}
@@ -178,6 +183,7 @@ public partial struct Packet {
/// Message type.
/// Message.
/// whether or not to use color fallback codes.
+ /// If packet contains characters from CodePage 437
public static Packet Message(byte type, string message, bool useFallbacks, bool hasCP437) {
Packet packet = new Packet(OpCode.Message);
packet.Bytes[1] = type;
@@ -193,6 +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
/// reason is null
public static Packet MakeKick( [NotNull] string reason, bool hasCP437 ) {
if( reason == null ) throw new ArgumentNullException( "reason" );