DRG-Femboy-Voice/Source/FSD/Public/PlayerResourceComponent.h
2025-04-15 12:39:31 -07:00

18 lines
519 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "ResourcesComponent.h"
#include "PlayerResourceComponent.generated.h"
class APlayerCharacter;
class UPlayerResourceComponent;
UCLASS(Blueprintable, ClassGroup=Custom, meta=(BlueprintSpawnableComponent))
class UPlayerResourceComponent : public UResourcesComponent {
GENERATED_BODY()
public:
UPlayerResourceComponent();
UFUNCTION(BlueprintCallable, BlueprintPure)
static UPlayerResourceComponent* GetFromPlayer(APlayerCharacter* PlayerCharacter);
};