Skip to content

Commit fb06a58

Browse files
Erik Bylundkirre-bylund
authored andcommitted
Add missing documentation on added methods
1 parent 49b5624 commit fb06a58

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2409,8 +2409,9 @@ public static void AddAssetToHeroLoadout(int heroID, int assetInstanceID, Action
24092409
}
24102410

24112411
/// <summary>
2412-
///
2412+
/// Equip the specified Asset Variation to the specified Hero that the current player owns
24132413
/// </summary>
2414+
///
24142415
/// <param name="heroID">Id of the hero</param>
24152416
/// <param name="assetID">Id of the asset</param>
24162417
/// <param name="assetInstanceID">Id of the asset instance to give</param>
@@ -2432,6 +2433,13 @@ public static void AddAssetVariationToHeroLoadout(int heroID, int assetID, int a
24322433
LootLockerAPIManager.AddAssetVariationToHeroLoadout(data, onComplete);
24332434
}
24342435

2436+
/// <summary>
2437+
/// Unequip the specified Asset Instance to the specified Hero that the current player owns
2438+
/// </summary>
2439+
///
2440+
/// <param name="assetID">Id of the asset</param>
2441+
/// <param name="heroID">Id of the hero</param>
2442+
/// <param name="onComplete">onComplete Action for handling the response of type LootLockerHeroLoadoutResponse</param>
24352443
public static void RemoveAssetFromHeroLoadout(string assetID, string heroID, Action<LootLockerHeroLoadoutResponse> onComplete)
24362444
{
24372445
if (!CheckInitialized())
@@ -2491,6 +2499,10 @@ public static void ListCharacterTypes(Action<LootLockerListCharacterTypesRespons
24912499
LootLockerAPIManager.ListCharacterTypes(onComplete);
24922500
}
24932501

2502+
/// <summary>
2503+
/// Get list of Characters to a player
2504+
/// </summary>
2505+
/// <param name="onComplete">onComplete Action for handling the response of type LootLockerPlayerCharacterListResponse</param>
24942506
public static void ListPlayerCharacters(Action<LootLockerPlayerCharacterListResponse> onComplete)
24952507
{
24962508
if (!CheckInitialized())

Runtime/Game/Requests/AssetRequest.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using LootLocker.Requests;
44
using System.Linq;
5-
using UnityEngine.UI;
65

76
namespace LootLocker.LootLockerEnums
87
{

0 commit comments

Comments
 (0)