BiowareDB.setVariableValue

Set the value of an existing variable using its index.

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

Parameters

T

$(TYPE)

index size_t

$(INDEX)

value T

value to set

updateTimestamp bool

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

Meta