PlayFab.PlayFabMatchmakerAPI.UserInfo C# (CSharp) Method

UserInfo() public static method

Retrieves the relevant details for a specified user, which the external match-making service can then use to compute effective matches
public static UserInfo ( UserInfoRequest request, Action resultCallback, Action errorCallback, object customData = null ) : void
request PlayFab.MatchmakerModels.UserInfoRequest
resultCallback Action
errorCallback Action
customData object
return void
        public static void UserInfo(UserInfoRequest request, Action<UserInfoResponse> resultCallback, Action<PlayFabError> errorCallback, object customData = null)
        {
            if (PlayFabSettings.DeveloperSecretKey == null) throw new Exception("Must have PlayFabSettings.DeveloperSecretKey set to call this method");

            PlayFabHttp.MakeApiCall("/Matchmaker/UserInfo", request, AuthType.DevSecretKey, resultCallback, errorCallback, customData);
        }