Exemplo n.º 1
0
        public static void GetUserInternalData(string playFabId)
        {
            var getRequest = new ServerModels.GetUserDataRequest();

            getRequest.PlayFabId = playFabId;
            // getRequest.Keys = new System.Collections.Generic.List<string>() { filterKey };
            PlayFabServerAPI.GetUserInternalData(getRequest, GetInternalUserDataCallback, PfSharedControllerEx.FailCallback("GetUserInternalData"));
        }
Exemplo n.º 2
0
        public void GetUserReadOnlyData()
        {
            var getRequest = new ServerModels.GetUserDataRequest()
            {
                PlayFabId = PfSharedModelEx.globalClientUser.playFabId,
            };

            PlayFabServerAPI.GetUserReadOnlyData(getRequest,
                (result) =>
                {
                    Debug.Log("Got the following user read-only data:");
                    foreach (var entry in result.Data)
                        Debug.Log(entry.Key + ": " + entry.Value.Value);
                },
                (error) =>
                {
                    Debug.Log("Got error getting read-only user data:");
                    Debug.Log(error.ErrorMessage);
                }
            );
        }
Exemplo n.º 3
0
 public static void GetUserInternalData()
 {
     var getRequest = new ServerModels.GetUserDataRequest();
     // getRequest.Keys = new System.Collections.Generic.List<string>() { filterKey };
     PlayFabServerAPI.GetUserInternalData(getRequest, GetInternalUserDataCallback, PfSharedControllerEx.FailCallback("GetUserInternalData"));
 }