!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/google/apiclient-services/src/Games/Resource/   drwxr-xr-x
Free 13.15 GB of 57.97 GB (22.69%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Achievements.php (5.96 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Games\Resource;

use 
Google\Service\Games\AchievementIncrementResponse;
use 
Google\Service\Games\AchievementRevealResponse;
use 
Google\Service\Games\AchievementSetStepsAtLeastResponse;
use 
Google\Service\Games\AchievementUnlockResponse;
use 
Google\Service\Games\AchievementUpdateMultipleRequest;
use 
Google\Service\Games\AchievementUpdateMultipleResponse;
use 
Google\Service\Games\PlayerAchievementListResponse;

/**
 * The "achievements" collection of methods.
 * Typical usage is:
 *  <code>
 *   $gamesService = new Google\Service\Games(...);
 *   $achievements = $gamesService->achievements;
 *  </code>
 */
class Achievements extends \Google\Service\Resource
{
  
/**
   * Increments the steps of the achievement with the given ID for the currently
   * authenticated player. (achievements.increment)
   *
   * @param string $achievementId The ID of the achievement used by this method.
   * @param int $stepsToIncrement The number of steps to increment.
   * @param array $optParams Optional parameters.
   *
   * @opt_param string requestId A randomly generated numeric ID for each request
   * specified by the caller. This number is used at the server to ensure that the
   * request is handled correctly across retries.
   * @return AchievementIncrementResponse
   */
  
public function increment($achievementId$stepsToIncrement$optParams = [])
  {
    
$params = ['achievementId' => $achievementId'stepsToIncrement' => $stepsToIncrement];
    
$params array_merge($params$optParams);
    return 
$this->call('increment', [$params], AchievementIncrementResponse::class);
  }
  
/**
   * Lists the progress for all your application's achievements for the currently
   * authenticated player. (achievements.listAchievements)
   *
   * @param string $playerId A player ID. A value of `me` may be used in place of
   * the authenticated player's ID.
   * @param array $optParams Optional parameters.
   *
   * @opt_param string language The preferred language to use for strings returned
   * by this method.
   * @opt_param int maxResults The maximum number of achievement resources to
   * return in the response, used for paging. For any response, the actual number
   * of achievement resources returned may be less than the specified
   * `maxResults`.
   * @opt_param string pageToken The token returned by the previous request.
   * @opt_param string state Tells the server to return only achievements with the
   * specified state. If this parameter isn't specified, all achievements are
   * returned.
   * @return PlayerAchievementListResponse
   */
  
public function listAchievements($playerId$optParams = [])
  {
    
$params = ['playerId' => $playerId];
    
$params array_merge($params$optParams);
    return 
$this->call('list', [$params], PlayerAchievementListResponse::class);
  }
  
/**
   * Sets the state of the achievement with the given ID to `REVEALED` for the
   * currently authenticated player. (achievements.reveal)
   *
   * @param string $achievementId The ID of the achievement used by this method.
   * @param array $optParams Optional parameters.
   * @return AchievementRevealResponse
   */
  
public function reveal($achievementId$optParams = [])
  {
    
$params = ['achievementId' => $achievementId];
    
$params array_merge($params$optParams);
    return 
$this->call('reveal', [$params], AchievementRevealResponse::class);
  }
  
/**
   * Sets the steps for the currently authenticated player towards unlocking an
   * achievement. If the steps parameter is less than the current number of steps
   * that the player already gained for the achievement, the achievement is not
   * modified. (achievements.setStepsAtLeast)
   *
   * @param string $achievementId The ID of the achievement used by this method.
   * @param int $steps The minimum value to set the steps to.
   * @param array $optParams Optional parameters.
   * @return AchievementSetStepsAtLeastResponse
   */
  
public function setStepsAtLeast($achievementId$steps$optParams = [])
  {
    
$params = ['achievementId' => $achievementId'steps' => $steps];
    
$params array_merge($params$optParams);
    return 
$this->call('setStepsAtLeast', [$params], AchievementSetStepsAtLeastResponse::class);
  }
  
/**
   * Unlocks this achievement for the currently authenticated player.
   * (achievements.unlock)
   *
   * @param string $achievementId The ID of the achievement used by this method.
   * @param array $optParams Optional parameters.
   * @return AchievementUnlockResponse
   */
  
public function unlock($achievementId$optParams = [])
  {
    
$params = ['achievementId' => $achievementId];
    
$params array_merge($params$optParams);
    return 
$this->call('unlock', [$params], AchievementUnlockResponse::class);
  }
  
/**
   * Updates multiple achievements for the currently authenticated player.
   * (achievements.updateMultiple)
   *
   * @param AchievementUpdateMultipleRequest $postBody
   * @param array $optParams Optional parameters.
   * @return AchievementUpdateMultipleResponse
   */
  
public function updateMultiple(AchievementUpdateMultipleRequest $postBody$optParams = [])
  {
    
$params = ['postBody' => $postBody];
    
$params array_merge($params$optParams);
    return 
$this->call('updateMultiple', [$params], AchievementUpdateMultipleResponse::class);
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Achievements::class, 'Google_Service_Games_Resource_Achievements');

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0082 ]--