mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 12:25:17 -04:00
Adds comment that explains what RefIds are
This commit is contained in:
parent
a7d0a8d9d1
commit
e7deffb376
@ -10,6 +10,9 @@ namespace ESM
|
|||||||
{
|
{
|
||||||
struct RefId
|
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;
|
const static RefId sEmpty;
|
||||||
bool empty() const { return mId.empty(); }
|
bool empty() const { return mId.empty(); }
|
||||||
void swap(RefId& rhs) { mId.swap(rhs.mId); }
|
void swap(RefId& rhs) { mId.swap(rhs.mId); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user