Пример #1
0
        /// <summary>
        /// Creates a RiotArchive instance from a file
        /// </summary>
        /// <param name="path">The path of the RiotArchive with the .raf file extension</param>
        /// <returns>A RiotArchive instance representing the file</returns>
        public static RiotArchive FromFile(string path)
        {
            var archive = new RiotArchive(path);

            archive.Open();
            return(archive);
        }
Пример #2
0
 /// <summary>
 /// Creates a RiotArchive instance from a file
 /// </summary>
 /// <param name="path">The path of the RiotArchive with the .raf file extension</param>
 /// <returns>A RiotArchive instance representing the file</returns>
 public static RiotArchive FromFile(string path)
 {
     var archive = new RiotArchive(path);
     archive.Open();
     return archive;
 }