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

Static Public Member Functions

static ResourceName GetPrefabName (IEntity entity)
 Gets the prefab the entity uses.
 
static string GetPrefabGUID (ResourceName prefab)
 Gets the GUID of a prefab.
 

Member Function Documentation

◆ GetPrefabGUID()

static string SCR_ResourceNameUtils.GetPrefabGUID ( ResourceName prefab)
static

Gets the GUID of a prefab.

◆ GetPrefabName()

static ResourceName SCR_ResourceNameUtils.GetPrefabName ( IEntity entity)
static

Gets the prefab the entity uses.

Parameters
[in]entityInstance of which to get the prefab name
Returns
the resource name of the prefab or empty string if no prefab was used or entity is invalid

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