/// <summary> /// Creates the VPK required to extract VPK files. /// </summary> /// <param name="VPKLocation">The location of the VPK files.</param> /// <returns>True on success, false on failure.</returns> public bool CreateIndex(string VPKLocation) { try { VPKIndex index = new VPKIndex(VPKLocation); return true; } catch { return false; } }
/// <summary> /// Creates a new instance of the VPKIndexEnumerator class. /// </summary> /// <param name="Index"></param> public VPKIndexEnumerator(VPKIndex Index) { indexObject = Index; }