Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_DeployableItemSearchPredicate.c
Go to the documentation of this file.
1
class
SCR_DeployableItemSearchPredicate :
InventorySearchPredicate
2
{
3
IEntity
m_IgnoredItem;
4
5
//------------------------------------------------------------------------------------------------
6
// constructor
8
void
SCR_DeployableItemSearchPredicate(
IEntity
ignoredItem = null)
9
{
10
m_IgnoredItem = ignoredItem;
11
}
12
13
//------------------------------------------------------------------------------------------------
14
override
protected
bool
IsMatch
(BaseInventoryStorageComponent storage,
IEntity
item, array<GenericComponent> queriedComponents, array<BaseItemAttributeData> queriedAttributes)
15
{
16
return
item != m_IgnoredItem && item.
FindComponent
(SCR_MultiPartDeployableItemComponent) != null && item.
FindComponent
(SCR_DeployablePlaceableItemComponent) != null;
17
}
18
}
IEntity
Definition
IEntity.c:13
IEntity::FindComponent
proto external Managed FindComponent(typename typeName)
InventorySearchPredicate
Definition
InventorySearchPredicate.c:2
SCR_DeployableItemSearchPredicate::IsMatch
bool IsMatch(BaseInventoryStorageComponent storage, IEntity item, array< GenericComponent > queriedComponents, array< BaseItemAttributeData > queriedAttributes)
Definition
SCR_DeployableItemSearchPredicate.c:14
scripts
Game
Inventory
SCR_DeployableItemSearchPredicate.c
Generated by
1.17.0