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
-
QuestParameterTemplate<TValue>.IValueSet
- Inherited Members
Constructors
ConstantSet(TValue)
public ConstantSet(TValue value)
Parameters
valueTValue
Fields
Value
public readonly TValue Value
Field Value
- TValue
Properties
ValueType
public ParameterValueType ValueType { get; }
Property Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Equals(ConstantSet)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(QuestParameterTemplate<TValue>.ConstantSet other)
Parameters
otherQuestParameterTemplate<TValue>.ConstantSetAn object to compare with this object.
Returns
Equals(IValueSet)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(QuestParameterTemplate<TValue>.IValueSet other)
Parameters
otherQuestParameterTemplate<TValue>.IValueSetAn object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.