Verse API reference page for the MergeInto function
Attempts to merge this item into the specified item. Fails if items cannot be merged or no items are moved. If TargetAmount is specified, only that amount will try to be merged into this item.
Verse using statement |
using { /UnrealEngine.com/Itemization } |
MergeInto<public><final><native_callable>(TargetItem:entity, TargetAmount:?int)<transacts><decides>:void
Parameters
MergeInto takes the following parameters:
| Name | Type | Description |
|---|---|---|
TargetItem |
entity |
|
TargetAmount |
?int |
Attributes, Specifiers, and Effects
Specifiers
The following specifiers determine how you can interact with MergeInto in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |
final |
You can only use the final specifier on classes and members of classes. When a class has the final specifier, you cannot create a subclass of the class. When a field has the final specifier, you cannot override the field in a subclass. When a method has the final specifier, you cannot override the method in a subclass. |
native_callable |
Indicates that an instance method is both native (implemented in C++) and may be called by other C++ code. You can see this specifier used on an instance method. This specifier doesn't propagate to subclasses and so you don't need to add it to a definition when overriding a method that has this specifier. |
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.