ULimenSlotInventoryItem
Overview
The ULimenSlotInventoryItem class is an interface used to define the contract for inventory items that can be placed in specific slots. It provides pure virtual functions that must be implemented by any class inheriting from this interface, ensuring that all such items have a set of compatible slots and a default slot.
Properties
Type | Name | Access | Description |
|---|---|---|---|
TArray | CompatibleSlots() const | Public | Returns an array of slot names where the inventory item can be placed. |
FName | DefaultSlot() const | Public | Returns the default slot name where the inventory item should be placed if no other slot is specified. |
Functions
Return Type | Signature | Description |
|---|---|---|
| CompatibleSlots() const | Returns an array of slot names where the inventory item can be placed. |
| DefaultSlot() const | Returns the default slot name where the inventory item should be placed if no other slot is specified. |
Usage & Implementation Notes
This interface does not require any special threading constraints or replication requirements.
Memory lifetime management for classes implementing this interface should be handled according to standard Unreal Engine practices.
Initialization dependencies are determined by the implementation of the pure virtual functions in derived classes.