Class QuestParameterTemplate<TValue>.RangeSet
- Namespace
- Uncreated.Warfare.Quests.Parameters
- Assembly
- Uncreated.Warfare.dll
protected class QuestParameterTemplate<TValue>.RangeSet : QuestParameterTemplate<TValue>.IValueSet, IEquatable<QuestParameterTemplate<TValue>.RangeSet>, IEquatable<QuestParameterTemplate<TValue>.IValueSet>
- Inheritance
-
QuestParameterTemplate<TValue>.RangeSet
- Implements
-
QuestParameterTemplate<TValue>.IValueSet
- Derived
- Inherited Members
Constructors
RangeSet(TValue, TValue, bool, bool)
public RangeSet(TValue minimum, TValue maximum, bool infinityMinimum, bool infinityMaximum)
Parameters
Fields
InfinityMaximum
public readonly bool InfinityMaximum
Field Value
InfinityMinimum
public readonly bool InfinityMinimum
Field Value
Maximum
public readonly TValue Maximum
Field Value
- TValue
Minimum
public readonly TValue Minimum
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(IValueSet)
Indicates whether the current object is equal to another object of the same type.
public virtual bool Equals(QuestParameterTemplate<TValue>.IValueSet other)
Parameters
otherQuestParameterTemplate<TValue>.IValueSetAn object to compare with this object.
Returns
Equals(RangeSet)
Indicates whether the current object is equal to another object of the same type.
public virtual bool Equals(QuestParameterTemplate<TValue>.RangeSet other)
Parameters
otherQuestParameterTemplate<TValue>.RangeSetAn 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.