BiowareDB.getVariableIndex - multiple declarations

Function BiowareDB.getVariableIndex

Search and return the index of a variable

std.typecons.Nullable!(ulong) getVariableIndex (
  in const(PCID) pcid,
  in const(string) varName
) const;

Expected O(1).

Parameters

NameDescription
pcid player character identifier
Should be his account name concatenated with his character name
null for module variables
varName Campaign variable name

Returns

null if not found

Function BiowareDB.getVariableIndex

Search and return the index of a variable

std.typecons.Nullable!(ulong) getVariableIndex (
  in const(string) account,
  in const(string) character,
  in const(string) varName
) const;

Expected O(1).

Parameters

NameDescription
account Player account name
null for module variables
character Character name.
null for module variables
varName Campaign variable name

Returns

null if not found