mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 16:09:43 +00:00
Adds comment that explains what RefIds are
This commit is contained in:
parent
a7d0a8d9d1
commit
e7deffb376
1 changed files with 3 additions and 0 deletions
|
@ -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); }
|
||||
|
|
Loading…
Reference in a new issue