diff options
author | Haru <haru@dotalux.com> | 2017-08-21 20:41:17 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2017-09-17 17:48:31 +0200 |
commit | fd610efdb3cd8f1583a3918d54a679eb02ec76cd (patch) | |
tree | d5311f5103d1121dba214738071dc81b79e1a5f6 /src/plugins/sample.c | |
parent | 015f2760dbfeb45132813830e4f5e1bda54f3eee (diff) | |
download | hercules-fd610efdb3cd8f1583a3918d54a679eb02ec76cd.tar.gz hercules-fd610efdb3cd8f1583a3918d54a679eb02ec76cd.tar.bz2 hercules-fd610efdb3cd8f1583a3918d54a679eb02ec76cd.tar.xz hercules-fd610efdb3cd8f1583a3918d54a679eb02ec76cd.zip |
Add support for parsing arrays of constants as bitmasks in the item_db
Fields marked as constant bitmasks will support the following syntaxes:
Field: 10 // Decimal value
Field: 0xA // Hexadecimal value
Field: "FOO" // Constant
Field: [2, 8] // Array of decimal values
Field: [0x2, 0x8] // Array of hexadecimal values
Field: ["FOO", "BAR"] // Array of constants
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/plugins/sample.c')
0 files changed, 0 insertions, 0 deletions