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_ResourceNameUtils.c
Go to the documentation of this file.
1
class
SCR_ResourceNameUtils
2
{
3
//------------------------------------------------------------------------------------------------
7
static
ResourceName
GetPrefabName(
IEntity
entity)
8
{
9
if
(!entity || !entity.
GetPrefabData
())
10
return
ResourceName
.Empty;
11
12
return
SCR_BaseContainerTools
.GetPrefabResourceName(entity.
GetPrefabData
().GetPrefab());
13
}
14
15
//------------------------------------------------------------------------------------------------
17
static
string
GetPrefabGUID(
ResourceName
prefab)
18
{
19
if
(prefab.IsEmpty())
20
return
ResourceName
.Empty;
21
22
return
prefab.Substring(1, 16);
23
}
24
}
IEntity
Definition
IEntity.c:13
IEntity::GetPrefabData
proto external EntityPrefabData GetPrefabData()
ResourceName
Definition
ResourceName.c:13
SCR_BaseContainerTools
Definition
SCR_BaseContainerTools.c:4
SCR_ResourceNameUtils
Definition
SCR_ResourceNameUtils.c:2
scripts
Game
Utilities
SCR_ResourceNameUtils.c
Generated by
1.17.0