Table of Contents

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
Derived
Inherited Members

Constructors

RangeSet(TValue, TValue, bool, bool)

public RangeSet(TValue minimum, TValue maximum, bool infinityMinimum, bool infinityMaximum)

Parameters

minimum TValue
maximum TValue
infinityMinimum bool
infinityMaximum bool

Fields

InfinityMaximum

public readonly bool InfinityMaximum

Field Value

bool

InfinityMinimum

public readonly bool InfinityMinimum

Field Value

bool

Maximum

public readonly TValue Maximum

Field Value

TValue

Minimum

public readonly TValue Minimum

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(IValueSet)

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

public virtual 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.

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

other QuestParameterTemplate<TValue>.RangeSet

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.