private static void WriteMdbPacket(this BinaryWriter writer, MdbPacket_HAIR packet)
 {
     writer.Write(packet.Name);
     writer.Write(packet.HairShorteningBehavior);
     writer.Write(packet.Position);
     writer.Write(packet.Rotation);
 }
        private static MdbPacket_HAIR ReadMdbPacket_HAIR(this BinaryReader reader, UInt32 size)
        {
            var ret = new MdbPacket_HAIR();

            ret.Name = reader.ReadName32();
            ret.HairShorteningBehavior = reader.ReadUInt32();
            ret.Position = reader.ReadPoint3();
            ret.Rotation = reader.ReadRHMatrix();

            return(ret);
        }