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
|
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< CachedFile > | allFiles |
List< CachedFile > | modifications |
ManualResetEvent | uploadPending |
readonly FileManager | fileManager |
readonly FileAPI | fileAPI |
readonly bool | PrimaryUser |
readonly PlatformUser | User |
ManagedThread | UploadThread |
ManagedThread | SyncThread |
string | _userSavePath |
Definition at line 13 of file CacheFileManager.cs.