Older versions
If you have an old version of the SDK, you can configure the SDK through C++ or Blueprint. In later versions of the SDK (V1.0.1 and later) you must configure the SDK in the Project Settings Plugins menu.
Configure the SDK in C++ (SDK V1.0.0)
Login to the LootLocker Web Console by visiting the Web Console and navigate to the Game Settings menu in order to copy the API Key.
In Unreal Engine, open the LootLockerConfig.CPP
file located in the Plugins folder.
Modify the following information:
API Key is found in Game Settings in the LootLocker Web Console.
Game Version refers to the current version of the game in the format 1.2.3.4 (the 3 and 4 being optional but recommended).
Platform is the name of the platform the game will be built for (e.g Steam, PSN, Android, iOS).
On Development Mode lets you test your unpublished changes in the LootLocker Management Console
Development
environment (instead ofLive
).Allow Token Refresh can be selected so that the SDK automatically attempts to refresh the session token if it expires. Otherwise the session token needs to be renewed manually.
Click on "Set as Default" to the top right. Click "Yes" to all popups that follow.
You should now have access to the SDK in both your C++ and Blueprint projects.
Configure the SDK in Blueprint (SDK V1.0.0)
It is important that the LootLocker configurations are set up in the first Blueprint class in your project.
Login to the LootLocker Web Console by visiting console.lootlocker.com and navigate to the Game Settings menu in order to copy the API Key.
In Unreal Engine, right click within the Event Graph of your Blueprint class, locate and select the LootLocker Settings
category, and select Set LootLocker Settings
in that category.
Modify the following information:
API Key is found in Game Settings in the LootLocker Web Console.
Game Version refers to the current version of the game in the format 1.2.3.4 (the 3 and 4 being optional but recommended).
Platform is the name of the platform the game will be built for (e.g Steam, PSN, Android, iOS).
On Development Mode lets you test your unpublished changes in the LootLocker Management Console
Development
environment (instead ofLive
).Allow Token Refresh can be selected so that the SDK automatically attempts to refresh the session token if it expires. Otherwise the session token needs to be renewed manually.
You have now configured the LootLocker SDK through Blueprint.
Last updated