#pragma once #include "CoreMinimal.h" #include "UObject/Object.h" #include "ScriptedAction.h" #include "ScriptedBehavior.h" #include "FortPawnScriptedBehavior.generated.h" UCLASS(Blueprintable, Config=Game, Within=FortPlayerPawn) class FORTNITEGAME_API UFortPawnScriptedBehavior : public UObject { GENERATED_BODY() public: UPROPERTY(BlueprintReadWrite, Config, EditAnywhere, meta=(AllowPrivateAccess=true)) TArray ActionTemplates; UPROPERTY(BlueprintReadWrite, Config, EditAnywhere, meta=(AllowPrivateAccess=true)) TArray ScriptedBehaviors; protected: UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) FScriptedBehavior CurrentBehavior; UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true)) FScriptedAction CurrentCommand; public: UFortPawnScriptedBehavior(); private: UFUNCTION(BlueprintCallable) void PlaceStructure(); };