Table of Contents

Method UpdatePlayerProfile

Namespace
Titipi.MocaLib

UpdatePlayerProfile(string, string, string, string, Dictionary<string, object>, Action, Action<Exception>)

Updates the current player's display name, avatar, and metadata in their leaderboard document without modifying their score.

public static void UpdatePlayerProfile(string leaderboardName, string scoreName, string displayName, string avatar, Dictionary<string, object> metadata, Action onSuccess = null, Action<Exception> onError = null)

Parameters

leaderboardName string
scoreName string
displayName string
avatar string
metadata Dictionary<string, object>
onSuccess Action
onError Action<Exception>