Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SCR_PlaceableEntitiesRegistry Interface Reference

List of entities that will be available for placing in the content browser. More...

Inheritance diagram for SCR_PlaceableEntitiesRegistry:
[legend]

Public Member Functions

ResourceName GetAddon ()
 Get the addon which the list covers.
 
ResourceName GetSourceDirectory ()
 Get the directory which the list covers.
 
bool IsExposed ()
 Check if the registry can be exposed in asset browser.
 
array< ResourceName > GetPrefabs (bool onlyExposed=false)
 Get all prefab infos in the list.
 
void SetPrefabs (notnull array< ResourceName > prefabs)
 
void AddPrefabs (notnull array< ResourceName > prefabs)
 

Detailed Description

List of entities that will be available for placing in the content browser.

Generated automatically by EditableEntityCollector.

Member Function Documentation

◆ AddPrefabs()

void SCR_PlaceableEntitiesRegistry.AddPrefabs ( notnull array< ResourceName >  prefabs)

◆ GetAddon()

ResourceName SCR_PlaceableEntitiesRegistry.GetAddon ( )

Get the addon which the list covers.

Returns
Addon name

◆ GetPrefabs()

array< ResourceName > SCR_PlaceableEntitiesRegistry.GetPrefabs ( bool  onlyExposed = false)

Get all prefab infos in the list.

Parameters
[out]infosArray to be filled with prefabs

◆ GetSourceDirectory()

ResourceName SCR_PlaceableEntitiesRegistry.GetSourceDirectory ( )

Get the directory which the list covers.

Returns
Path to directory

◆ IsExposed()

bool SCR_PlaceableEntitiesRegistry.IsExposed ( )

Check if the registry can be exposed in asset browser.

Returns
True when exposed

◆ SetPrefabs()

void SCR_PlaceableEntitiesRegistry.SetPrefabs ( notnull array< ResourceName >  prefabs)

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