Skip to content

Elementus Inventory v1.1.6

Compare
Choose a tag to compare
@lucoiso lucoiso released this 21 Feb 15:32
· 27 commits to main since this release
4c8415a

Additions

Elementus Item Data

image

  • Metadata: Allows to implement custom properties in this item data. (TMap<FGameplayTag, FName>)
  • Relations: Map containing a tag as key and an ID container as value to add relations to other items such as crafting requirements, etc. (TMap<FGameplayTag, FPrimaryElementusItemIdContainer>)

Elementus Item Info

  • Level: New int32 to store current item level.

New Functions:

  • Get Item Metadatas: Load an Item Data using the given Elementus Item Info and return the Custom Metadatas property.
  • Get Item Relations: Load an Item Data using the given Elementus Item Info and return the Item Relations property.

Notes

Put the new properties in Elementus Item Data due to replications not supporting Maps containers & to avoid increase the size of the Elementus Item Info structure.

Thanks to Harry Kent for this idea! :)

Changes

  • Adjust some editor callbacks to use the _Lambda version.