|
Arma Reforger Script API
|
Searches for items with same prefab name by comparing prefab pointers rather than strings. More...
Public Member Functions | |
| void | SCR_ResourceNamePredicate (ResourceName rn=string.Empty, IEntity excludedItem=null) |
Public Attributes | |
| BaseContainer | m_PrefabContainer |
| either set this manually or pass ResourceName to the constructor | |
| IEntity | m_ExcludedItem |
| Entity which is going to be ignored. | |
Public Attributes inherited from InventorySearchPredicate | |
| ref array< TypeName > | QueryComponentTypes = {} |
| ref array< TypeName > | QueryAttributeTypes = {} |
Protected Member Functions | |
| override bool | IsMatch (BaseInventoryStorageComponent storage, IEntity item, array< GenericComponent > queriedComponents, array< BaseItemAttributeData > queriedAttributes) |
Protected Member Functions inherited from InventorySearchPredicate | |
| override ref array< TypeName > | GetQueryComponents () |
| override ref array< TypeName > | GetQueryAttributes () |
Searches for items with same prefab name by comparing prefab pointers rather than strings.
| void SCR_ResourceNamePredicate.SCR_ResourceNamePredicate | ( | ResourceName | rn = string::Empty, |
| IEntity | excludedItem = null ) |
| [in] | rn | ResourceName of the prefab that will be used for matching |
|
protected |
Implements BaseInventorySearchPredicate.
| IEntity SCR_ResourceNamePredicate.m_ExcludedItem |
Entity which is going to be ignored.
| BaseContainer SCR_ResourceNamePredicate.m_PrefabContainer |
either set this manually or pass ResourceName to the constructor