freeso/TSOClient/tso.content/Model/AudioReference.cs
riperiperi b57ebbd141 Cleanup: Remove most unused usings and MPL per-file licenses
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
2023-11-25 03:45:29 +00:00

36 lines
763 B
C#

using System.IO;
namespace FSO.Content.Model
{
/// <summary>
/// A reference to an audio file.
/// </summary>
public class AudioReference
{
/// <summary>
/// ID of this audio file.
/// </summary>
public uint ID { get; set; }
/// <summary>
/// Type of this audio.
/// </summary>
public AudioType Type { get; set; }
/// <summary>
/// Path to this audio file.
/// </summary>
public string FilePath { get; set; }
/// <summary>
/// Name of the audio file.
/// </summary>
public string Name
{
get
{
return Path.GetFileName(FilePath);
}
}
}
}