Struct WorldSceneRoutingRules.QueueCandidate<T>
- Namespace
- FishMMO.Server.Implementation.World.WorldServer
- Assembly
- FishMMO.Server.dll
One connection waiting on the open-world queue, as the selection sees it.
public readonly struct WorldSceneRoutingRules.QueueCandidate<T>
Type Parameters
T
- Inherited Members
Constructors
QueueCandidate(T, double, int, bool)
public QueueCandidate(T item, double waitingSince, int clientId, bool alwaysRoute)
Parameters
Fields
AlwaysRoute
True for a connection that has to be looked at on every pass whatever the capacity: one held for its combat-logout body, which is waiting on one specific instance rather than on a free slot anywhere.
public readonly bool AlwaysRoute
Field Value
ClientId
Breaks ties between equal WaitingSince, so the order is total.
public readonly int ClientId
Field Value
Item
The waiting connection.
public readonly T Item
Field Value
- T
WaitingSince
When it began waiting, in seconds on the world server's monotonic clock. The same clock the queue positions are ranked by.
public readonly double WaitingSince