|
Anvil
|
A key/value pair/variable stored on an Object. More...
Inheritance diagram for Anvil.API.ObjectVariable< T >:
Collaboration diagram for Anvil.API.ObjectVariable< T >:Public Member Functions | |
| void | Delete () |
| Deletes the value of this variable. | |
| override bool | Equals (object? obj) |
| bool | Equals (ObjectVariable< T >? other) |
| override int | GetHashCode () |
Static Public Member Functions | |
| static implicit | operator T? (ObjectVariable< T > value) |
| Implicit conversion of the value of this variable. | |
| static bool | operator!= (ObjectVariable< T > left, ObjectVariable< T > right) |
| static bool | operator== (ObjectVariable< T > left, ObjectVariable< T > right) |
Properties | |
| bool | HasNothing [get] |
| Gets a value indicating whether this variable has no value. | |
| bool | HasValue [get] |
| Gets a value indicating whether this variable has a value. | |
| string | Name = null! [get] |
| NwObject | Object = null! [get] |
| T? | Value [get, set] |
| Gets or sets the current value of this variable. Returns the default value of T if unassigned (null or 0). | |
A key/value pair/variable stored on an Object.