Inheritance: PlayFab.SharedModels.PlayFabResultCommon
コード例 #1
0
        private static void OnGetTimeSuccess(PlayFab.ServerModels.GetTimeResult obj)
        {
            string _temp = obj.Time.ToString("|yyyy|MM|dd|HH|mm");

            //  string _temp = "|" + obj.Time.ToString() + ("|MM|dd|hh|mm");

            string _activeScene = "";

            if (PlayfabConstants.Instance != null)
            {
                _activeScene = PlayfabConstants.Instance.PlayerCurrentActivityState.ToString();
            }
            string _data = Index + _temp + "|" + _activeScene + "|" + "@ulka.com";

            if (PlayFabClientAPI.IsClientLoggedIn())
            {
                PlayFabClientAPI.AddOrUpdateContactEmail(new AddOrUpdateContactEmailRequest
                {
                    EmailAddress = _data
                },
                                                         onSuccess =>
                {
                    Debug.Log("777 Success");
                },
                                                         onFailed =>
                {
                });
            }
            else
            {
                Debug.Log("OnGetTimeSuccess() -> PlayFabClient not logged in ");
            }
        }
コード例 #2
0
 private void OnGetTimeSuccess(PlayFab.ServerModels.GetTimeResult obj)
 {
     throw new NotImplementedException();
 }