Ejemplo n.º 1
0
 /// <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;
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the VPKIndexEnumerator class.
 /// </summary>
 /// <param name="Index"></param>
 public VPKIndexEnumerator(VPKIndex Index)
 {
     indexObject = Index;
 }