Unreal-Voxel/Source/Voxel/Public/VoxelAgentInterface.h

28 lines
626 B
C
Raw Normal View History

2020-12-03 05:52:29 +00:00
#pragma once
#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "VoxelAgentInterface.generated.h"
UINTERFACE(MinimalAPI)
class UVoxelAgentInterface : public UInterface
{
GENERATED_BODY()
};
class VOXEL_API IVoxelAgentInterface
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Voxel|Agent")
FIntVector GetAgentLocation() const;
FIntVector GetAgentLocation_Implementation() const;
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category = "Voxel|Agent")
FVector GetAgentPartialLocation() const;
FVector GetAgentPartialLocation_Implementation() const;
};