From e7deffb37689359cf735ec1053b55da44b8a5632 Mon Sep 17 00:00:00 2001 From: "florent.teppe" Date: Sun, 13 Nov 2022 10:13:46 +0100 Subject: [PATCH] Adds comment that explains what RefIds are --- components/esm/refid.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/esm/refid.hpp b/components/esm/refid.hpp index 2e11da59ab..6bc49313d0 100644 --- a/components/esm/refid.hpp +++ b/components/esm/refid.hpp @@ -10,6 +10,9 @@ namespace ESM { struct RefId { + // This structure is used to represent an Id that identifies an ESM record. These Ids can then be used in + // ESM::Stores to find the actual record. These Ids can be serialized/de-serialized, stored on disk and remain + // valid. They are used by ESM files, by records to reference other ESM records. const static RefId sEmpty; bool empty() const { return mId.empty(); } void swap(RefId& rhs) { mId.swap(rhs.mId); }