BiowareDB.getVariable - multiple declarations
Function BiowareDB.getVariable
Get variable information using its index
Note
Be sure to check Variable
value
Parameters
Name | Description |
---|---|
index | Index of the variable in the table |
Returns
the variable information
Function BiowareDB.getVariable
Search and return variable information
std .typecons .Nullable!(nwn.biowaredb.BiowareDB.Variable) getVariable
(
in const(PCID) pcid,
in const(string) varName
) const;
Expected O(1).
Parameters
Name | Description |
---|---|
pcid | player character identifier Should be his account name concatenated with his character name null for module variables |
varName | Campaign variable name |
Returns
the variable information, or null if not found
Function BiowareDB.getVariable
Search and return variable information
std .typecons .Nullable!(nwn.biowaredb.BiowareDB.Variable) getVariable
(
in const(string) account,
in const(string) character,
in const(string) varName
) const;
Expected O(1).
Parameters
Name | Description |
---|---|
account | Player account namenull for module variables |
character | Character name.null for module variables
|
varName | Campaign variable name |
Returns
the variable information, or null if not found