Limen Framework 0.1 Help

ALimenPhysicalItem

Overview

ALimenPhysicalItem is an abstract base class derived from ALimenItemBase. It represents items with a physical presence in the game world, such as weapons. The class manages item state tags and provides functionality to set and get attachment socket names.

Properties

Type

Name

Access

Description

FName

AttachSocketName

EditAnywhere

Socket name for attaching the item to another object.

Functions

Return Type

Signature

Description

void

SetTagState(const FGameplayTag& InTag, bool bEnable)

Sets or removes a tag from the item's state tags based on the provided boolean value.

const FName&

GetAttachmentSocketName() const

Returns the name of the socket used for attaching the item to another object.

Usage & Implementation Notes

  • The AttachSocketName property is editable in the Unreal Editor and can be customized per instance.

  • The SetTagState function checks if the tag state can be changed using the CanSetTagState method before modifying the ItemStateTags.

  • The TagStateChanged function is a placeholder that can be overridden to handle changes in item tags.

  • The CanSetTagState function ensures that the tag state is toggled only when necessary, preventing redundant operations.

22 May 2026