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_TutorialInventoryPrefabSearchPredicate.c
Go to the documentation of this file.
1
class
SCR_TutorialInventoryPrefabSearchPredicate
:
InventorySearchPredicate
2
{
3
ResourceName
m_sSeachPrefab;
4
5
//------------------------------------------------------------------------------------------------
6
override
bool
IsMatch(BaseInventoryStorageComponent storage,
IEntity
item, array<GenericComponent> queriedComponents, array<BaseItemAttributeData> queriedAttributes)
7
{
8
if
(
SCR_StringHelper
.
IsEmptyOrWhiteSpace
(m_sSeachPrefab))
9
return
false
;
10
11
EntityPrefabData
prefabData = item.
GetPrefabData
();
12
if
(!prefabData)
13
return
false
;
14
15
return
prefabData.GetPrefabName() == m_sSeachPrefab;
16
};
17
}
EntityPrefabData
Definition
EntityPrefabData.c:19
IEntity
Definition
IEntity.c:13
IEntity::GetPrefabData
proto external EntityPrefabData GetPrefabData()
InventorySearchPredicate
Definition
InventorySearchPredicate.c:2
ResourceName
Definition
ResourceName.c:13
SCR_StringHelper
Definition
SCR_StringHelper.c:2
SCR_StringHelper::IsEmptyOrWhiteSpace
static bool IsEmptyOrWhiteSpace(string input)
Definition
SCR_StringHelper.c:594
SCR_TutorialInventoryPrefabSearchPredicate
Definition
SCR_TutorialInventoryPrefabSearchPredicate.c:2
scripts
Game
GameMode
Tutorial
Logic
SCR_TutorialInventoryPrefabSearchPredicate.c
Generated by
1.17.0