Example #1
0
 public void ReadPacket(IMinecraftStream stream)
 {
     X       = stream.ReadInt32();
     Y       = stream.ReadInt16();
     Z       = stream.ReadInt32();
     Text    = new string[4];
     Text[0] = stream.ReadString();
     Text[1] = stream.ReadString();
     Text[2] = stream.ReadString();
     Text[3] = stream.ReadString();
 }
Example #2
0
 public void ReadPacket(IMinecraftStream stream)
 {
     X = stream.ReadInt32();
     Y = stream.ReadInt16();
     Z = stream.ReadInt32();
     Text = new string[4];
     Text[0] = stream.ReadString();
     Text[1] = stream.ReadString();
     Text[2] = stream.ReadString();
     Text[3] = stream.ReadString();
 }
Example #3
0
 public void ReadPacket(IMinecraftStream stream)
 {
     ProtocolVersion = stream.ReadInt32();
     Username        = stream.ReadString();
     stream.ReadInt64(); // Unused
     stream.ReadInt8();  // Unused
 }
Example #4
0
 public void ReadPacket(IMinecraftStream stream)
 {
     EntityID = stream.ReadInt32();
     stream.ReadString(); // Unused
     Seed = stream.ReadInt64();
     Dimension = (Dimension)stream.ReadInt8();
 }
Example #5
0
 public void ReadPacket(IMinecraftStream stream)
 {
     EntityID = stream.ReadInt32();
     stream.ReadString(); // Unused
     Seed      = stream.ReadInt64();
     Dimension = (Dimension)stream.ReadInt8();
 }
Example #6
0
 public void ReadPacket(IMinecraftStream stream)
 {
     ProtocolVersion = stream.ReadInt32();
     Username = stream.ReadString();
     stream.ReadInt64(); // Unused
     stream.ReadInt8();  // Unused
 }
Example #7
0
 public void ReadPacket(IMinecraftStream stream)
 {
     EntityID = stream.ReadInt32();
     PaintingName = stream.ReadString();
     X = stream.ReadInt32();
     Y = stream.ReadInt32();
     Z = stream.ReadInt32();
     Direction = (PaintingDirection)stream.ReadInt32();
 }
 public void ReadPacket(IMinecraftStream stream)
 {
     EntityID     = stream.ReadInt32();
     PaintingName = stream.ReadString();
     X            = stream.ReadInt32();
     Y            = stream.ReadInt32();
     Z            = stream.ReadInt32();
     Direction    = (PaintingDirection)stream.ReadInt32();
 }
Example #9
0
 public void ReadPacket(IMinecraftStream stream)
 {
     EntityID    = stream.ReadInt32();
     PlayerName  = stream.ReadString();
     X           = stream.ReadInt32();
     Y           = stream.ReadInt32();
     Z           = stream.ReadInt32();
     Yaw         = stream.ReadInt8();
     Pitch       = stream.ReadInt8();
     CurrentItem = stream.ReadInt16();
 }
Example #10
0
 public void ReadPacket(IMinecraftStream stream)
 {
     EntityID = stream.ReadInt32();
     PlayerName = stream.ReadString();
     X = stream.ReadInt32();
     Y = stream.ReadInt32();
     Z = stream.ReadInt32();
     Yaw = stream.ReadInt8();
     Pitch = stream.ReadInt8();
     CurrentItem = stream.ReadInt16();
 }
Example #11
0
 public void ReadPacket(IMinecraftStream stream)
 {
     Username = stream.ReadString();
 }
Example #12
0
 public void ReadPacket(IMinecraftStream stream)
 {
     Message = stream.ReadString();
 }
Example #13
0
 public override void FromStream(IMinecraftStream stream)
 {
     Value = stream.ReadString();
 }
Example #14
0
 public void ReadPacket(IMinecraftStream stream)
 {
     Username = stream.ReadString();
 }
Example #15
0
 public override void FromStream(IMinecraftStream stream)
 {
     Value = stream.ReadString();
 }
Example #16
0
 public void ReadPacket(IMinecraftStream stream)
 {
     ConnectionHash = stream.ReadString();
 }
Example #17
0
 public void ReadPacket(IMinecraftStream stream)
 {
     Reason = stream.ReadString();
 }
Example #18
0
 public void ReadPacket(IMinecraftStream stream)
 {
     Message = stream.ReadString();
 }
 public void ReadPacket(IMinecraftStream stream)
 {
     ConnectionHash = stream.ReadString();
 }
Example #20
0
 public void ReadPacket(IMinecraftStream stream)
 {
     Reason = stream.ReadString();
 }