Installing the LootLocker SDK in your project is straightforward, with different methods depending on your engine version and preferences.
Install from Unreal Marketplace
In the Epic Games Launcher, search for LootLocker SDK, click on LootLockerSDK and click Install to Engine.
If you were previously using the plugin as a project plugin, delete the LootLockerSDK folder under Plugins directory in your existing Unreal project.
Open your Unreal project in the Unreal Editor, navigate to Edit/Plugins in the menu and search for LootLockerSDK.
Tick Enabled, and the editor should prompt you to restart Unreal.
Once restarted, click on File->Refresh Visual Studio Project in the menu.
Click on File->Open Visual Studio.
Once the solution opens in Visual Studio, navigate to your projects Build.cs file located in;
Games ->”ProjectName” -> Source -> “ProjectName” -> Source -> ProjectName.Build.cs
Add {“LootLockerSDK”} to the PublicDependencyModuleNames list (see example below).
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "LootLockerSDK" });Add {“Http”, “Json”, “JsonUtilities”} to the PrivateDependencyModuleNames list (see example below).
PrivateDependencyModuleNames.AddRange(new string[] { "HTTP", "Json", "JsonUtilities" });Install from Github Repository
Download or clone the repository so that you have it on disk.
Copy the LootLockerSDK folder to the Plugins folder at the root of your Unreal Project. If the Plugins folder does not exist yet, create it.
Right click the Unreal Engine Project Launch file in the root of the project and click Generate Visual Studio Project Files.
Open your project's .sln file.
Open your project's Build.cs file and add the following.
Add {“LootLockerSDK”} to the PublicDependencyModuleNames list (see example below).
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "LootLockerSDK" });Add {“HTTP”, “Json”, “JsonUtilities”} to the PrivateDependencyModuleNames list (see example below).
PrivateDependencyModuleNames.AddRange(new string[] { "HTTP", "Json", "JsonUtilities" });