Coder Social home page Coder Social logo

ut-savedata's Introduction

Save Data Plugin

A system used to easily save/load game data

Installation

  1. Download the latest release from GitHub
  2. Navigate to C:\Program Files\Epic Games\UE_{VERSION}\Engine\Plugins\
  3. Create a Marketplace folder if needed
  4. Extract the release and copy to the Marketplace folder
  5. Open Unreal Engine
  6. Click on Edit > Plugins
  7. Enable the plugin under the Installed > Unreal Toolbox category
  8. Restart Unreal Engine

Save Data

You need to create a Save Game object before you can save/load data. This object contains all the variables/data that you want to save

Save Manager

The Save Manager is used to save and load the data specified in the Save Game object. This actor needs to be placed in every map where you use the save system. You need to set the following properties before you can use the Save Manager:

  1. Save Game Class - A reference to the Save Game class that contains the data you want to save

The following functions can be used to interact with the Save Manager

  1. Set Current Save Slot - Set the current save slot
  2. Get Save Data - Return the save data at the current save slot
  3. Save Data - Save the data to the current save slot
  4. Is Save Slot Used - Return a boolean value indicating if the specified save slot is in use

You are required to set the save slot before using any of the other functions. If not, you will get nullptr and might cause the game to crash

ut-savedata's People

Contributors

hfjooste avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.