Verse API reference page for the (Inventory:inventory_component).CanAddItem extension
Returns a failure reason (such as being full) if the provided item entity cannot be added. Does not consider sub-inventories.
Verse using statement |
using { /UnrealEngine.com/Itemization } |
(Inventory:inventory_component).CanAddItem<public><native>(Item:entity, AllowMergeItems:logic)<transacts>:result(success_type,error_type)
Parameters
CanAddItem takes the following parameters:
| Name | Type | Description |
|---|---|---|
Inventory |
inventory_component |
|
Item |
entity |
|
AllowMergeItems |
logic |
Attributes, Specifiers, and Effects
The following attributes, specifiers, and effects determine how you can interact with CanAddItem in your programs, as well as how it behaves in your programs and UEFN. For the complete list of attributes, specifiers, and effects; see the Specifiers Page.
Attributes
| Attribute | Arguments | Meaning |
|---|---|---|
available |
MinUploadedAtFNVersion := 3800 |
This feature is available beginning with the UEFN version specified by MinUploadedAtFNVersion and unavailable prior to that version. |
experimental |
This feature is in an experimental state, and you cannot publish projects that use this feature. The API for this feature is subject to change and backward compatibility is not guaranteed. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.