API ReferenceSandbox
FileSystemclass
A filesystem that can be accessed by the game.
object→FileSystem
Methods2
Showing 2 methods
public static Sandbox.BaseFileSystem CreateMemoryFileSystem()
Create a filesystem that exists only in memory
public static string NormalizeFilename(string filepath)
Normalizes given file path so the game's filesystem can understand it. Fixes slashes and lowercases the file path.
| Parameter | Type | Description |
|---|---|---|
| filepath | string | The file path to normalize |
Returns:
stringThe normalized file pathNo results match this filter.
Properties3
Showing 3 properties
public static Sandbox.BaseFileSystem Sandbox.FileSystem.Data { get; set; }
A subset of `Sandbox.FileSystem.OrganizationData` for custom gamemode data.
public static Sandbox.BaseFileSystem Sandbox.FileSystem.Mounted { get; set; }
All mounted content.
public static Sandbox.BaseFileSystem Sandbox.FileSystem.OrganizationData { get; set; }
A filesystem for custom data, per gamemode's organization.
No results match this filter.