cee::vtfx::SetItemGroup
-
class SetItemGroup : public RefCountedObject
A class to store a group of items that map to a given block (only supported block type is currently elements)
Public Functions
-
SetItemGroup()
-
virtual ~SetItemGroup()
-
int blockId() const
Returns the block id.
-
void setBlockId(int blockId)
Sets the block id.
-
Block::BlockType blockType() const
Returns the set block type.
Currently only ELEMENTS are supported
-
void setBlockType(Block::BlockType blockType)
Sets the block type.
Currently only ELEMENTS are supported
-
size_t itemCount() const
Returns number of items in group.
-
int itemIdOrIndex(size_t index) const
Returns the id/index of the item at index.
-
void setItems(const std::vector<int> &itemIdOrIndices)
Sets items in this group from array of ids/indices.
-
void addItems(const std::vector<int> &itemIdOrIndices)
Adds items in this group from array of ids/indices.
-
void addItem(int itemIdOrIndex)
Adds a single item for given id/index.
-
VTFxSetBlockItems *internal_vtfxSetBlockItems()
-
SetItemGroup()