mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-06 21:38:32 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
16 lines
472 B
C#
16 lines
472 B
C#
namespace Sandbox;
|
|
|
|
/// <summary>
|
|
/// A filesystem that redirects a package's local paths to the actual files in a download cache
|
|
/// </summary>
|
|
internal class PackageFileSystem : BaseFileSystem
|
|
{
|
|
internal Sandbox.Internal.RedirectFileSystem Redirect => system as Sandbox.Internal.RedirectFileSystem;
|
|
|
|
internal PackageFileSystem()
|
|
{
|
|
// Files are all lowercase in manifests, so ignore case in comparer
|
|
system = AssetDownloadCache.CreateRedirectFileSystem();
|
|
}
|
|
}
|