Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_LoadoutSaveBlackListHolder Class Reference

Protected 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)
int GetBlackListsCount ()
bool IsPrefabBlacklisted (ResourceName prefab)
bool IsBlackListActive (int index)
void SetBlackListActive (int index, bool active)
int GetOrderedBlackListsActive (out notnull array< bool > orderedBlackListActive)
void SetOrderedBlackListsActive (notnull array< bool > orderedBlackListActive)

Protected Attributes

ref array< ref SCR_LoadoutSaveBlackListm_LoadoutSaveBlackLists
ref array< ref SCR_LoadoutSaveBlackListItemm_aSaveBlackListItems

Detailed Description

Definition at line 2 of file SCR_LoadoutSaveBlackListHolder.c.

Member Function Documentation

◆ GetBlackListsCount()

int SCR_LoadoutSaveBlackListHolder::GetBlackListsCount ( )
inlineprotected
Returns
Count of blacklist lists

Definition at line 43 of file SCR_LoadoutSaveBlackListHolder.c.

◆ GetLoadoutSaveBlackLists()

int SCR_LoadoutSaveBlackListHolder::GetLoadoutSaveBlackLists ( out notnull array< SCR_LoadoutSaveBlackList > loadoutSaveBlackLists)
inlineprotected

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

Definition at line 29 of file SCR_LoadoutSaveBlackListHolder.c.

◆ GetOrderedBlackListsActive()

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

Get black lists active returning an ordered active array

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

Definition at line 113 of file SCR_LoadoutSaveBlackListHolder.c.

◆ Init()

void SCR_LoadoutSaveBlackListHolder::Init ( )
inlineprotected

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

Definition at line 12 of file SCR_LoadoutSaveBlackListHolder.c.

◆ IsBlackListActive()

bool SCR_LoadoutSaveBlackListHolder::IsBlackListActive ( int index)
inlineprotected

Get if black list is active

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

Definition at line 83 of file SCR_LoadoutSaveBlackListHolder.c.

◆ IsPrefabBlacklisted()

bool SCR_LoadoutSaveBlackListHolder::IsPrefabBlacklisted ( ResourceName prefab)
inlineprotected

Check if given prefab is in an enabled blacklist.

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

Definition at line 52 of file SCR_LoadoutSaveBlackListHolder.c.

◆ SetBlackListActive()

void SCR_LoadoutSaveBlackListHolder::SetBlackListActive ( int index,
bool active )
inlineprotected

Set black list active

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

Definition at line 98 of file SCR_LoadoutSaveBlackListHolder.c.

◆ SetOrderedBlackListsActive()

void SCR_LoadoutSaveBlackListHolder::SetOrderedBlackListsActive ( notnull array< bool > orderedBlackListActive)
inlineprotected

Set black lists active using ordered active array

Parameters
[in]orderedBlackListActiveOrdered active array

Definition at line 131 of file SCR_LoadoutSaveBlackListHolder.c.

Member Data Documentation

◆ m_aSaveBlackListItems

ref array<ref SCR_LoadoutSaveBlackListItem> SCR_LoadoutSaveBlackListHolder::m_aSaveBlackListItems
protected

Definition at line 8 of file SCR_LoadoutSaveBlackListHolder.c.

◆ m_LoadoutSaveBlackLists

ref array<ref SCR_LoadoutSaveBlackList> SCR_LoadoutSaveBlackListHolder::m_LoadoutSaveBlackLists
protectedattribute

Definition at line 5 of file SCR_LoadoutSaveBlackListHolder.c.


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