Xentara v2.0.3
User Manual
|
A JSON object describing a bit value has the following syntax:
name | A string value containing the name of the bit value. The name is used to construct the bit value’s primary key. |
UUID | A string value containing the unique UUID of the bit value. |
ACL | An optional JSON object containing the element ACL of the bit value. The format of the object is described under JSON Format for ACLs. |
source | A string value describing the skill data point to use for the source value that the bit should be extracted from. The string value must contain the primary key of the skill data point. The value of the skill data point must be either a signed or unsigned integer value. |
bitNumber | The 0-based bit number to extract, where bit 0 is the least significant bit. The bit number must be between 0 and the number of bits in the source value, exclusively. For a 16 bit source value, the bit number must be between 0 and 15, for example. |
invert | An optional Boolean value specifying whether the value should be inverted, representing a set bit as false and an unset bit as true. If you do not specify this option, then the value will not be inverted. |