class
FileSystem
public static abstract sealed class FileSystem A filesystem that can be accessed by the game.
Properties
| Name | Type | Description |
|---|---|---|
Mounted static | BaseFileSystem | Paths from tool addons which are mounted. |
Root static | BaseFileSystem | Root of the game's folder. |
Temporary static | BaseFileSystem | The engine /game/.source2/ folder for temporary files and caches. |
Config static | BaseFileSystem | The engine /game/config/ folder |
WebCache static | BaseFileSystem | The engine /game/.source2/http/ folder. |
ProjectTemporary static | BaseFileSystem | The current project's .sbox/ folder for temporary files and caches. |
Cloud static | BaseFileSystem | The current project's .sbox/cloud/ folder. We download files from sbox.game right into this filesystem. |
Transient static | BaseFileSystem | The current project's .sbox/transient/ folder. This is where assets are created at runtime. These are assets that are created by another asset,that don't need to be stored in source control or anything - because they can get re-created at will. |
Content static | BaseFileSystem | Content from active addons (and content paths) |
ProjectSettings static | BaseFileSystem | The current project's ProjectSettings folder |
Libraries static | BaseFileSystem | The current project's Libraries folder |
Localization static | BaseFileSystem | The current project's Localization folder |
Methods
static Void SuppressNextHotload() Stop the game from triggering a hotload for this file - because presumably you have already reloaded it.