Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.6 #34

Merged
merged 1 commit into from
Feb 21, 2023
Merged

v1.1.6 #34

merged 1 commit into from
Feb 21, 2023

Conversation

lucoiso
Copy link
Owner

@lucoiso lucoiso commented Feb 21, 2023

Additions

Elementus Item Data

  • 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.

@lucoiso lucoiso added the enhancement New feature or request label Feb 21, 2023
@lucoiso lucoiso self-assigned this Feb 21, 2023
@lucoiso lucoiso merged commit 4c8415a into main Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant