namespace Sandbox.Mounting;
///
/// Information about a single mount
///
public struct MountInfo
{
///
/// A short, lowercase string that will be used to uniquely identify this asset source
///
public string Ident { get; init; }
///
/// The display name of this
///
public string Title { get; init; }
///
/// Is this source available, is this game installed? Can we mount it?
///
public bool Available { get; init; }
///
/// Is this active and mounted?
///
public bool Mounted { get; init; }
public MountInfo( BaseGameMount e )
{
Ident = e.Ident;
Title = e.Title;
Available = e.IsInstalled;
Mounted = e.IsMounted;
}
}