Implement Heroes In-Game

It is important to note that Hero ID's are globally unique!

Create Heroes

Create a Hero Character based on a Hero Class.

int heroID = 1;
string heroName = "Mage";

LootLockerSDKManager.CreateHero(heroID, heroName, true,(response) =>
{
    if (!response.success)
    {
        Debug.Log("Could not create Hero");
        return;
    }

});

To see what data gets returned, please refer to our Reference Documentation.

Update Heroes

Update a Hero's name or default setting.

To see what data gets returned, please refer to our Reference Documentation.

List Player Heroes

Use this API to list all Heroes associated to a player.

To see what data gets returned, please refer to our Reference Documentation.

List Game Heroes

List all Heroes associated to the specific game.

To see what data gets returned, please refer to our Reference Documentation.

Get Hero Loadout

Use this API to retrieve a Loadout of a specific Player Hero.

To see what data gets returned, please refer to our Reference Documentation.

Get Other Player's Hero Loadout

Retrieve another Players' Hero's Loadout.

Equip Asset to Hero

Equip an Asset to a player's Hero.

To see what data gets returned, please refer to our Reference Documentation.

Unequip Asset from Hero

Use this API call to unequip an Asset from a Hero.

To see what data gets returned, please refer to our Reference Documentation.

Last updated