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

UI Equipment class #164

Open
pavlicekdominik opened this issue Nov 4, 2023 · 0 comments
Open

UI Equipment class #164

pavlicekdominik opened this issue Nov 4, 2023 · 0 comments
Assignees
Milestone

Comments

@pavlicekdominik
Copy link
Member

UEquipmentUI
Implements: IEquipmentUI

Properties:

  • EquipmentSlots: TArray<UEquipmentSlotUI*> - An array of slot UI elements that make up the equipment interface.

Methods:

  • InitializeEquipment(): Sets up the initial state and layout of the equipment UI based on the equipment data provided.
  • UpdateEquipmentSlot(FInventoryItem ItemData, FName SlotName): Updates the slot identified by SlotName with the given item data.
  • ClearEquipmentSlot(FName SlotName): Empties the item data from the slot identified by SlotName.

Usage and Logic Integration:

  • Acts as the main controller for the equipment UI, managing the equipment slot UI elements.
  • Should be initialized when the player opens their equipment or when changes to equipment are made.
  • Responds to equipment changes by updating and clearing slots as needed.
@pavlicekdominik pavlicekdominik self-assigned this Nov 4, 2023
@pavlicekdominik pavlicekdominik added this to the 1.0.0.X milestone Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant