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 Documentationarrow-up-right.

Update Heroes

Update a Hero's name or default setting.

To see what data gets returned, please refer to our Reference Documentationarrow-up-right.

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 Documentationarrow-up-right.

List Game Heroes

List all Heroes associated to the specific game.

To see what data gets returned, please refer to our Reference Documentationarrow-up-right.

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 Documentationarrow-up-right.

Get Other Player's Hero Loadout

Retrieve another Players' Hero's Loadout.

Equip Asset to Hero

Equip an Asset to a player's Hero.

Unequip Asset from Hero

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

Last updated

Was this helpful?