29 lines
752 B
C++
29 lines
752 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Kismet/BlueprintFunctionLibrary.h"
|
|
#include "MKSSBlueprintFunctionLibrary.generated.h"
|
|
|
|
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class MKCC_API UMKSSBlueprintFunctionLibrary : public UBlueprintFunctionLibrary
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "File")
|
|
static FString LoadFileToString(FString Directory, FString Filename);
|
|
|
|
UFUNCTION(BlueprintCallable, Category = "File", meta = (Keywords = "Save Text File"))
|
|
static bool SaveTxt(FString Directory, FString FileName);
|
|
|
|
UFUNCTION(BlueprintCallable, BlueprintPure, Category = "Dir", meta = (Keywords = "get Appdata dir"))
|
|
static FString getAppData();
|
|
|
|
};
|