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) |
Public Attributes | |
BaseContainer | prefab |
either set this manually or pass ResourceName to the constructor | |
![]() | |
ref array< TypeName > | QueryComponentTypes = {} |
ref array< TypeName > | QueryAttributeTypes = {} |
Protected Member Functions | |
override bool | IsMatch (BaseInventoryStorageComponent storage, IEntity item, array< GenericComponent > queriedComponents, array< BaseItemAttributeData > queriedAttributes) |
![]() | |
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 | ) |
[in] | rn | ResourceName of the prefab that will be used for matching |
|
protected |
Implements BaseInventorySearchPredicate.
BaseContainer SCR_ResourceNamePredicate.prefab |
either set this manually or pass ResourceName to the constructor