Example #1
0
 public override void WriteToStream(Stream aStream)
 {
     base.WriteToStream (aStream);
     aStream.WriteFloat(A);
     aStream.WriteFloat (B);
     aStream.WriteBoolean (C);
     aStream.WriteBoolean (D);
     aStream.WriteFloat (E);
     aStream.WriteFloat (F);
 }
Example #2
0
        public override void WriteToStream(Stream aStream)
        {
            base.WriteToStream (aStream);

            aStream.WriteDouble (X);
            aStream.WriteDouble (Stance);
            aStream.WriteDouble (Y);
            aStream.WriteDouble (Z);
            aStream.WriteFloat (Yaw);
            aStream.WriteFloat (Pitch);
            aStream.WriteBoolean (OnGround);
        }