s&box docs
API ReferenceSandbox.Mounting

public static abstract sealed class Sandbox.Mounting.Directory

Broader workflow and conceptual references connected to this API.

Methods

Showing 3 methods

public static Sandbox.Mounting.BaseGameMount Get(string name)

Get a specific mount by name

public static Sandbox.Mounting.MountInfo[] GetAll()

Get information about all the current mounts

public static System.Threading.Tasks.Task`1<Sandbox.Mounting.BaseGameMount> Mount(string name)

Mount this game if we can. Returns null if it can't be mounted, or the mount object if it can. If we're already mounted, will just return the mount straight away.

Metadata

FieldValue
NamespaceSandbox.Mounting
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Mounting.Directory

On this page