Ejemplo n.º 1
0
 public static void GetAdPlacements(GetAdPlacementsRequest request, Action <GetAdPlacementsResult> resultCallback, Action <PlayFab.PlayFabError> errorCallback, object customData = null)
 {
     if (!PlayFabHttp.IsClientLoggedIn())
     {
         throw new Exception("Must be logged in to call this method");
     }
     PlayFabHttp.MakeApiCall("/Client/GetAdPlacements", request, AuthType.LoginSession, resultCallback, errorCallback, customData);
 }
Ejemplo n.º 2
0
 public static void RewardAdActivity(RewardAdActivityRequest request, Action <RewardAdActivityResponse> resultCallback, Action <PlayFab.PlayFabError> errorCallback, object customData = null)
 {
     if (!PlayFabHttp.IsClientLoggedIn())
     {
         throw new Exception("Must be logged in to call this method");
     }
     PlayFabHttp.MakeApiCall("/Client/RewardAdActivity", request, AuthType.LoginSession, resultCallback, errorCallback, customData);
 }