|
T? | GetValue (Location location) |
| Gets the object from the campaign database, and spawns it at the specified location. More...
|
|
T? | GetValue (NwGameObject owner) |
| Gets the object from the campaign database, and attempts to spawn it in the inventory of the specified object.
If the owner cannot carry the object, it will be spawned at the owner's current location. More...
|
|
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 () |
|
|
override T? | Value [get, set] |
|
string | Campaign = null! [get] |
|
string | Name = null! [get] |
|
NwPlayer? | Player [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...
|
|
◆ GetValue() [1/2]
Gets the object from the campaign database, and spawns it at the specified location.
- Parameters
-
location | The location for the object to be spawned at. |
- Returns
- The created object.
◆ GetValue() [2/2]
Gets the object from the campaign database, and attempts to spawn it in the inventory of the specified object.
If the owner cannot carry the object, it will be spawned at the owner's current location.
- Parameters
-
owner | The owner who should receive the spawned object. |
- Returns
- The created object.
The documentation for this class was generated from the following file:
- NWN.Anvil/src/main/API/Variables/Campaign/CampaignVariableObject.cs