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

39 lines
1.1 KiB
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "SavableDataAsset.h"
#include "Templates/SubclassOf.h"
#include "PlayerCharacterID.generated.h"
class APlayerCharacter;
class UPlayerCharacterData;
UCLASS(Blueprintable)
class FSD_API UPlayerCharacterID : public USavableDataAsset {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FName AssetName;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
TSoftClassPtr<APlayerCharacter> Character;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FString AnalyticsID;
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
UPlayerCharacterData* CharacterData;
public:
UPlayerCharacterID();
UFUNCTION(BlueprintCallable, BlueprintPure)
UPlayerCharacterData* GetCharacterData() const;
UFUNCTION(BlueprintCallable, BlueprintPure)
TSubclassOf<APlayerCharacter> GetCharacterClass() const;
UFUNCTION(BlueprintCallable, BlueprintPure)
APlayerCharacter* GetCharacter() const;
};