Пример #1
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);
 }
Пример #2
0
 public override void ReadFromStream(Stream aStream)
 {
     base.ReadFromStream(aStream);
     Metadata = MetadataDict.ReadFromStream(aStream);
 }