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