Rework interaction system

This commit is contained in:
koritsa
2026-05-28 21:53:34 +03:00
parent 94c8f91220
commit 4bc12d2f0c
26 changed files with 496 additions and 216 deletions
@@ -8,6 +8,7 @@
#include "Components/ActorComponent.h"
#include "ClothingManager.generated.h"
class AItemPickup;
class UGlobalSaveGameData;
class AClothingPickup;
class UClothingItemInstance;
@@ -53,7 +54,11 @@ public:
private:
USkeletalMeshComponent* GetMeshComponent(EClothingSlotType SlotType) const;
void SpawnClothingPickup(UClothingItemInstance* ItemInstance);
UPROPERTY()
TMap<EClothingSlotType, TObjectPtr<UClothingItemInstance>> EquippedClothing;
UPROPERTY(EditDefaultsOnly, Category = "Clothing")
TSubclassOf<AItemPickup> ItemPickupActor;
};