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

Properties

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

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

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