FileSystemclass

A filesystem that can be accessed by the game.

objectFileSystem
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public static abstract sealed class Editor.FileSystem

Methods1

Showing 1 methods

public static void SuppressNextHotload()PUBLICSTATIC

Stop the game from triggering a hotload for this file - because presumably you have already reloaded it.

Returns:void

Properties12

Showing 12 properties

public static Sandbox.BaseFileSystem Editor.FileSystem.Cloud { get; set; }PUBLICSTATICGETSET

The current project's .sbox/cloud/ folder. We download files from sbox.game right into this filesystem.

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.Content { get; set; }PUBLICSTATICGETSET

Content from active addons (and content paths)

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.Libraries { get; set; }PUBLICSTATICGETSET

The current project's Libraries folder

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.Localization { get; set; }PUBLICSTATICGETSET

The current project's Localization folder

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.Mounted { get; set; }PUBLICSTATICGETSET

Paths from tool addons which are mounted.

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.ProjectTemporary { get; set; }PUBLICSTATICGETSET

The current project's .sbox/ folder for temporary files and caches.

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.Root { get; set; }PUBLICSTATICGETSET

Root of the game's folder.

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.Temporary { get; set; }PUBLICSTATICGETSET

The engine /game/.source2/ folder for temporary files and caches.

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.Transient { get; set; }PUBLICSTATICGETSET

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.

Returns:BaseFileSystem

public static Sandbox.BaseFileSystem Editor.FileSystem.WebCache { get; set; }PUBLICSTATICGETSET

The engine /game/.source2/http/ folder.

Returns:BaseFileSystem

On this page