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