Program Listing for File GKMLPlayerState.h

Return to documentation for file (Source/GKML/GKMLPlayerState.h)

// BSD 3-Clause License Copyright (c) 2022, Pierre Delaunay All rights reserved.

#pragma once

// Unreal
#include "CoreMinimal.h"
#include "GameFramework/PlayerState.h"

// Generated
#include "GKMLPlayerState.generated.h"

UCLASS(Blueprintable, BlueprintType)
class GKML_API AGKMLPlayerState : public APlayerState
{
    GENERATED_BODY()

public:

    UFUNCTION(BlueprintCallable, Category = Score)
    void K2_SetScore(const float value) {
        SetScore(value);
    }
};