Api Sandbox Mounting Directory
class

Directory

public static abstract sealed class Directory

Methods

static MountInfo[] GetAll()

Get information about all the current mounts

static BaseGameMount Get(String name)

Get a specific mount by name

static Task<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.

Assembly: Sandbox.Engine Namespace: Sandbox.Mounting Full Name: Sandbox.Mounting.Directory