IN_EXCLUDE [id] { [Common flags] [NUM_FLAGS n;] [INIT_STATE s;] [IMAGE_n_ON|OFF id;] [ACCEPT idlist;] [REFUSE idlist;] }
Represents InExcludeData objects in a container, rendered as a drop area for objects.
Specify what kinds of nodes are accepted and/or refused for this field with ACCEPT
and/or REFUSE
.
Optionally the dropped objects get up to 32 icons next to them, each with an on/off state.
Further specify what objects are accepted by listening for MSG_DESCRIPTION_CHECKDRAGANDDROP in NodeData::Message() and returning true of false depending on the DescriptionCheckDragAndDrop data:
NUM_FLAGS n; | The number of icons, between 0 and 32. |
INIT_STATE s; | The initial state of the icons: icon(n) == s & (1 << (n-1)). |
IMAGE_n_ON|OFF id; | The icon IDs for each flag's icons. |
ACCEPT idlist; | The node types to accept, separated with semi-colons. |
REFUSE idlist; | The node types to refuse, separated with semi-colons. |