Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ResourceNamePredicate Interface Reference

Searches for items with same prefab name by comparing prefab pointers rather than strings. More...

Inheritance diagram for SCR_ResourceNamePredicate:
InventorySearchPredicate BaseInventorySearchPredicate

Public Member Functions

void SCR_ResourceNamePredicate (ResourceName rn=string.Empty)
 

Public Attributes

BaseContainer prefab
 either set this manually or pass ResourceName to the constructor
 
- 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 ()
 

Detailed Description

Searches for items with same prefab name by comparing prefab pointers rather than strings.

Constructor & Destructor Documentation

◆ SCR_ResourceNamePredicate()

void SCR_ResourceNamePredicate.SCR_ResourceNamePredicate ( ResourceName rn = string::Empty)
Parameters
[in]rnResourceName of the prefab that will be used for matching

Member Function Documentation

◆ IsMatch()

override bool SCR_ResourceNamePredicate.IsMatch ( BaseInventoryStorageComponent storage,
IEntity item,
array< GenericComponent > queriedComponents,
array< BaseItemAttributeData > queriedAttributes )
protected

Member Data Documentation

◆ prefab

BaseContainer SCR_ResourceNamePredicate.prefab

either set this manually or pass ResourceName to the constructor


The documentation for this interface was generated from the following file: