Anvil
Anvil.API.ObjectStorageVariableEnum< T > Class Template Reference
+ Inheritance diagram for Anvil.API.ObjectStorageVariableEnum< T >:
+ Collaboration diagram for Anvil.API.ObjectStorageVariableEnum< T >:

Public Member Functions

sealed override void Delete ()
 Deletes the value of this variable. More...
 
- Public Member Functions inherited from Anvil.API.ObjectVariable< T >
override bool Equals (object? obj)
 
bool Equals (ObjectVariable< T >? other)
 
override int GetHashCode ()
 

Properties

sealed override bool HasValue [get]
 
sealed override T Value [get, set]
 
sealed override string VariableTypePrefix [get]
 
- Properties inherited from Anvil.API.ObjectStorageVariable< T >
string Key [get]
 
abstract string ObjectStoragePrefix [get]
 
abstract bool Persist [get]
 
abstract string VariableTypePrefix [get]
 
- Properties inherited from Anvil.API.ObjectVariable< T >
bool HasNothing [get]
 Gets a value indicating whether this variable has no value. More...
 
abstract bool HasValue [get]
 Gets a value indicating whether this variable has a value. More...
 
string Name = null! [get]
 
NwObject Object = null! [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...
 

Additional Inherited Members

- Static Public Member Functions inherited from Anvil.API.ObjectVariable< T >
static implicit operator T? (ObjectVariable< T > value)
 Implicit conversion of the value of this variable. More...
 
static bool operator!= (ObjectVariable< T > left, ObjectVariable< T > right)
 
static bool operator== (ObjectVariable< T > left, ObjectVariable< T > right)
 

Member Function Documentation

◆ Delete()

sealed override void Anvil.API.ObjectStorageVariableEnum< T >.Delete ( )
inlinevirtual

Deletes the value of this variable.

Implements Anvil.API.ObjectVariable< T >.


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