From 7ba42dff44d5a4acd3ed69f104861c34c6a13844 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Tue, 25 Apr 2017 21:46:07 -0400 Subject: [PATCH] Update IFileSystem. --- public/filesystem.h | 2 ++ public/filesystem_passthru.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/public/filesystem.h b/public/filesystem.h index 0db0a8f2..a806f320 100644 --- a/public/filesystem.h +++ b/public/filesystem.h @@ -513,6 +513,8 @@ public: // If there are currently no search paths with the specified path ID, then it will still // remember it in case you add search paths with this path ID. virtual void MarkPathIDByRequestOnly( const char *pPathID, bool bRequestOnly ) = 0; + + virtual bool BUnknown() = 0; // converts a partial path into a full path virtual const char *RelativePathToFullPath( const char *pFileName, const char *pPathID, char *pLocalPath, int localPathBufferSize, PathTypeFilter_t pathFilter = FILTER_NONE, PathTypeQuery_t *pPathType = NULL ) = 0; diff --git a/public/filesystem_passthru.h b/public/filesystem_passthru.h index 8a589974..357cf0d4 100644 --- a/public/filesystem_passthru.h +++ b/public/filesystem_passthru.h @@ -276,6 +276,8 @@ public: { return m_pFileSystemPassThru->CheckVPKFileHash( PackFileID, nPackFileNumber, nFileFraction, md5Value ); } virtual void GetVPKFileStatisticsKV( KeyValues *pKV ) { m_pFileSystemPassThru->GetVPKFileStatisticsKV( pKV ); } + + virtual bool BUnknown() { return m_pFileSystemPassThru->BUnknown(); } protected: IFileSystem *m_pFileSystemPassThru;