Skip to content

This is a plugin providing useful cpp functions for blueprints like file edition and management

Notifications You must be signed in to change notification settings

MarageDev/UE4-Useful-CPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

UE4-Useful-CPP

General function library plugin for Unreal Engine 4.

Install and Setup

How to install a plugin

  1. Download the plugin you want from the repository
  2. Ensure your project is a c++ project (Make a c++ class to convert it)
  3. Copy the plugin folder into the 'Plugins' folder of your project (Make the folder if it doesnt exist)
  4. You can now use it

Plugins list


File Manager

How to use

You can use the functions from the plugin by searching in the "blueprint browser" ( right click while you are in a blueprint graph ) for "FileManager".

image

Documentation

The functions below are subject to changes and are currently in WIP

File Manager

Note : 'FileName' is relative to the project directory, 'FilePath' or 'FullDir' are full paths.

ReadText : read the text content of a specified file

image

WriteText : write text content into a specified file

image

WriteTextLines : write an array of lines into a specified file. A new-line char is placed inbetween each line

image

CreateFile : create a file with empty content

image

ListFilesInDir : find all the files under a specified directory with the specified extension, returns an array of file names

image

DoesDirExist : check if a directory exists (full path)

image

DoesFileExist : check if a file exists (full path)

image


Additional Information

This plugin was designed for Unreal Engine 4.27

It can be used with UE 4.26

Credits

Made by Marage and Oxi

About

This is a plugin providing useful cpp functions for blueprints like file edition and management

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published