Constructor
new ClientFilter(settings)
Create a client filter.
Parameters:
Name | Type | Description |
---|---|---|
settings |
Object | The dictionary containing the client filter settings. |
Methods
_initFilter()
Initialize filter objects based on client filter settings.
filterData(data)
Apply the client filters on the data.
Parameters:
Name | Type | Description |
---|---|---|
data |
Array | List where filter are applied on each item. |
Returns:
[itemStack, itemIndexStack]