attributeFlags - OpenPerpetuum/OPDB GitHub Wiki
Description
Seems to be a data dump of the attribute flags.
Table Structure
| ID | Type | Name | Description | Properties | Links |
|---|---|---|---|---|---|
| 1 | Number | offset | The bit offset of the current value. | PRIMARY, UNIQUE | // todo. |
| 2 | String | name | The text name of the attribute. | ||
| 3 | String | note | Notes about that attribute. Probably internal. |
Notes
offset
Defines the bit number, plus one.
So...
| Bit | Value if on |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 4 |
| 4 | 8 |
and so on... Cast binary into decimal numbers... Turn that into text and voila.
See Also
- Perpetuum.ExportedTypes.AttributeFlags (forgot assembly name)