Skip to content

Commit

Permalink
add Entity.idRevision docs
Browse files Browse the repository at this point in the history
  • Loading branch information
friflo committed Aug 1, 2024
1 parent 4c916c2 commit c47cee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ECS/Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ public ref readonly Tags Tags { get {
/// <summary>Unique entity id.<br/>
/// Uniqueness relates to the <see cref="Entity"/>'s stored in its <see cref="EntityStore"/></summary>
[Browse(Never)]
[FieldOffset(8)] internal readonly long idRevision; // 8
[FieldOffset(8)] internal readonly long idRevision; // (8) - 4 (Id) + 2 (Revision) + 2 (padding)
// ReSharper disable once InconsistentNaming
[FieldOffset(8)] public readonly int Id; // 4
[Browse(Never)]
Expand Down

0 comments on commit c47cee6

Please sign in to comment.