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

Public Member Functions

bool Init ()
 Init black list, this will get all items that should be blacklisted and adds it to one unified set (Server only)
 
bool IsEnabled ()
 
bool IsActive ()
 
void SetActive (bool active)
 Set black list enabled.
 
bool DoesBlackListContaintPrefab (ResourceName prefab)
 Does black list contain prefab.
 
SCR_UIInfo GetUIInfo ()
 

Protected Attributes

bool m_bEnabled
 
bool m_bBlackListActive
 
ref SCR_UIInfo m_UIInfo
 
ref array< ResourceName > m_aBlackListedPrefabs
 
ref array< ref SCR_LoadoutSaveBlackListItemTypem_BlackListedItemTypes
 
ref set< ResourceName > m_BlackListedPrefabs = new set<ResourceName>()
 

Member Function Documentation

◆ DoesBlackListContaintPrefab()

bool SCR_LoadoutSaveBlackList.DoesBlackListContaintPrefab ( ResourceName  prefab)

Does black list contain prefab.

Parameters
[in]prefabPrefab to check
Returns
True if it contains, false if it does not

◆ GetUIInfo()

SCR_UIInfo SCR_LoadoutSaveBlackList.GetUIInfo ( )
Returns
Get UIInfo

◆ Init()

bool SCR_LoadoutSaveBlackList.Init ( )

Init black list, this will get all items that should be blacklisted and adds it to one unified set (Server only)

Returns
Returns true if init is successfull, returns false if not

◆ IsActive()

bool SCR_LoadoutSaveBlackList.IsActive ( )
Returns
Get if black list is active

◆ IsEnabled()

bool SCR_LoadoutSaveBlackList.IsEnabled ( )
Returns
Get if black list is enabled. Disabled blacklists are removed on init

◆ SetActive()

void SCR_LoadoutSaveBlackList.SetActive ( bool  active)

Set black list enabled.

Parameters
[in]enabledTrue if setting blacklist enabled

Member Data Documentation

◆ m_aBlackListedPrefabs

ref array<ResourceName> SCR_LoadoutSaveBlackList.m_aBlackListedPrefabs
protected

◆ m_bBlackListActive

bool SCR_LoadoutSaveBlackList.m_bBlackListActive
protected

◆ m_bEnabled

bool SCR_LoadoutSaveBlackList.m_bEnabled
protected

◆ m_BlackListedItemTypes

ref array<ref SCR_LoadoutSaveBlackListItemType> SCR_LoadoutSaveBlackList.m_BlackListedItemTypes
protected

◆ m_BlackListedPrefabs

ref set<ResourceName> SCR_LoadoutSaveBlackList.m_BlackListedPrefabs = new set<ResourceName>()
protected

◆ m_UIInfo

ref SCR_UIInfo SCR_LoadoutSaveBlackList.m_UIInfo
protected

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