Table of Contents

Class QuestParameterTemplate<TValue>.ConstantSet

Namespace
Uncreated.Warfare.Quests.Parameters
Assembly
Uncreated.Warfare.dll
protected class QuestParameterTemplate<TValue>.ConstantSet : QuestParameterTemplate<TValue>.IValueSet, IEquatable<QuestParameterTemplate<TValue>.ConstantSet>, IEquatable<QuestParameterTemplate<TValue>.IValueSet>
Inheritance
QuestParameterTemplate<TValue>.ConstantSet
Implements
Inherited Members

Constructors

ConstantSet(TValue)

public ConstantSet(TValue value)

Parameters

value TValue

Fields

Value

public readonly TValue Value

Field Value

TValue

Properties

ValueType

public ParameterValueType ValueType { get; }

Property Value

ParameterValueType

Methods

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

Equals(ConstantSet)

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

public bool Equals(QuestParameterTemplate<TValue>.ConstantSet other)

Parameters

other QuestParameterTemplate<TValue>.ConstantSet

An object to compare with this object.

Returns

bool

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

Equals(IValueSet)

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

public bool Equals(QuestParameterTemplate<TValue>.IValueSet other)

Parameters

other QuestParameterTemplate<TValue>.IValueSet

An object to compare with this object.

Returns

bool

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.