Table of Contents

Struct GroupFinderQueueKey

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

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

sceneType int
sceneName string
difficulty int

Fields

Difficulty

Difficulty index for a dungeon; format index for an arena.

public readonly int Difficulty

Field Value

int

SceneName

Dungeon or arena scene.

public readonly string SceneName

Field Value

string

SceneType

Instance kind: the shared SceneType value (2 dungeon, 3 arena).

public readonly int SceneType

Field Value

int

Methods

Equals(GroupFinderQueueKey)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(GroupFinderQueueKey other)

Parameters

other GroupFinderQueueKey

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Indicates whether this instance and a specified object are equal.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current instance.

Returns

bool

true if obj and 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.