mirror of
https://github.com/Facepunch/sbox-public.git
synced 2026-01-22 21:29:26 -05:00
This commit imports the C# engine code and game files, excluding C++ source code. [Source-Commit: ceb3d758046e50faa6258bc3b658a30c97743268]
23 lines
398 B
C#
23 lines
398 B
C#
namespace Sandbox.Mounting;
|
|
|
|
public ref struct MountContext
|
|
{
|
|
private BaseGameMount source;
|
|
|
|
internal MountContext( BaseGameMount source )
|
|
{
|
|
this.source = source;
|
|
}
|
|
|
|
// progress output, error recording etc
|
|
public void AddError( string v )
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
public void Add( ResourceType type, string path, ResourceLoader entry )
|
|
{
|
|
entry.InitializeInternal( type, path, source );
|
|
}
|
|
}
|