You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Abstract: Indicates that this class is meant to be a base class and should not be instantiated directly.
Blueprintable and BlueprintType: Allows the class to be used within Blueprints.
EditInlineNew: Enables creating new instances of this class in the editor inline with the property that's referencing it.
Purpose:
The UMounteaInventoryItemAction class provides a common interface and functionalities for inventory item actions such as displaying the action, processing the action, and setting the action context.
Properties:
ActionTag: A FGameplayTag used to uniquely identify or categorize the action.
ActionName: A FName used for a more human-readable identification of the action.
ActionIcon: A pointer to a UTexture2D that represents the action's icon.
OwningItem: A pointer to the UMounteaInventoryItemBase that owns or is associated with this action.
Methods:
Function: InitializeAction
Purpose:
To set up the action with a specific item and context.
Inputs:
UMounteaInventoryItemBase* ItemInFocus: The inventory item that is the focus of this action.
FMounteaDynamicDelegateContext Context: The context in which the action is being initialized.
Function: DisplayAction
Purpose:
To determine if the action should be displayed to the user.
Returns:
bool - True if the action should be displayed, False otherwise.
Function: ProcessAction
Purpose:
This function is meant to be implemented in Blueprints to define what happens when the action is processed.
Function: SetWorldFromLevel
Purpose:
To set the World property based on the given level.
Function: SetWorld
Purpose:
To directly set the World property.
Function: CopyFromOther
Purpose:
To copy properties from another instance of UMounteaInventoryItemAction.
Struct: FMounteaItemAction
Purpose:
To wrap UMounteaInventoryItemAction for use in more complex data structures, with comparison operators and a hashing function.
Hashing
Function GetTypeHash(Action: FMounteaItemAction) -> uint32:
Return HashFromPointer(FMounteaItemAction.Actoin)
End Function
The text was updated successfully, but these errors were encountered:
Class: UMounteaInventoryItemAction
Inherits: UObject
Attributes:
Purpose:
The UMounteaInventoryItemAction class provides a common interface and functionalities for inventory item actions such as displaying the action, processing the action, and setting the action context.
Properties:
Methods:
Function: InitializeAction
To set up the action with a specific item and context.
Function: DisplayAction
To determine if the action should be displayed to the user.
Function: ProcessAction
This function is meant to be implemented in Blueprints to define what happens when the action is processed.
Function: SetWorldFromLevel
To set the World property based on the given level.
Function: SetWorld
To directly set the World property.
Function: CopyFromOther
To copy properties from another instance of UMounteaInventoryItemAction.
Struct: FMounteaItemAction
To wrap UMounteaInventoryItemAction for use in more complex data structures, with comparison operators and a hashing function.
Hashing
Function GetTypeHash(Action: FMounteaItemAction) -> uint32: Return HashFromPointer(FMounteaItemAction.Actoin) End Function
The text was updated successfully, but these errors were encountered: