using System;
namespace SabreTools.DatItems
{
///
/// Source information wrapper
///
public class Source : ICloneable
{
///
/// Source index
///
public int Index { get; set; }
///
/// Source name
///
public string Name { get; set; }
///
/// Constructor
///
/// Source ID, default 0
/// Source name, default null
public Source(int id = 0, string source = null)
{
Index = id;
Name = source;
}
#region Cloning
///
/// Clone the current object
///
public object Clone()
{
return new Source(Index, Name);
}
#endregion
}
}