Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_InvEquipCB |
class | SCR_EquipGearCB |
Enumerations | |
enum | EItemType |
Functions | |
enum EItemType | ComponentEditorProps (category:"GameScripted/Inventory", description:"Inventory 2.0", icon:HYBRID_COMPONENT_ICON) |
protected override void | OnComplete () |
protected override void | OnFailed () |
SCR_EquipGearCB SCR_InvCallBack | Attribute ("0", UIWidgets.EditBox, "How much weight the character can carry")] protected float m_fMaxWeight |
float | GetMaxLoad () |
BaseInventoryStorageComponent | GetWeaponStorage () |
InventoryItemComponent | GetItemFromLoadoutSlot (LoadoutAreaType eSlot) |
BaseInventoryStorageComponent | GetStorageFromLoadoutSlot (LoadoutAreaType eSlot) |
protected bool | HasStorageComponent (IEntity pEntity) |
void | GetStorages (out notnull array< SCR_UniversalInventoryStorageComponent > storagesInInventory) |
void | GetBlockedSlots (out notnull array< typename > blockedSlots) |
SCR_UniversalInventoryStorageComponent | GetStorageComponentFromEntity (IEntity pEntity) |
void | SetLootStorage (IEntity pOwner) |
BaseInventoryStorageComponent | GetLootStorage () |
bool | GetIsStorageShown (notnull BaseInventoryStorageComponent pStorage) |
void | SetStorageAsShown (notnull BaseInventoryStorageComponent pStorage) |
void | SetStorageAsHidden (notnull BaseInventoryStorageComponent pStorage) |
bool | ItemBelongsToSlot (int iItemType, int iSlotIndex) |
int | GetLastQuickSlotId (IEntity ent) |
int | GetEntityQuickSlot (IEntity item) |
bool | IsItemAlreadyInQuickSlot (IEntity item) |
int | StoreItemToQuickSlot (notnull IEntity pItem, int iSlotIndex=-1, bool isForced=false) |
int | RemoveItemFromQuickSlot (IEntity pItem) |
void | RemoveItemFromQuickSlotAtIndex (int iIndex) |
array< IEntity > | GetQuickSlotItems () |
IEntity | GetItemFromQuickSlot (int index) |
IEntity | GetCurrentItem () |
IEntity | GetSelectedItem () |
void | UnequipCurrentItem () |
Unequip currently held item. Not allowed while switching to another item. More... | |
void | DropCurrentItem () |
Drop currently held item. Not allowed while switching to another item. More... | |
protected override void | OnAddedToSlot (IEntity item, int slotID) |
protected override void | OnRemovedFromSlot (IEntity item, int slotID) |
protected void | UpdateBlockedSlots (IEntity item, int slotID, bool added) |
bool | IsAreaBlocked (typename areaType) |
protected void | EditArmoredAttributes (IEntity item, int slotID, bool remove=false) |
Take the data from the armor attribute, and store them in map on damagemanager. More... | |
void | HandleOnItemAddedToInventory (IEntity item, BaseInventoryStorageComponent storageOwner) |
void | HandleOnItemRemovedFromInventory (IEntity item, BaseInventoryStorageComponent storageOwner) |
bool | CanEquipItem_Inventory (notnull IEntity item) |
bool | CanUseItem_Inventory (notnull IEntity item, ESlotFunction slotFunction=ESlotFunction.TYPE_GENERIC) |
bool | CanUseItem (notnull IEntity item, ESlotFunction slotFunction=ESlotFunction.TYPE_GENERIC) |
bool | UseItem (notnull IEntity item, ESlotFunction slotFunction=ESlotFunction.TYPE_GENERIC) |
protected bool | CanReloadCurrentWeapon (notnull IEntity item) |
protected bool | ReloadCurrentWeapon (IEntity item) |
protected void | GetPlayersWeapons (notnull inout array< IEntity > outWeapons) |
protected BaseCompartmentSlot | GetCurrentCompartment () |
protected BaseWeaponComponent | GetCurrentTurretWeapon () |
void | InitAsPlayer (IEntity pOwner, bool pControlled) |
protected void | OnItemUsed (IEntity item, bool successful, ItemUseParameters animParams) |
protected void | OnCompartmentEntered (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
protected void | OnCompartmentLeft (IEntity targetEntity, BaseCompartmentManagerComponent manager, int mgrID, int slotID, bool move) |
protected void | RemoveItemsFromWeaponQuickSlots () |
protected int | GetTurretWeaponsList (BaseCompartmentSlot compartment, out array< IEntity > weaponsList) |
protected int | GetTurretWeaponSlots (BaseCompartmentSlot compartment, out array< WeaponSlotComponent > weaponSlots) |
Variables | |
IT_NONE = 16385 | |
SCR_InvEquipCB | m_InvMan |
protected float | m_fMaxVolume |
private BaseInventoryStorageComponent | m_LootStorage |
protected ref array< IEntity > | m_aQuickSlots = { null, null, null, null, null, null, null, null, null, null } |
protected ref map< IEntity, int > | m_mSlotHistory = new map<IEntity, int>() |
protected ref array< IEntity > | m_aWeaponQuickSlotsStorage = {} |
protected ref array< int > | m_aQuickSlotsHistory = {} |
protected ref array< typename > | m_aBlockedSlots = {} |
protected ref array< BaseInventoryStorageComponent > | m_aStoragesInStorageList = {} |
protected SCR_CompartmentAccessComponent | m_CompartmentAcessComp |
protected BaseInventoryStorageComponent | m_WeaponStorage |
protected ref SCR_InvEquipCB | m_Callback = new SCR_InvEquipCB() |
enum EItemType |
Definition at line 1 of file SCR_CharacterInventoryStorageComponent.c.
SCR_EquipGearCB SCR_InvCallBack Attribute | ( | "0" | , |
UIWidgets. | EditBox, | ||
"How much weight the character can carry" | |||
) |
bool CanEquipItem_Inventory | ( | notnull IEntity | item | ) |
Definition at line 684 of file SCR_CharacterInventoryStorageComponent.c.
protected bool CanReloadCurrentWeapon | ( | notnull IEntity | item | ) |
Definition at line 1013 of file SCR_CharacterInventoryStorageComponent.c.
bool CanUseItem | ( | notnull IEntity | item, |
ESlotFunction | slotFunction = ESlotFunction.TYPE_GENERIC |
||
) |
[in] | item | |
[in] | slotFunction |
Definition at line 780 of file SCR_CharacterInventoryStorageComponent.c.
bool CanUseItem_Inventory | ( | notnull IEntity | item, |
ESlotFunction | slotFunction = ESlotFunction.TYPE_GENERIC |
||
) |
Definition at line 713 of file SCR_CharacterInventoryStorageComponent.c.
enum EItemType ComponentEditorProps | ( | category:"GameScripted/Inventory" | , |
description:"Inventory 2.0" | , | ||
icon:HYBRID_COMPONENT_ICON | |||
) |
Definition at line 6 of file SCR_CharacterInventoryStorageComponent.c.
void DropCurrentItem | ( | ) |
Drop currently held item. Not allowed while switching to another item.
Definition at line 505 of file SCR_CharacterInventoryStorageComponent.c.
protected void EditArmoredAttributes | ( | IEntity | item, |
int | slotID, | ||
bool | remove = false |
||
) |
Take the data from the armor attribute, and store them in map on damagemanager.
Definition at line 646 of file SCR_CharacterInventoryStorageComponent.c.
void GetBlockedSlots | ( | out notnull array< typename > | blockedSlots | ) |
[out] | blockedSlots |
Definition at line 182 of file SCR_CharacterInventoryStorageComponent.c.
protected BaseCompartmentSlot GetCurrentCompartment | ( | ) |
Definition at line 1086 of file SCR_CharacterInventoryStorageComponent.c.
IEntity GetCurrentItem | ( | ) |
Definition at line 446 of file SCR_CharacterInventoryStorageComponent.c.
protected BaseWeaponComponent GetCurrentTurretWeapon | ( | ) |
Definition at line 1100 of file SCR_CharacterInventoryStorageComponent.c.
int GetEntityQuickSlot | ( | IEntity | item | ) |
[in] | item |
Definition at line 297 of file SCR_CharacterInventoryStorageComponent.c.
bool GetIsStorageShown | ( | notnull BaseInventoryStorageComponent | pStorage | ) |
[in] | pStorage |
Definition at line 221 of file SCR_CharacterInventoryStorageComponent.c.
InventoryItemComponent GetItemFromLoadoutSlot | ( | LoadoutAreaType | eSlot | ) |
[in] | eSlot |
Definition at line 133 of file SCR_CharacterInventoryStorageComponent.c.
IEntity GetItemFromQuickSlot | ( | int | index | ) |
[in] | index |
Definition at line 436 of file SCR_CharacterInventoryStorageComponent.c.
int GetLastQuickSlotId | ( | IEntity | ent | ) |
BaseInventoryStorageComponent GetLootStorage | ( | ) |
Definition at line 213 of file SCR_CharacterInventoryStorageComponent.c.
float GetMaxLoad | ( | ) |
Definition at line 115 of file SCR_CharacterInventoryStorageComponent.c.
protected void GetPlayersWeapons | ( | notnull inout array< IEntity > | outWeapons | ) |
Definition at line 1070 of file SCR_CharacterInventoryStorageComponent.c.
array<IEntity> GetQuickSlotItems | ( | ) |
Definition at line 428 of file SCR_CharacterInventoryStorageComponent.c.
IEntity GetSelectedItem | ( | ) |
Definition at line 473 of file SCR_CharacterInventoryStorageComponent.c.
SCR_UniversalInventoryStorageComponent GetStorageComponentFromEntity | ( | IEntity | pEntity | ) |
[in] | pEntity |
Definition at line 190 of file SCR_CharacterInventoryStorageComponent.c.
BaseInventoryStorageComponent GetStorageFromLoadoutSlot | ( | LoadoutAreaType | eSlot | ) |
[in] | eSlot |
Definition at line 152 of file SCR_CharacterInventoryStorageComponent.c.
void GetStorages | ( | out notnull array< SCR_UniversalInventoryStorageComponent > | storagesInInventory | ) |
[out] | storagesInInventory |
Definition at line 166 of file SCR_CharacterInventoryStorageComponent.c.
protected int GetTurretWeaponsList | ( | BaseCompartmentSlot | compartment, |
out array< IEntity > | weaponsList | ||
) |
Definition at line 1360 of file SCR_CharacterInventoryStorageComponent.c.
protected int GetTurretWeaponSlots | ( | BaseCompartmentSlot | compartment, |
out array< WeaponSlotComponent > | weaponSlots | ||
) |
Definition at line 1374 of file SCR_CharacterInventoryStorageComponent.c.
BaseInventoryStorageComponent GetWeaponStorage | ( | ) |
Definition at line 122 of file SCR_CharacterInventoryStorageComponent.c.
void HandleOnItemAddedToInventory | ( | IEntity | item, |
BaseInventoryStorageComponent | storageOwner | ||
) |
[in] | item | |
[in] | storageOwner |
Definition at line 666 of file SCR_CharacterInventoryStorageComponent.c.
void HandleOnItemRemovedFromInventory | ( | IEntity | item, |
BaseInventoryStorageComponent | storageOwner | ||
) |
[in] | item | |
[in] | storageOwner |
Definition at line 677 of file SCR_CharacterInventoryStorageComponent.c.
protected bool HasStorageComponent | ( | IEntity | pEntity | ) |
Definition at line 158 of file SCR_CharacterInventoryStorageComponent.c.
void InitAsPlayer | ( | IEntity | pOwner, |
bool | pControlled | ||
) |
[in] | pOwner | |
[in] | pControlled |
Definition at line 1121 of file SCR_CharacterInventoryStorageComponent.c.
bool IsAreaBlocked | ( | typename areaType | ) |
[in] | areaType |
Definition at line 639 of file SCR_CharacterInventoryStorageComponent.c.
bool IsItemAlreadyInQuickSlot | ( | IEntity | item | ) |
[in] | item |
Definition at line 312 of file SCR_CharacterInventoryStorageComponent.c.
[in] | iItemType | |
[in] | iSlotIndex |
Definition at line 279 of file SCR_CharacterInventoryStorageComponent.c.
protected override void OnComplete | ( | ) |
Definition at line 34 of file SCR_CharacterInventoryStorageComponent.c.
protected override void OnFailed | ( | ) |
Definition at line 43 of file SCR_CharacterInventoryStorageComponent.c.
protected void OnItemUsed | ( | IEntity | item, |
bool | successful, | ||
ItemUseParameters | animParams | ||
) |
Definition at line 1202 of file SCR_CharacterInventoryStorageComponent.c.
protected bool ReloadCurrentWeapon | ( | IEntity | item | ) |
Definition at line 1053 of file SCR_CharacterInventoryStorageComponent.c.
int RemoveItemFromQuickSlot | ( | IEntity | pItem | ) |
[in] | pItem |
Definition at line 408 of file SCR_CharacterInventoryStorageComponent.c.
void RemoveItemFromQuickSlotAtIndex | ( | int | iIndex | ) |
[in] | iIndex |
Definition at line 420 of file SCR_CharacterInventoryStorageComponent.c.
protected void RemoveItemsFromWeaponQuickSlots | ( | ) |
Definition at line 1351 of file SCR_CharacterInventoryStorageComponent.c.
void SetLootStorage | ( | IEntity | pOwner | ) |
[in] | pOwner |
Definition at line 200 of file SCR_CharacterInventoryStorageComponent.c.
void SetStorageAsHidden | ( | notnull BaseInventoryStorageComponent | pStorage | ) |
[in] | pStorage |
Definition at line 236 of file SCR_CharacterInventoryStorageComponent.c.
void SetStorageAsShown | ( | notnull BaseInventoryStorageComponent | pStorage | ) |
[in] | pStorage |
Definition at line 228 of file SCR_CharacterInventoryStorageComponent.c.
[in] | pItem | |
[in] | iSlotIndex | |
[in] | isForced |
Definition at line 331 of file SCR_CharacterInventoryStorageComponent.c.
void UnequipCurrentItem | ( | ) |
Unequip currently held item. Not allowed while switching to another item.
Definition at line 484 of file SCR_CharacterInventoryStorageComponent.c.
protected void UpdateBlockedSlots | ( | IEntity | item, |
int | slotID, | ||
bool | added | ||
) |
Definition at line 607 of file SCR_CharacterInventoryStorageComponent.c.
bool UseItem | ( | notnull IEntity | item, |
ESlotFunction | slotFunction = ESlotFunction.TYPE_GENERIC |
||
) |
[in] | item | |
[in] | slotFunction |
Definition at line 843 of file SCR_CharacterInventoryStorageComponent.c.
IT_NONE = 16385 |
Definition at line 2 of file SCR_CharacterInventoryStorageComponent.c.
protected ref array<typename> m_aBlockedSlots = {} |
Definition at line 101 of file SCR_CharacterInventoryStorageComponent.c.
protected ref array<IEntity> m_aQuickSlots = { null, null, null, null, null, null, null, null, null, null } |
Definition at line 74 of file SCR_CharacterInventoryStorageComponent.c.
protected ref array< int > m_aQuickSlotsHistory = {} |
Definition at line 77 of file SCR_CharacterInventoryStorageComponent.c.
protected ref array<BaseInventoryStorageComponent> m_aStoragesInStorageList = {} |
Definition at line 102 of file SCR_CharacterInventoryStorageComponent.c.
protected ref array<IEntity> m_aWeaponQuickSlotsStorage = {} |
Definition at line 76 of file SCR_CharacterInventoryStorageComponent.c.
protected ref SCR_InvEquipCB m_Callback = new SCR_InvEquipCB() |
Definition at line 106 of file SCR_CharacterInventoryStorageComponent.c.
protected SCR_CompartmentAccessComponent m_CompartmentAcessComp |
Definition at line 103 of file SCR_CharacterInventoryStorageComponent.c.
protected float m_fMaxVolume |
Definition at line 69 of file SCR_CharacterInventoryStorageComponent.c.
SCR_InvEquipCB m_InvMan |
private BaseInventoryStorageComponent m_LootStorage |
Definition at line 73 of file SCR_CharacterInventoryStorageComponent.c.
Definition at line 75 of file SCR_CharacterInventoryStorageComponent.c.
protected BaseInventoryStorageComponent m_WeaponStorage |
Definition at line 104 of file SCR_CharacterInventoryStorageComponent.c.