unreal-sdk

LootLocker Unreal SDK

LootLocker

AboutInstallationConfigurationSample AppSupport


About

LootLocker is a game backend-as-a-service that unlocks cross-platform systems so you can build, ship, and run your best games.

Full documentation is available here

Installation

For a more detailed guide on installation, please see our User Documentation

  1. Download the latest Unreal Package release or clone the repo.
  2. Copy the LootLockerSDK folder.
  3. Paste the LootLockerSDK folder into the plugins folder created in the root of your project (create if it doesn’t exist)
  4. Right-click on the “Unreal Engine Project Launch” file in the root of your project and click on “Generate Visual Studio Project Files”
  5. Open the .sln file of your project
  6. Open your project’s Build.cs file
  7. Add LootLockerSDK to the PublicDependencyModuleNames list

    Example:

     PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "LootLockerSDK" });
    
  8. Add {"HTTP", "Json", "JsonUtilities"} to the PrivateDependencyModuleNames list

    Example:

     PrivateDependencyModuleNames.AddRange(new string[] { "HTTP", "Json", "JsonUtilities" });
    

Configuration

  1. Navigate to Edit/Project Settings in the editor, Scroll down on the left panel until the plugins sections of the project settings, Click on LootLockerSDK
  2. Modify the LootLockerGameKey, Platform, Game Version, Development mode and AllowTokenRefresh (Set to true if you want the LootLockerSDK to attempt to refresh the token if it expires). What values to set, you can find in the LootLocker dashboard. You should already have an account from https://console.lootlocker.com/login

Support

If you have any issues or just wanna chat you can reach us on our Discord Server