BiowareDB.setVariableValue

Set / create a variable with its value

  1. void setVariableValue(size_t index, T value, bool updateTimestamp)
  2. void setVariableValue(PCID pcid, string varName, T value, bool updateTimestamp)
    class BiowareDB
    void
    setVariableValue
    (
    T
    )
    (,
    in string varName
    ,
    in T value
    ,
    bool updateTimestamp = true
    )
    if (
    is(T == NWInt) ||
    is(T == NWFloat)
    ||
    is(T == NWString)
    ||
    is(T == NWVector)
    ||
    is(T == NWLocation)
    ||
    )

Parameters

T

$(TYPE)

pcid PCID

$(PCID)

varName string

$(VARNAME)

value T

value to set

updateTimestamp bool

true to change the variable modified date, false to keep current value

Meta