Ark Server API (ASA) - Wiki
|
#include <IFilter.h>
Public Types | |
typedef TItemType | ItemType |
Public Member Functions | |
virtual | ~IFilter () |
virtual bool | PassesFilter (TItemType InItem) const =0 |
DECLARE_EVENT (IFilter< TItemType >, FChangedEvent) | |
virtual FChangedEvent & | OnChanged ()=0 |
A generic interface that represents a Filter of ItemType.
IFilter< TItemType >::DECLARE_EVENT | ( | IFilter< TItemType > | , |
FChangedEvent | ) |
Broadcasts anytime the restrictions of the Filter changes
|
pure virtual |
Implemented in TDelegateFilter< ItemType >, and TTextFilter< ItemType >.
Returns whether the specified Item passes the Filter's restrictions
Implemented in TDelegateFilter< ItemType >, and TTextFilter< ItemType >.