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

Public Member Functions

void Init ()
 Init black lists, this will make sure each blacklist has a list to items that are blacklisted.
 
int GetLoadoutSaveBlackLists (out notnull array< SCR_LoadoutSaveBlackList > loadoutSaveBlackLists)
 Get List of all black lists.
 
int GetBlackListsCount ()
 
bool IsPrefabBlacklisted (ResourceName prefab)
 Check if given prefab is in an enabled blacklist.
 
bool IsBlackListActive (int index)
 Get if black list is active.
 
void SetBlackListActive (int index, bool active)
 Set black list active.
 
int GetOrderedBlackListsActive (out notnull array< bool > orderedBlackListActive)
 Get black lists active returning an ordered active array.
 
void SetOrderedBlackListsActive (notnull array< bool > orderedBlackListActive)
 Set black lists active using ordered active array.
 

Protected Attributes

ref array< ref SCR_LoadoutSaveBlackListm_LoadoutSaveBlackLists
 
ref array< ref SCR_LoadoutSaveBlackListItemm_aSaveBlackListItems
 

Member Function Documentation

◆ GetBlackListsCount()

int SCR_LoadoutSaveBlackListHolder.GetBlackListsCount ( )
Returns
Count of blacklist lists

◆ GetLoadoutSaveBlackLists()

int SCR_LoadoutSaveBlackListHolder.GetLoadoutSaveBlackLists ( out notnull array< SCR_LoadoutSaveBlackList loadoutSaveBlackLists)

Get List of all black lists.

Parameters
[out]loadoutSaveBlackListsList of black lists which contain lists of prefabs that can never be saved if the blacklist is enabled
Returns
Count of blacklist lists

◆ GetOrderedBlackListsActive()

int SCR_LoadoutSaveBlackListHolder.GetOrderedBlackListsActive ( out notnull array< bool >  orderedBlackListActive)

Get black lists active returning an ordered active array.

Parameters
[in]orderedBlackListActiveOrdered active array
Returns
Count of ordered active array

◆ Init()

void SCR_LoadoutSaveBlackListHolder.Init ( )

Init black lists, this will make sure each blacklist has a list to items that are blacklisted.

◆ IsBlackListActive()

bool SCR_LoadoutSaveBlackListHolder.IsBlackListActive ( int  index)

Get if black list is active.

Parameters
[in]indexIndex of black list
Returns
True if active

◆ IsPrefabBlacklisted()

bool SCR_LoadoutSaveBlackListHolder.IsPrefabBlacklisted ( ResourceName  prefab)

Check if given prefab is in an enabled blacklist.

Parameters
[in]prefabPrefab to check
Returns
True if prefab is blacklisted

◆ SetBlackListActive()

void SCR_LoadoutSaveBlackListHolder.SetBlackListActive ( int  index,
bool  active 
)

Set black list active.

Parameters
[in]indexIndex of black list
[in]activeTrue if setting blacklist active

◆ SetOrderedBlackListsActive()

void SCR_LoadoutSaveBlackListHolder.SetOrderedBlackListsActive ( notnull array< bool >  orderedBlackListActive)

Set black lists active using ordered active array.

Parameters
[in]orderedBlackListActiveOrdered active array

Member Data Documentation

◆ m_aSaveBlackListItems

ref array<ref SCR_LoadoutSaveBlackListItem> SCR_LoadoutSaveBlackListHolder.m_aSaveBlackListItems
protected

◆ m_LoadoutSaveBlackLists

ref array<ref SCR_LoadoutSaveBlackList> SCR_LoadoutSaveBlackListHolder.m_LoadoutSaveBlackLists
protected

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