mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Move ItemType to untyped base class
This commit is contained in:
@@ -84,6 +84,11 @@ namespace SabreTools.DatItems
|
||||
|
||||
#region Fields
|
||||
|
||||
/// <summary>
|
||||
/// Item type for the object
|
||||
/// </summary>
|
||||
protected abstract ItemType ItemType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Internal model wrapped by this DatItem
|
||||
/// </summary>
|
||||
@@ -703,14 +708,8 @@ namespace SabreTools.DatItems
|
||||
/// </summary>
|
||||
public abstract class DatItem<T> : DatItem, IEquatable<DatItem<T>>, IComparable<DatItem<T>>, ICloneable where T : Models.Metadata.DatItem
|
||||
{
|
||||
// TODO: Move to base class after implementation
|
||||
#region Fields
|
||||
|
||||
/// <summary>
|
||||
/// Item type for the object
|
||||
/// </summary>
|
||||
protected abstract ItemType ItemType { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Key for accessing the item name, if it exists
|
||||
/// </summary>
|
||||
@@ -765,7 +764,6 @@ namespace SabreTools.DatItems
|
||||
|
||||
#endregion
|
||||
|
||||
// TODO: Figure out how to replace individual versions with this
|
||||
#region Cloning Methods
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user