private static void WriteMdbPacket(this BinaryWriter writer, MdbPacket_HOOK packet)
 {
     writer.Write(packet.Name);
     writer.Write(packet.HookType);
     writer.Write(packet.HookSize);
     writer.Write(packet.Position);
     writer.Write(packet.RotationMatrix);
 }
        private static MdbPacket_HOOK ReadMdbPacket_HOOK(this BinaryReader reader, UInt32 size)
        {
            var ret = new MdbPacket_HOOK();

            ret.Name           = reader.ReadName32();
            ret.HookType       = reader.ReadUInt16();
            ret.HookSize       = reader.ReadUInt16();
            ret.Position       = reader.ReadPoint3();
            ret.RotationMatrix = reader.ReadRHMatrix();

            return(ret);
        }