Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ItemAttributeCollection Interface Reference
Inheritance diagram for SCR_ItemAttributeCollection:
ItemAttributeCollection SCR_IdentityItemAttributeCollection

Public Member Functions

float GetVolume ()
 
float GetWeight ()
 
bool IsDraggable ()
 
bool IsVisible (InventoryItemComponent inventoryItem)
 
bool IsStackable ()
 
bool IsRefundable ()
 
void SetSlotSize (ESlotSize slotSize)
 
void SetDraggable (bool isDraggable)
 
void SetRefundable (bool isRefundable)
 
void SetSlotType (ESlotID slotID)
 
ESlotID GetSlotType ()
 
int GetSlotSum ()
 
ESlotSize GetItemSize ()
 size of the slot the item fits in
 
ESlotSize GetQuickSlotItemSize ()
 Size of item when added to the quickbar.
 
- Public Member Functions inherited from ItemAttributeCollection
proto external UIInfo GetUIInfo ()
 
proto external BaseItemAttributeData FindAttribute (TypeName typeName)
 Script Attribute getter Finds first occurance of the coresponding attribute data object.
 
proto external ECommonItemType GetCommonType ()
 

Protected Member Functions

override void OnInitCollection (IEntityComponentSource src)
 

Protected Attributes

ESlotSize m_Size
 
SCR_EQuickSlotSize m_eQuickSlotSize
 
ESlotID m_SlotType
 
bool m_bDraggable
 
bool m_bVisible
 
bool m_bStackable
 
bool m_bRefundable
 

Member Function Documentation

◆ GetItemSize()

ESlotSize SCR_ItemAttributeCollection.GetItemSize ( )

size of the slot the item fits in

◆ GetQuickSlotItemSize()

ESlotSize SCR_ItemAttributeCollection.GetQuickSlotItemSize ( )

Size of item when added to the quickbar.

◆ GetSlotSum()

int SCR_ItemAttributeCollection.GetSlotSum ( )

◆ GetSlotType()

ESlotID SCR_ItemAttributeCollection.GetSlotType ( )

◆ GetVolume()

float SCR_ItemAttributeCollection.GetVolume ( )

◆ GetWeight()

float SCR_ItemAttributeCollection.GetWeight ( )

◆ IsDraggable()

bool SCR_ItemAttributeCollection.IsDraggable ( )

◆ IsRefundable()

bool SCR_ItemAttributeCollection.IsRefundable ( )

◆ IsStackable()

bool SCR_ItemAttributeCollection.IsStackable ( )

◆ IsVisible()

bool SCR_ItemAttributeCollection.IsVisible ( InventoryItemComponent inventoryItem)

◆ OnInitCollection()

override void SCR_ItemAttributeCollection.OnInitCollection ( IEntityComponentSource src)
protected

◆ SetDraggable()

void SCR_ItemAttributeCollection.SetDraggable ( bool isDraggable)

◆ SetRefundable()

void SCR_ItemAttributeCollection.SetRefundable ( bool isRefundable)

◆ SetSlotSize()

void SCR_ItemAttributeCollection.SetSlotSize ( ESlotSize slotSize)

◆ SetSlotType()

void SCR_ItemAttributeCollection.SetSlotType ( ESlotID slotID)

Member Data Documentation

◆ m_bDraggable

bool SCR_ItemAttributeCollection.m_bDraggable
protected

◆ m_bRefundable

bool SCR_ItemAttributeCollection.m_bRefundable
protected

◆ m_bStackable

bool SCR_ItemAttributeCollection.m_bStackable
protected

◆ m_bVisible

bool SCR_ItemAttributeCollection.m_bVisible
protected

◆ m_eQuickSlotSize

SCR_EQuickSlotSize SCR_ItemAttributeCollection.m_eQuickSlotSize
protected

◆ m_Size

ESlotSize SCR_ItemAttributeCollection.m_Size
protected

◆ m_SlotType

ESlotID SCR_ItemAttributeCollection.m_SlotType
protected

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