namespace IronMountain.Wayfinding.DataStructures { public class GenericPriorityQueueNode { /// /// The Priority to insert this node at. /// Cannot be manually edited - see queue.Enqueue() and queue.UpdatePriority() instead /// public TPriority Priority { get; protected internal set; } /// /// Represents the current position in the queue /// public int QueueIndex { get; internal set; } /// /// Represents the order the node was inserted in /// public long InsertionIndex { get; internal set; } #if DEBUG /// /// The queue this node is tied to. Used only for debug builds. /// public object Queue { get; internal set; } #endif } }