Example #1
0
 public override void ReadFromStream(Stream aStream)
 {
     EntityID = aStream.ReadInt ();
     Animate = aStream.ReadByte2 ();
 }
Example #2
0
 public override void ReadFromStream(Stream aStream)
 {
     EntityID = aStream.ReadInt ();
     UserName = aStream.ReadString16 ();
     MapSeed = aStream.ReadLong ();
     Dimension = aStream.ReadByte2 ();
 }
Example #3
0
 public override void ReadFromStream(Stream aStream)
 {
     base.ReadFromStream (aStream);
     Status = aStream.ReadByte2 ();
 }
Example #4
0
 public override void ReadFromStream(Stream aStream)
 {
     base.ReadFromStream (aStream);
     X = aStream.ReadInt ();
     Y = aStream.ReadInt ();
     Z = aStream.ReadInt ();
     Yaw = aStream.ReadByte2 ();
     Pitch = aStream.ReadByte2 ();
 }
Example #5
0
 public override void ReadFromStream(Stream aStream)
 {
     EntityID = aStream.ReadInt ();
     InBed = aStream.ReadByte2 ();
     X = aStream.ReadInt ();
     Y = aStream.ReadByte2 ();
     Z = aStream.ReadInt ();
 }
Example #6
0
 public override void ReadFromStream(Stream aStream)
 {
     base.ReadFromStream (aStream);
     dX = aStream.ReadByte2 ();
     dY = aStream.ReadByte2 ();
     dZ = aStream.ReadByte2 ();
 }
Example #7
0
 public override void ReadFromStream(Stream aStream)
 {
     Status = (DigStatus)aStream.ReadByte ();
     X = aStream.ReadInt ();
     Y = aStream.ReadByte2 ();
     Z = aStream.ReadInt ();
     Face = aStream.ReadFace ();
 }
Example #8
0
 public override void ReadFromStream(Stream aStream)
 {
     X = aStream.ReadInt ();
     Y = aStream.ReadByte2 ();
     Z = aStream.ReadInt ();
     Direction = aStream.ReadFace ();
     ItemID = aStream.ReadShort ();
     if (ItemID >= 0) {
         Amount = aStream.ReadByte2 ();
         Damage = aStream.ReadShort ();
     }
 }
Example #9
0
 public override void ReadFromStream(Stream aStream)
 {
     EntityID = aStream.ReadInt ();
     ItemID = aStream.ReadShort ();
     Count = aStream.ReadByte2 ();
     DamageData = aStream.ReadShort ();
     X = aStream.ReadInt ();
     Y = aStream.ReadInt ();
     Z = aStream.ReadInt ();
     Rotation = aStream.ReadByte2 ();
     Pitch = aStream.ReadByte2 ();
     Roll = aStream.ReadByte2 ();
 }
Example #10
0
 public override void ReadFromStream(Stream aStream)
 {
     EntityID = aStream.ReadInt ();
     PlayerName = aStream.ReadString16 ();
     X = aStream.ReadInt ();
     Y = aStream.ReadInt ();
     Z = aStream.ReadInt ();
     Rotation = aStream.ReadByte2 ();
     Pitch = aStream.ReadByte2 ();
     CurrentItem = aStream.ReadShort ();
 }
Example #11
0
 public override void ReadFromStream(Stream aStream)
 {
     EntityID = aStream.ReadInt ();
     Type = aStream.ReadMobType ();
     X = aStream.ReadInt ();
     Y = aStream.ReadInt ();
     Z = aStream.ReadInt ();
     Yaw = aStream.ReadByte2 ();
     Pitch = aStream.ReadByte2 ();
     Metadata = MetadataDict.ReadFromStream (aStream);
 }