public override bool TryGetFile(string path, out FileFile value) { if (m_root == null) { LoadTree(); } return(m_root.TryGetFile(path, out value)); }
public override bool TryGetFile(string path, out FileFile value) { ItemBankFolder folder; string name; if (!FollowPath(path, out folder, out name) || !folder.m_files.TryGetValue(name, out value)) { value = null; return(false); } return(true); }
public override bool TryGetFile(string path, out FileFile value) { ZipFileFolder folder; string name; if (FollowPath(path, out folder, out name)) { if (folder.mFiles.TryGetValue(name, out value)) { return(true); } } value = null; return(false); }
public override bool TryGetFile(string path, out FileFile value) { value = null; string physicalPath = ToPhysicalPath(path); if (!File.Exists(physicalPath)) { return(false); } string rootedName = ToRootedName(path); string name = ToName(path); value = new FsFile(physicalPath, rootedName, name); return(true); }
public override bool TryGetFile(string path, out FileFile value) { return(mRoot.TryGetFile(path, out value)); }
public abstract bool TryGetFile(string path, out FileFile value);