// Token: 0x06001A1F RID: 6687 RVA: 0x0006FC58 File Offset: 0x0006DE58
        protected override Stream OpenFileImpl(UPath path, FileMode mode, FileAccess access, FileShare share)
        {
            SteamworksRemoteStorageFileSystem.EnterFileSystemShared();
            if (!path.IsAbsolute)
            {
                throw new ArgumentException(string.Format("'{0}' must be absolute. {0} = {1}", "path", path));
            }
            Stream result;

            try
            {
                bool flag = false;
                switch (mode)
                {
                case FileMode.CreateNew:
                    flag = true;
                    break;

                case FileMode.Create:
                    flag = true;
                    break;

                case FileMode.Append:
                    throw new NotImplementedException();
                }
                flag &= (access == FileAccess.Write);
                if (flag)
                {
                    this.treeIsDirty = true;
                    result           = SteamworksRemoteStorageFileSystem.remoteStorage.CreateFile(path.ToRelative().FullName).OpenWrite();
                }
                else if (access != FileAccess.Read)
                {
                    if (access != FileAccess.Write)
                    {
                        throw new NotImplementedException();
                    }
                    SteamworksRemoteStorageFileSystem.FileNode fileNode = this.GetFileNode(path);
                    result = ((fileNode != null) ? fileNode.OpenWrite() : null);
                }
                else
                {
                    SteamworksRemoteStorageFileSystem.FileNode fileNode2 = this.GetFileNode(path);
                    result = ((fileNode2 != null) ? fileNode2.OpenRead() : null);
                }
            }
            finally
            {
                SteamworksRemoteStorageFileSystem.ExitFileSystemShared();
            }
            return(result);
        }
        // Token: 0x06001A1B RID: 6683 RVA: 0x0006FBB8 File Offset: 0x0006DDB8
        protected override long GetFileLengthImpl(UPath path)
        {
            int num = 0;

            SteamworksRemoteStorageFileSystem.EnterFileSystemShared();
            try
            {
                this.UpdateDirectories();
                SteamworksRemoteStorageFileSystem.FileNode fileNode = this.GetFileNode(path);
                num = ((fileNode != null) ? fileNode.GetLength() : 0);
            }
            finally
            {
                SteamworksRemoteStorageFileSystem.ExitFileSystemShared();
            }
            return((long)num);
        }
 // Token: 0x06001A1E RID: 6686 RVA: 0x0006FC14 File Offset: 0x0006DE14
 protected override void DeleteFileImpl(UPath path)
 {
     SteamworksRemoteStorageFileSystem.EnterFileSystemShared();
     try
     {
         this.treeIsDirty = true;
         SteamworksRemoteStorageFileSystem.FileNode fileNode = this.GetFileNode(path);
         if (fileNode != null)
         {
             fileNode.Delete();
         }
     }
     finally
     {
         SteamworksRemoteStorageFileSystem.ExitFileSystemShared();
     }
 }
 // Token: 0x06001A28 RID: 6696 RVA: 0x0006FD44 File Offset: 0x0006DF44
 private SteamworksRemoteStorageFileSystem.FileNode AddFileToTree(string path)
 {
     SteamworksRemoteStorageFileSystem.FileNode fileNode = new SteamworksRemoteStorageFileSystem.FileNode(path);
     this.AddNodeToTree(fileNode);
     return(fileNode);
 }