Exemplo n.º 1
0
 void Update()
 {
     // インベントリ情報は2回以上自動取得しない
     if (!isGet)
     {
         if (request.IsRequest())
         {
             GetUserInventory();
         }
     }
 }
Exemplo n.º 2
0
 public void Update()
 {
     // ユーザー名が未取得の場合は取得する。
     if (!isGet)
     {
         if (autoRequest.IsRequest())
         {
             GetUserName();
         }
     }
 }
Exemplo n.º 3
0
 void Update()
 {
     // ユーザー情報は2回以上自動取得しない
     if (!isGet)
     {
         if (autoRequest.IsRequest())
         {
             GetData();
         }
     }
 }
Exemplo n.º 4
0
 void Update()
 {
     // 自動でPlayFabから統計情報の取得をしておく
     if (!isGet)
     {
         if (autoRequest.IsRequest())
         {
             GetPlayerStatistics();
         }
     }
 }
Exemplo n.º 5
0
 void Update()
 {
     // タイトル情報は2回以上自動取得しない
     if (!isGet)
     {
         // 自動リクエストができる且つログイン済みだったらタイトルデータ取得を試みる
         if (autoRequest.IsRequest() && PlayFabClientAPI.IsClientLoggedIn())
         {
             GetTitleData();
         }
     }
 }
 void Update()
 {
     // 取得済みの場合は自動で取得しない
     if (!isGet)
     {
         // Playfabにログイン済みかを確認する
         if (autoRequest.IsRequest())
         {
             GetUserVirtualCurrency();
         }
     }
 }
Exemplo n.º 7
0
 void Update()
 {
     // ストア情報は2回以上取得しない
     if (isCatalogGet == false && isStoreGet == false)
     {
         if (autoRequest.IsRequest())
         {
             if (!isCatalogGet)
             {
                 GetCatalogData();
             }
             if (!isStoreGet)
             {
                 GetStoreData();
             }
         }
     }
 }
Exemplo n.º 8
0
 private void Update()
 {
     // リーダーボードは2回以上取得しない
     if (isGet == false)
     {
         // リーダーボードの取得に成功するまで続ける
         if (autoRequest.IsRequest())
         {
             if (!isSelfCount)
             {
                 GetLeaderboard(RankingName, StartPosition, MaxRecordCount);
             }
             else
             {
                 GetLeaderboardAroundSelfPlayer(RankingName, MaxRecordCount);
             }
         }
     }
 }