https://github.com/maragedev/ue4-useful-cpp
This is a plugin providing useful cpp functions for blueprints like file edition and management
https://github.com/maragedev/ue4-useful-cpp
blueprints cpp files plugin unreal-engine-4
Last synced: 9 months ago
JSON representation
This is a plugin providing useful cpp functions for blueprints like file edition and management
- Host: GitHub
- URL: https://github.com/maragedev/ue4-useful-cpp
- Owner: MarageDev
- Created: 2022-04-06T20:15:08.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-07T08:52:12.000Z (about 4 years ago)
- Last Synced: 2025-06-16T09:18:39.216Z (10 months ago)
- Topics: blueprints, cpp, files, plugin, unreal-engine-4
- Language: C++
- Homepage:
- Size: 380 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](#file-manager)
---
## 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".

### 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.
```cs
ReadText : read the text content of a specified file
```

```cs
WriteText : write text content into a specified file
```

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

```cs
CreateFile : create a file with empty content
```

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

```cs
DoesDirExist : check if a directory exists (full path)
```

```cs
DoesFileExist : check if a file exists (full path)
```

---
## Additional Information
This plugin was designed for Unreal Engine **4.27**
> It can be used with UE **4.26**
## Credits
Made by [Marage](https://github.com/MarageDev) and [Oxi](https://github.com/oxi-dev0)