BiowareDB.getVariableIndex

Search and return the index of a variable

Expected O(1).

  1. Nullable!size_t getVariableIndex(PCID pcid, string varName)
    class BiowareDB
    const
    Nullable!size_t
    getVariableIndex
    (,
    in string varName
    )
  2. Nullable!size_t getVariableIndex(string account, string character, string varName)

Parameters

pcid PCID

$(PCID)

varName string

$(VARNAME)

Return Value

Type: Nullable!size_t

null if not found

Meta