terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
CacheFileManager Class Reference
+ Inheritance diagram for CacheFileManager:
+ Collaboration diagram for CacheFileManager:

Public Member Functions

 CacheFileManager (FileManager fileMan, FileAPI api, bool primaryUser, PlatformUser user)
 
void Shutdown ()
 
void ResyncFiles ()
 
void FileSyncInternal (object threadContext)
 
void SyncFile (string filePath)
 
string GetUserSavePath ()
 
void LegacySync ()
 
void Mount (bool forSync)
 
void Unmount (bool forSync)
 
void CreateDirectory (string directory)
 
void InSync ()
 
void WriteFile (string filename, byte[] fileData)
 
void Delete (string filename)
 
byte[] ReadFile (string filename)
 
string CleanPath (string path)
 
string[] GetFiles (string path, string searchPattern)
 
string[] GetFolders (string path)
 
void GetFileModifications (List< CachedFile > files)
 
bool Exists (string filename)
 
void SetAttributes (string filename, FileAttributes fileAttributes)
 

Public Attributes

bool UploadingFiles
 

Private Member Functions

void SyncFolder (string folderPath, bool recursive=false)
 
CachedFile GetFile (string path, bool create=true)
 
void FileUpload (object threadContext)
 

Private Attributes

List< CachedFileallFiles
 
List< CachedFilemodifications
 
ManualResetEvent uploadPending
 
readonly FileManager fileManager
 
readonly FileAPI fileAPI
 
readonly bool PrimaryUser
 
readonly PlatformUser User
 
ManagedThread UploadThread
 
ManagedThread SyncThread
 
string _userSavePath
 

Detailed Description

Definition at line 13 of file CacheFileManager.cs.


The documentation for this class was generated from the following file: