mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add nullable context to SabreTools.DatItems
This change also starts migrating the internals of the DatItem formats to the new internal models. Right now, it's basically just acting like a wrapper around those models.
This commit is contained in:
@@ -15,14 +15,14 @@ namespace SabreTools.DatItems
|
||||
/// <summary>
|
||||
/// Source name
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
/// </summary>
|
||||
/// <param name="id">Source ID, default 0</param>
|
||||
/// <param name="source">Source name, default null</param>
|
||||
public Source(int id = 0, string source = null)
|
||||
public Source(int id = 0, string? source = null)
|
||||
{
|
||||
Index = id;
|
||||
Name = source;
|
||||
|
||||
Reference in New Issue
Block a user