From 504a0e7e994fc30f60e1e705e44df7b1ad2b892c Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 10 Jul 2025 20:15:46 +0100 Subject: [PATCH] Added `ModId` property to `AbstractModMetadata` --- .../Models/Spt/Mod/AbstractModMetadata.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs index 114b054c..68eaf119 100644 --- a/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs +++ b/Libraries/SPTarkov.Server.Core/Models/Spt/Mod/AbstractModMetadata.cs @@ -1,4 +1,6 @@ -namespace SPTarkov.Server.Core.Models.Spt.Mod; +using SPTarkov.Server.Core.Models.Common; + +namespace SPTarkov.Server.Core.Models.Spt.Mod; /// /// Represents a collection of metadata used to determine things such as author, version, @@ -7,6 +9,11 @@ /// public abstract record AbstractModMetadata { + /// + /// A unique ID value for the mod to distinguish it from others + /// + public abstract MongoId ModId { get; set; } + /// /// Name of this mod ///