30 lines
1,012 B
C++
Executable file
30 lines
1,012 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "UObject/NoExportTypes.h"
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "GameModeFunctionLibrary.generated.h"
|
|
|
|
class AActor;
|
|
class AFSDGameState;
|
|
class UObject;
|
|
class USeamlessTravelEventKey;
|
|
|
|
UCLASS(Blueprintable)
|
|
class UGameModeFunctionLibrary : public UBlueprintFunctionLibrary {
|
|
GENERATED_BODY()
|
|
public:
|
|
UGameModeFunctionLibrary();
|
|
private:
|
|
UFUNCTION(BlueprintCallable)
|
|
static bool IsCloseToImportantLocation(AFSDGameState* GameState, const FVector& Location);
|
|
|
|
public:
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, meta=(WorldContext="WorldContextObject"))
|
|
static FTransform FindEscapePodLocationAtDistance(UObject* WorldContextObject, float Distance, float aboveDistanceBias, AActor* optionalFrom);
|
|
|
|
UFUNCTION(BlueprintCallable, meta=(WorldContext="WorldContextObject"))
|
|
static void AddSeamlessTravelEventKey(UObject* WorldContextObject, USeamlessTravelEventKey* Key);
|
|
|
|
};
|
|
|