@@ -3242,6 +3242,40 @@ public static void LookupPlayerNamesByXboxIds(string[] xboxIds, Action<PlayerNam
32423242 LootLockerAPIManager.LookupPlayerNames(forPlayerWithUlid, "xbox_id", xboxIds, onComplete);
32433243 }
32443244
3245+ /// <summary>
3246+ /// Get player names and important ids of a set of players from their last active platform by Epic Games ID's
3247+ /// </summary>
3248+ /// <param name="epicGamesIds">A list of multiple player Epic Games ID's</param>
3249+ /// <param name="onComplete">onComplete Action for handling the response of type PlayerNameLookupResponse</param>
3250+ /// <param name="forPlayerWithUlid">Optional : Execute the request for the specified player. If not supplied, the default player will be used.</param>
3251+ public static void LookupPlayerNamesByEpicGamesIds(string[] epicGamesIds, Action<PlayerNameLookupResponse> onComplete, string forPlayerWithUlid = null)
3252+ {
3253+ if (!CheckInitialized(false, forPlayerWithUlid))
3254+ {
3255+ onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<PlayerNameLookupResponse>(forPlayerWithUlid));
3256+ return;
3257+ }
3258+
3259+ LootLockerAPIManager.LookupPlayerNames(forPlayerWithUlid, "epic_games_id", epicGamesIds, onComplete);
3260+ }
3261+
3262+ /// <summary>
3263+ /// Get player names and important ids of a set of players from their last active platform by Google Play Games ID's
3264+ /// </summary>
3265+ /// <param name="googlePlayGamesIds">A list of multiple player Google Play Games ID's</param>
3266+ /// <param name="onComplete">onComplete Action for handling the response of type PlayerNameLookupResponse</param>
3267+ /// <param name="forPlayerWithUlid">Optional : Execute the request for the specified player. If not supplied, the default player will be used.</param>
3268+ public static void LookupPlayerNamesByGooglePlayGamesIds(string[] googlePlayGamesIds, Action<PlayerNameLookupResponse> onComplete, string forPlayerWithUlid = null)
3269+ {
3270+ if (!CheckInitialized(false, forPlayerWithUlid))
3271+ {
3272+ onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<PlayerNameLookupResponse>(forPlayerWithUlid));
3273+ return;
3274+ }
3275+
3276+ LootLockerAPIManager.LookupPlayerNames(forPlayerWithUlid, "google_play_games_id", googlePlayGamesIds, onComplete);
3277+ }
3278+
32453279 /// <summary>
32463280 /// Mark the logged in player for deletion. After 30 days the player will be deleted from the system.
32473281 /// </summary>
0 commit comments