using System; namespace SimSharp { public class EventQueueNode { /// <summary> /// The Priority to insert this node at. Must be set BEFORE adding a node to the queue /// </summary> public DateTime Priority { get; set; } public Event Event { get; set; } /// <summary> /// <b>Used by the priority queue - do not edit this value.</b> /// Represents the order the node was inserted in /// </summary> public long InsertionIndex { get; set; } /// <summary> /// <b>Used by the priority queue - do not edit this value.</b> /// Represents the current position in the queue /// </summary> public int QueueIndex { get; set; } } }