Anvil
Anvil.API.CampaignVariable< T > Class Template Referenceabstract
+ Inheritance diagram for Anvil.API.CampaignVariable< T >:
+ Collaboration diagram for Anvil.API.CampaignVariable< T >:

Public Member Functions

abstract void Delete ()
 Deletes the value of this variable. More...
 
override void Delete ()
 
bool Equals (CampaignVariable< T >? other)
 
override bool Equals (object? obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static implicit operator T (CampaignVariable< T > value)
 Implicit conversion of the value of this variable. More...
 
static bool operator!= (CampaignVariable< T >? left, CampaignVariable< T >? right)
 
static bool operator== (CampaignVariable< T >? left, CampaignVariable< T >? right)
 

Properties

string Campaign = null! [get]
 
string Name = null! [get]
 
NwPlayerPlayer [get]
 
abstract T Value [get, set]
 Gets or sets the current value of this variable. Returns the default value of T if unassigned (null or 0). More...
 

Member Function Documentation

◆ Delete()

abstract void Anvil.API.CampaignVariable< T >.Delete ( )
pure virtual

Deletes the value of this variable.

◆ operator T()

static implicit Anvil.API.CampaignVariable< T >.operator T ( CampaignVariable< T >  value)
inlinestatic

Implicit conversion of the value of this variable.

Property Documentation

◆ Value

abstract T Anvil.API.CampaignVariable< T >.Value
getset

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


The documentation for this class was generated from the following file: