API ReferenceSandbox.Mounting
Directoryclass
object→Directory
Methods4
Showing 4 methods
public static Sandbox.Mounting.BaseGameMount Get(string name)
Get a specific mount by name
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
Returns:
BaseGameMount—public static System.Nullable`1<Sandbox.Mounting.MountResourceInfo> GetMetadata(string filename)
Get metadata for a resource
| Parameter | Type | Description |
|---|---|---|
| filename | string | — |
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.
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
Returns:
Task<BaseGameMount>—No results match this filter.