BiowareDB.setVariableValue - multiple declarations

Function BiowareDB.setVariableValue

Set the value of an existing variable using its index.

void setVariableValue(T) (
  size_t index,
  in T value,
  bool updateTimestamp = true
)
if (is(T == OWInt) || is(T == NWFloat) || is(T == NWString) || is(T == NWVector) || is(T == NWLocation) || is(T == BinaryObject));

Parameters

NameDescription
T Type of the variable. Must match the stored variable type.
index Index of the variable in the table
value value to set
updateTimestamp true to change the variable modified date, false to keep current value

Function BiowareDB.setVariableValue

Set / create a variable with its value

void setVariableValue(T) (
  in PCID pcid,
  in string varName,
  in T value,
  bool updateTimestamp = true
)
if (is(T == OWInt) || is(T == NWFloat) || is(T == NWString) || is(T == NWVector) || is(T == NWLocation) || is(T == BinaryObject));

Parameters

NameDescription
T Type of the variable. Must match the stored variable type.
pcid player character identifier
Should be his account name concatenated with his character name
null for module variables
varName Campaign variable name
value value to set
updateTimestamp true to change the variable modified date, false to keep current value