Struct GroupFinderQueueKey
What a queue row is waiting for: one kind of instance, one scene, one difficulty or format.
public readonly struct GroupFinderQueueKey : IEquatable<GroupFinderQueueKey>
- Implements
- Inherited Members
Remarks
The unit the group finder counts, forms and backfills by. Rows that share a key are interchangeable to the matcher; rows that do not are never placed together.
Constructors
GroupFinderQueueKey(int, string, int)
public GroupFinderQueueKey(int sceneType, string sceneName, int difficulty)
Parameters
Fields
Difficulty
Difficulty index for a dungeon; format index for an arena.
public readonly int Difficulty
Field Value
SceneName
Dungeon or arena scene.
public readonly string SceneName
Field Value
SceneType
Instance kind: the shared SceneType value (2 dungeon, 3 arena).
public readonly int SceneType
Field Value
Methods
Equals(GroupFinderQueueKey)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GroupFinderQueueKey other)
Parameters
otherGroupFinderQueueKeyAn object to compare with this object.
Returns
Equals(object?)
Indicates whether this instance and a specified object are equal.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current instance.
Returns
- bool
true if
objand this instance are the same type and represent the same value; otherwise, false.
GetHashCode()
Returns the hash code for this instance.
public override int GetHashCode()
Returns
- int
A 32-bit signed integer that is the hash code for this instance.
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.