mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[Structs] Add two new structs for logical data management
This commit is contained in:
@@ -18,10 +18,8 @@ namespace SabreTools.Helper
|
||||
public DupeType Dupe;
|
||||
public bool Nodump;
|
||||
public string Date;
|
||||
public string System;
|
||||
public int SystemID;
|
||||
public string Source;
|
||||
public int SourceID;
|
||||
public SystemData SystemData;
|
||||
public SourceData SourceData;
|
||||
|
||||
public int CompareTo(object obj)
|
||||
{
|
||||
@@ -53,6 +51,25 @@ namespace SabreTools.Helper
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Intermediate struct for holding System information
|
||||
/// </summary>
|
||||
public struct SystemData
|
||||
{
|
||||
public int ID;
|
||||
public string Name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Intermediate struct for holding Source information
|
||||
/// </summary>
|
||||
public struct SourceData
|
||||
{
|
||||
public int ID;
|
||||
public string Name;
|
||||
public string URL;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Intermediate struct for holding DAT information
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user