Arma Reforger Script API
|
Public Member Functions | |
override void | SetSupportedArsenalItemTypes (SCR_EArsenalItemType types) |
override void | SetSupportedArsenalItemModes (SCR_EArsenalItemMode modes) |
override void | OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction newFaction) |
override void | OnArsenalGameModeTypeChanged (SCR_EArsenalGameModeType newArsenalGameModeType) |
override void | ClearArsenal () |
Remove every slot's item. | |
override void | RefreshArsenal (SCR_Faction faction=null) |
override void | EOnInit (IEntity owner) |
override void | OnPostInit (IEntity owner) |
Public Member Functions inherited from SCR_ArsenalComponent | |
SCR_EArsenalTypes | GetArsenalType () |
bool | IsArsenalEnabledByType () |
bool | IsArsenalEnabled () |
void | SetArsenalEnabled (bool enable, bool isOverwrite=true) |
SCR_EArsenalSupplyCostType | GetSupplyCostType () |
bool | IsArsenalUsingSupplies () |
SCR_EArsenalSaveType | GetArsenalSaveType () |
bool | IsArsenalSavingDisplayedIfDisabled () |
void | SetHasSaveArsenalAction (bool hasSaveArsenalAction) |
Set if arsenal save action is on the action manager. | |
bool | HasSaveArsenalAction () |
Check if Arsenal has an arsenal action attached to it. | |
void | SetArsenalSaveType (SCR_EArsenalSaveType saveType) |
Set Arsenal Save type (Server Only) | |
void | RPL_SetArsenalSaveType (SCR_EArsenalSaveType saveType) |
SCR_EArsenalItemType | GetSupportedArsenalItemTypes () |
void | SetSupportedArsenalItemTypes (SCR_EArsenalItemType types) |
SCR_EArsenalItemMode | GetSupportedArsenalItemModes () |
void | SetSupportedArsenalItemModes (SCR_EArsenalItemMode modes) |
SCR_EArsenalAttributeGroup | GetEditableAttributeGroups () |
SCR_ArsenalInventoryStorageManagerComponent | GetArsenalInventoryComponent () |
SCR_ArsenalItemListConfig | GetOverwriteArsenalConfig () |
Get overwrite Arsenal config. | |
bool | GetAvailablePrefabs (out notnull array< ResourceName > availablePrefabs) |
SCR_Faction | GetAssignedFaction () |
bool | GetFilteredArsenalItems (out notnull array< SCR_ArsenalItem > filteredArsenalItems, EArsenalItemDisplayType requiresDisplayType=-1) |
bool | GetFilteredOverwriteArsenalItems (out notnull array< SCR_ArsenalItem > filteredArsenalItems, EArsenalItemDisplayType requiresDisplayType=-1) |
Get filtered overwrite Arsenal EWorkshopItemState. | |
void | ClearArsenal () |
void | RefreshArsenal (SCR_Faction faction=null) |
ScriptInvokerArsenalUpdated | GetOnArsenalUpdated () |
override bool | RplSave (ScriptBitWriter writer) |
override bool | RplLoad (ScriptBitReader reader) |
Protected Member Functions | |
void | RegisterSlot (SCR_WeaponRackSlotEntity slot) |
void | RefreshUpdate () |
Refresh arsenal after m_fRefreshDelay delay. | |
bool | GetSlotValid (SCR_WeaponRackSlotEntity slotEntity, out bool isEmpty=true) |
bool | GetItemValidForSlot (SCR_EArsenalItemType itemType, SCR_EArsenalItemMode itemMode, SCR_EArsenalItemType supportedSlotTypes, SCR_EArsenalItemMode supportedSlotModes) |
override void | OnDelete (IEntity owner) |
Protected Member Functions inherited from SCR_ArsenalComponent | |
void | OnArsenalTypeEnabledChanged (SCR_EArsenalTypes typesEnabled) |
void | UpdateArsenalEnabledState () |
void | SetArsenalEnabledBroadcast (bool enable) |
void | RPC_OnArsenalUpdated (SCR_EArsenalItemType itemTypes, SCR_EArsenalItemMode itemModes) |
void | DelayedOnArsenalUpdatedClient (SCR_EArsenalItemType itemTypes, SCR_EArsenalItemMode itemModes) |
bool | GetItemValid (SCR_EArsenalItemType arsenalItemType, SCR_EArsenalItemMode arsenalItemMode) |
bool | GetItemValid (SCR_Faction faction, int index, out bool isEmpty=true) |
void | OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction newFaction) |
void | OnArsenalGameModeTypeChanged (SCR_EArsenalGameModeType newArsenalGameModeType) |
override void | OnPostInit (IEntity owner) |
override void | EOnInit (IEntity owner) |
void | FactionInit (IEntity owner) |
override void | OnDelete (IEntity owner) |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ArsenalComponent | |
static SCR_ArsenalComponent | FindArsenalComponent (notnull IEntity entity, bool getFromSlotted=true) |
Returns the first arsenal component found on the children of the given parent. | |
override void SCR_ArsenalDisplayComponent.ClearArsenal | ( | ) |
Remove every slot's item.
Implements SCR_ArsenalComponent.
override void SCR_ArsenalDisplayComponent.EOnInit | ( | IEntity | owner | ) |
Implements SCR_ArsenalComponent.
|
protected |
|
protected |
override void SCR_ArsenalDisplayComponent.OnArsenalGameModeTypeChanged | ( | SCR_EArsenalGameModeType | newArsenalGameModeType | ) |
Implements SCR_ArsenalComponent.
|
protected |
Implements SCR_ArsenalComponent.
override void SCR_ArsenalDisplayComponent.OnFactionChanged | ( | FactionAffiliationComponent | owner, |
Faction | previousFaction, | ||
Faction | newFaction | ||
) |
Implements SCR_ArsenalComponent.
override void SCR_ArsenalDisplayComponent.OnPostInit | ( | IEntity | owner | ) |
Implements SCR_ArsenalComponent.
override void SCR_ArsenalDisplayComponent.RefreshArsenal | ( | SCR_Faction | faction = null | ) |
[in] | faction | unused parameter |
Implements SCR_ArsenalComponent.
|
protected |
Refresh arsenal after m_fRefreshDelay delay.
|
protected |
override void SCR_ArsenalDisplayComponent.SetSupportedArsenalItemModes | ( | SCR_EArsenalItemMode | modes | ) |
[in] | modes |
Implements SCR_ArsenalComponent.
override void SCR_ArsenalDisplayComponent.SetSupportedArsenalItemTypes | ( | SCR_EArsenalItemType | types | ) |
[in] | types |
Implements SCR_ArsenalComponent.
|
protected |
|
protected |
|
protected |