mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFiles/] Add constructor to "cast" base class
This commit is contained in:
@@ -23,6 +23,18 @@ namespace SabreTools.Library.DatFiles
|
||||
/// </summary>
|
||||
public class SeparatedValue : DatFile
|
||||
{
|
||||
/// <summary>
|
||||
/// Constructor designed for casting a base DatFile
|
||||
/// </summary>
|
||||
/// <param name="datFile">Parent DatFile to copy from</param>
|
||||
public SeparatedValue(DatFile datFile)
|
||||
{
|
||||
this._datHeader = datFile._datHeader;
|
||||
this._items = datFile._items;
|
||||
this._sortedBy = datFile._sortedBy;
|
||||
this._datStats = datFile._datStats;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Parse a character-separated value DAT and return all found games and roms within
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user