Table of Contents

Class CampaignVariable<T>

Namespace
Anvil.API
Assembly
NWN.Anvil.dll
public abstract class CampaignVariable<T> : CampaignVariable, IEquatable<CampaignVariable<T>>

Type Parameters

T
Inheritance
CampaignVariable<T>
Implements
Derived
Inherited Members
Extension Methods

Properties

Value

Gets or sets the current value of this variable. Returns the default value of T if unassigned (null or 0).

Methods

Delete()

Deletes the value of this variable.

Equals(CampaignVariable<T>?)

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

Equals(object?)

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

GetHashCode()

Serves as the default hash function.

Operators

operator ==(CampaignVariable<T>?, CampaignVariable<T>?)
implicit operator T(CampaignVariable<T>)

Implicit conversion of the value of this variable.

operator !=(CampaignVariable<T>?, CampaignVariable<T>?)