Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BaseInventorySearchPredicate.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
13{
14 event protected array<typename> GetQueryComponents();
15 event protected array<typename> GetQueryAttributes();
16 /*
17 will be called when serach query was satisfied, if you need to perform additional check on item - override this method
18 queriedComponents and queriedAttributes arrays are guaranteed to contain provided types in Query arrays.
19 eg. if QueryComponentTypes[0] is YourComponent type then queriedComponents[0] guaranteed to be instance of YourComponent that belongs to item entity
20 which means you can be sure that YourComponent.Cast(queriedComponents[0]) will always return a valid object
21 same is applied to attributes from item's AttributeCollection
22 */
23 event protected bool IsMatch(BaseInventoryStorageComponent storage, IEntity item, array<GenericComponent> queriedComponents, array<BaseItemAttributeData> queriedAttributes) { return true; };
24}
25
bool IsMatch(BaseInventoryStorageComponent storage, IEntity item, array< GenericComponent > queriedComponents, array< BaseItemAttributeData > queriedAttributes)
array< typename > GetQueryComponents()
array< typename > GetQueryAttributes()