mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
36 lines
763 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|