Initial commit

This commit is contained in:
Caribana
2017-05-26 11:41:26 +02:00
commit 61c24500af
6264 changed files with 645934 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_AchievementResetAllResponse extends Google_Collection
{
protected $collection_key = 'results';
public $kind;
protected $resultsType = 'Google_Service_GamesManagement_AchievementResetResponse';
protected $resultsDataType = 'array';
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setResults($results)
{
$this->results = $results;
}
public function getResults()
{
return $this->results;
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_AchievementResetMultipleForAllRequest extends Google_Collection
{
protected $collection_key = 'achievement_ids';
protected $internal_gapi_mappings = array(
"achievementIds" => "achievement_ids",
);
public $achievementIds;
public $kind;
public function setAchievementIds($achievementIds)
{
$this->achievementIds = $achievementIds;
}
public function getAchievementIds()
{
return $this->achievementIds;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,57 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_AchievementResetResponse extends Google_Model
{
public $currentState;
public $definitionId;
public $kind;
public $updateOccurred;
public function setCurrentState($currentState)
{
$this->currentState = $currentState;
}
public function getCurrentState()
{
return $this->currentState;
}
public function setDefinitionId($definitionId)
{
$this->definitionId = $definitionId;
}
public function getDefinitionId()
{
return $this->definitionId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setUpdateOccurred($updateOccurred)
{
$this->updateOccurred = $updateOccurred;
}
public function getUpdateOccurred()
{
return $this->updateOccurred;
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_EventsResetMultipleForAllRequest extends Google_Collection
{
protected $collection_key = 'event_ids';
protected $internal_gapi_mappings = array(
"eventIds" => "event_ids",
);
public $eventIds;
public $kind;
public function setEventIds($eventIds)
{
$this->eventIds = $eventIds;
}
public function getEventIds()
{
return $this->eventIds;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_GamesPlayedResource extends Google_Model
{
public $autoMatched;
public $timeMillis;
public function setAutoMatched($autoMatched)
{
$this->autoMatched = $autoMatched;
}
public function getAutoMatched()
{
return $this->autoMatched;
}
public function setTimeMillis($timeMillis)
{
$this->timeMillis = $timeMillis;
}
public function getTimeMillis()
{
return $this->timeMillis;
}
}

View File

@@ -0,0 +1,59 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Google_Model
{
public $currentExperiencePoints;
protected $currentLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
protected $currentLevelDataType = '';
public $lastLevelUpTimestampMillis;
protected $nextLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource';
protected $nextLevelDataType = '';
public function setCurrentExperiencePoints($currentExperiencePoints)
{
$this->currentExperiencePoints = $currentExperiencePoints;
}
public function getCurrentExperiencePoints()
{
return $this->currentExperiencePoints;
}
public function setCurrentLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel)
{
$this->currentLevel = $currentLevel;
}
public function getCurrentLevel()
{
return $this->currentLevel;
}
public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis)
{
$this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis;
}
public function getLastLevelUpTimestampMillis()
{
return $this->lastLevelUpTimestampMillis;
}
public function setNextLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel)
{
$this->nextLevel = $nextLevel;
}
public function getNextLevel()
{
return $this->nextLevel;
}
}

View File

@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_GamesPlayerLevelResource extends Google_Model
{
public $level;
public $maxExperiencePoints;
public $minExperiencePoints;
public function setLevel($level)
{
$this->level = $level;
}
public function getLevel()
{
return $this->level;
}
public function setMaxExperiencePoints($maxExperiencePoints)
{
$this->maxExperiencePoints = $maxExperiencePoints;
}
public function getMaxExperiencePoints()
{
return $this->maxExperiencePoints;
}
public function setMinExperiencePoints($minExperiencePoints)
{
$this->minExperiencePoints = $minExperiencePoints;
}
public function getMinExperiencePoints()
{
return $this->minExperiencePoints;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_HiddenPlayer extends Google_Model
{
public $hiddenTimeMillis;
public $kind;
protected $playerType = 'Google_Service_GamesManagement_Player';
protected $playerDataType = '';
public function setHiddenTimeMillis($hiddenTimeMillis)
{
$this->hiddenTimeMillis = $hiddenTimeMillis;
}
public function getHiddenTimeMillis()
{
return $this->hiddenTimeMillis;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setPlayer(Google_Service_GamesManagement_Player $player)
{
$this->player = $player;
}
public function getPlayer()
{
return $this->player;
}
}

View File

@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_HiddenPlayerList extends Google_Collection
{
protected $collection_key = 'items';
protected $itemsType = 'Google_Service_GamesManagement_HiddenPlayer';
protected $itemsDataType = 'array';
public $kind;
public $nextPageToken;
public function setItems($items)
{
$this->items = $items;
}
public function getItems()
{
return $this->items;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
public function getNextPageToken()
{
return $this->nextPageToken;
}
}

View File

@@ -0,0 +1,133 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_Player extends Google_Model
{
public $avatarImageUrl;
public $bannerUrlLandscape;
public $bannerUrlPortrait;
public $displayName;
protected $experienceInfoType = 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource';
protected $experienceInfoDataType = '';
public $kind;
protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource';
protected $lastPlayedWithDataType = '';
protected $nameType = 'Google_Service_GamesManagement_PlayerName';
protected $nameDataType = '';
public $originalPlayerId;
public $playerId;
protected $profileSettingsType = 'Google_Service_GamesManagement_ProfileSettings';
protected $profileSettingsDataType = '';
public $title;
public function setAvatarImageUrl($avatarImageUrl)
{
$this->avatarImageUrl = $avatarImageUrl;
}
public function getAvatarImageUrl()
{
return $this->avatarImageUrl;
}
public function setBannerUrlLandscape($bannerUrlLandscape)
{
$this->bannerUrlLandscape = $bannerUrlLandscape;
}
public function getBannerUrlLandscape()
{
return $this->bannerUrlLandscape;
}
public function setBannerUrlPortrait($bannerUrlPortrait)
{
$this->bannerUrlPortrait = $bannerUrlPortrait;
}
public function getBannerUrlPortrait()
{
return $this->bannerUrlPortrait;
}
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
public function getDisplayName()
{
return $this->displayName;
}
public function setExperienceInfo(Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo)
{
$this->experienceInfo = $experienceInfo;
}
public function getExperienceInfo()
{
return $this->experienceInfo;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLastPlayedWith(Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith)
{
$this->lastPlayedWith = $lastPlayedWith;
}
public function getLastPlayedWith()
{
return $this->lastPlayedWith;
}
public function setName(Google_Service_GamesManagement_PlayerName $name)
{
$this->name = $name;
}
public function getName()
{
return $this->name;
}
public function setOriginalPlayerId($originalPlayerId)
{
$this->originalPlayerId = $originalPlayerId;
}
public function getOriginalPlayerId()
{
return $this->originalPlayerId;
}
public function setPlayerId($playerId)
{
$this->playerId = $playerId;
}
public function getPlayerId()
{
return $this->playerId;
}
public function setProfileSettings(Google_Service_GamesManagement_ProfileSettings $profileSettings)
{
$this->profileSettings = $profileSettings;
}
public function getProfileSettings()
{
return $this->profileSettings;
}
public function setTitle($title)
{
$this->title = $title;
}
public function getTitle()
{
return $this->title;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_PlayerName extends Google_Model
{
public $familyName;
public $givenName;
public function setFamilyName($familyName)
{
$this->familyName = $familyName;
}
public function getFamilyName()
{
return $this->familyName;
}
public function setGivenName($givenName)
{
$this->givenName = $givenName;
}
public function getGivenName()
{
return $this->givenName;
}
}

View File

@@ -0,0 +1,41 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_PlayerScoreResetAllResponse extends Google_Collection
{
protected $collection_key = 'results';
public $kind;
protected $resultsType = 'Google_Service_GamesManagement_PlayerScoreResetResponse';
protected $resultsDataType = 'array';
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setResults($results)
{
$this->results = $results;
}
public function getResults()
{
return $this->results;
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_PlayerScoreResetResponse extends Google_Collection
{
protected $collection_key = 'resetScoreTimeSpans';
public $definitionId;
public $kind;
public $resetScoreTimeSpans;
public function setDefinitionId($definitionId)
{
$this->definitionId = $definitionId;
}
public function getDefinitionId()
{
return $this->definitionId;
}
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setResetScoreTimeSpans($resetScoreTimeSpans)
{
$this->resetScoreTimeSpans = $resetScoreTimeSpans;
}
public function getResetScoreTimeSpans()
{
return $this->resetScoreTimeSpans;
}
}

View File

@@ -0,0 +1,39 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_ProfileSettings extends Google_Model
{
public $kind;
public $profileVisible;
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setProfileVisible($profileVisible)
{
$this->profileVisible = $profileVisible;
}
public function getProfileVisible()
{
return $this->profileVisible;
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_QuestsResetMultipleForAllRequest extends Google_Collection
{
protected $collection_key = 'quest_ids';
protected $internal_gapi_mappings = array(
"questIds" => "quest_ids",
);
public $kind;
public $questIds;
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setQuestIds($questIds)
{
$this->questIds = $questIds;
}
public function getQuestIds()
{
return $this->questIds;
}
}

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "achievements" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $achievements = $gamesManagementService->achievements;
* </code>
*/
class Google_Service_GamesManagement_Resource_Achievements extends Google_Service_Resource
{
/**
* Resets the achievement with the given ID for the currently authenticated
* player. This method is only accessible to whitelisted tester accounts for
* your application. (achievements.reset)
*
* @param string $achievementId The ID of the achievement used by this method.
* @param array $optParams Optional parameters.
* @return Google_Service_GamesManagement_AchievementResetResponse
*/
public function reset($achievementId, $optParams = array())
{
$params = array('achievementId' => $achievementId);
$params = array_merge($params, $optParams);
return $this->call('reset', array($params), "Google_Service_GamesManagement_AchievementResetResponse");
}
/**
* Resets all achievements for the currently authenticated player for your
* application. This method is only accessible to whitelisted tester accounts
* for your application. (achievements.resetAll)
*
* @param array $optParams Optional parameters.
* @return Google_Service_GamesManagement_AchievementResetAllResponse
*/
public function resetAll($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAll', array($params), "Google_Service_GamesManagement_AchievementResetAllResponse");
}
/**
* Resets all draft achievements for all players. This method is only available
* to user accounts for your developer console.
* (achievements.resetAllForAllPlayers)
*
* @param array $optParams Optional parameters.
*/
public function resetAllForAllPlayers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAllForAllPlayers', array($params));
}
/**
* Resets the achievement with the given ID for all players. This method is only
* available to user accounts for your developer console. Only draft
* achievements can be reset. (achievements.resetForAllPlayers)
*
* @param string $achievementId The ID of the achievement used by this method.
* @param array $optParams Optional parameters.
*/
public function resetForAllPlayers($achievementId, $optParams = array())
{
$params = array('achievementId' => $achievementId);
$params = array_merge($params, $optParams);
return $this->call('resetForAllPlayers', array($params));
}
/**
* Resets achievements with the given IDs for all players. This method is only
* available to user accounts for your developer console. Only draft
* achievements may be reset. (achievements.resetMultipleForAllPlayers)
*
* @param Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody
* @param array $optParams Optional parameters.
*/
public function resetMultipleForAllPlayers(Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('resetMultipleForAllPlayers', array($params));
}
}

View File

@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "applications" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $applications = $gamesManagementService->applications;
* </code>
*/
class Google_Service_GamesManagement_Resource_Applications extends Google_Service_Resource
{
/**
* Get the list of players hidden from the given application. This method is
* only available to user accounts for your developer console.
* (applications.listHidden)
*
* @param string $applicationId The application ID from the Google Play
* developer console.
* @param array $optParams Optional parameters.
*
* @opt_param int maxResults The maximum number of player resources to return in
* the response, used for paging. For any response, the actual number of player
* resources returned may be less than the specified maxResults.
* @opt_param string pageToken The token returned by the previous request.
* @return Google_Service_GamesManagement_HiddenPlayerList
*/
public function listHidden($applicationId, $optParams = array())
{
$params = array('applicationId' => $applicationId);
$params = array_merge($params, $optParams);
return $this->call('listHidden', array($params), "Google_Service_GamesManagement_HiddenPlayerList");
}
}

View File

@@ -0,0 +1,100 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "events" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $events = $gamesManagementService->events;
* </code>
*/
class Google_Service_GamesManagement_Resource_Events extends Google_Service_Resource
{
/**
* Resets all player progress on the event with the given ID for the currently
* authenticated player. This method is only accessible to whitelisted tester
* accounts for your application. All quests for this player that use the event
* will also be reset. (events.reset)
*
* @param string $eventId The ID of the event.
* @param array $optParams Optional parameters.
*/
public function reset($eventId, $optParams = array())
{
$params = array('eventId' => $eventId);
$params = array_merge($params, $optParams);
return $this->call('reset', array($params));
}
/**
* Resets all player progress on all events for the currently authenticated
* player. This method is only accessible to whitelisted tester accounts for
* your application. All quests for this player will also be reset.
* (events.resetAll)
*
* @param array $optParams Optional parameters.
*/
public function resetAll($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAll', array($params));
}
/**
* Resets all draft events for all players. This method is only available to
* user accounts for your developer console. All quests that use any of these
* events will also be reset. (events.resetAllForAllPlayers)
*
* @param array $optParams Optional parameters.
*/
public function resetAllForAllPlayers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAllForAllPlayers', array($params));
}
/**
* Resets the event with the given ID for all players. This method is only
* available to user accounts for your developer console. Only draft events can
* be reset. All quests that use the event will also be reset.
* (events.resetForAllPlayers)
*
* @param string $eventId The ID of the event.
* @param array $optParams Optional parameters.
*/
public function resetForAllPlayers($eventId, $optParams = array())
{
$params = array('eventId' => $eventId);
$params = array_merge($params, $optParams);
return $this->call('resetForAllPlayers', array($params));
}
/**
* Resets events with the given IDs for all players. This method is only
* available to user accounts for your developer console. Only draft events may
* be reset. All quests that use any of the events will also be reset.
* (events.resetMultipleForAllPlayers)
*
* @param Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody
* @param array $optParams Optional parameters.
*/
public function resetMultipleForAllPlayers(Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('resetMultipleForAllPlayers', array($params));
}
}

View File

@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "players" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $players = $gamesManagementService->players;
* </code>
*/
class Google_Service_GamesManagement_Resource_Players extends Google_Service_Resource
{
/**
* Hide the given player's leaderboard scores from the given application. This
* method is only available to user accounts for your developer console.
* (players.hide)
*
* @param string $applicationId The application ID from the Google Play
* developer console.
* @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.
*/
public function hide($applicationId, $playerId, $optParams = array())
{
$params = array('applicationId' => $applicationId, 'playerId' => $playerId);
$params = array_merge($params, $optParams);
return $this->call('hide', array($params));
}
/**
* Unhide the given player's leaderboard scores from the given application. This
* method is only available to user accounts for your developer console.
* (players.unhide)
*
* @param string $applicationId The application ID from the Google Play
* developer console.
* @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.
*/
public function unhide($applicationId, $playerId, $optParams = array())
{
$params = array('applicationId' => $applicationId, 'playerId' => $playerId);
$params = array_merge($params, $optParams);
return $this->call('unhide', array($params));
}
}

View File

@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "quests" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $quests = $gamesManagementService->quests;
* </code>
*/
class Google_Service_GamesManagement_Resource_Quests extends Google_Service_Resource
{
/**
* Resets all player progress on the quest with the given ID for the currently
* authenticated player. This method is only accessible to whitelisted tester
* accounts for your application. (quests.reset)
*
* @param string $questId The ID of the quest.
* @param array $optParams Optional parameters.
*/
public function reset($questId, $optParams = array())
{
$params = array('questId' => $questId);
$params = array_merge($params, $optParams);
return $this->call('reset', array($params));
}
/**
* Resets all player progress on all quests for the currently authenticated
* player. This method is only accessible to whitelisted tester accounts for
* your application. (quests.resetAll)
*
* @param array $optParams Optional parameters.
*/
public function resetAll($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAll', array($params));
}
/**
* Resets all draft quests for all players. This method is only available to
* user accounts for your developer console. (quests.resetAllForAllPlayers)
*
* @param array $optParams Optional parameters.
*/
public function resetAllForAllPlayers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAllForAllPlayers', array($params));
}
/**
* Resets all player progress on the quest with the given ID for all players.
* This method is only available to user accounts for your developer console.
* Only draft quests can be reset. (quests.resetForAllPlayers)
*
* @param string $questId The ID of the quest.
* @param array $optParams Optional parameters.
*/
public function resetForAllPlayers($questId, $optParams = array())
{
$params = array('questId' => $questId);
$params = array_merge($params, $optParams);
return $this->call('resetForAllPlayers', array($params));
}
/**
* Resets quests with the given IDs for all players. This method is only
* available to user accounts for your developer console. Only draft quests may
* be reset. (quests.resetMultipleForAllPlayers)
*
* @param Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody
* @param array $optParams Optional parameters.
*/
public function resetMultipleForAllPlayers(Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('resetMultipleForAllPlayers', array($params));
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "rooms" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $rooms = $gamesManagementService->rooms;
* </code>
*/
class Google_Service_GamesManagement_Resource_Rooms extends Google_Service_Resource
{
/**
* Reset all rooms for the currently authenticated player for your application.
* This method is only accessible to whitelisted tester accounts for your
* application. (rooms.reset)
*
* @param array $optParams Optional parameters.
*/
public function reset($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('reset', array($params));
}
/**
* Deletes rooms where the only room participants are from whitelisted tester
* accounts for your application. This method is only available to user accounts
* for your developer console. (rooms.resetForAllPlayers)
*
* @param array $optParams Optional parameters.
*/
public function resetForAllPlayers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetForAllPlayers', array($params));
}
}

View File

@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "scores" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $scores = $gamesManagementService->scores;
* </code>
*/
class Google_Service_GamesManagement_Resource_Scores extends Google_Service_Resource
{
/**
* Resets scores for the leaderboard with the given ID for the currently
* authenticated player. This method is only accessible to whitelisted tester
* accounts for your application. (scores.reset)
*
* @param string $leaderboardId The ID of the leaderboard.
* @param array $optParams Optional parameters.
* @return Google_Service_GamesManagement_PlayerScoreResetResponse
*/
public function reset($leaderboardId, $optParams = array())
{
$params = array('leaderboardId' => $leaderboardId);
$params = array_merge($params, $optParams);
return $this->call('reset', array($params), "Google_Service_GamesManagement_PlayerScoreResetResponse");
}
/**
* Resets all scores for all leaderboards for the currently authenticated
* players. This method is only accessible to whitelisted tester accounts for
* your application. (scores.resetAll)
*
* @param array $optParams Optional parameters.
* @return Google_Service_GamesManagement_PlayerScoreResetAllResponse
*/
public function resetAll($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAll', array($params), "Google_Service_GamesManagement_PlayerScoreResetAllResponse");
}
/**
* Resets scores for all draft leaderboards for all players. This method is only
* available to user accounts for your developer console.
* (scores.resetAllForAllPlayers)
*
* @param array $optParams Optional parameters.
*/
public function resetAllForAllPlayers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetAllForAllPlayers', array($params));
}
/**
* Resets scores for the leaderboard with the given ID for all players. This
* method is only available to user accounts for your developer console. Only
* draft leaderboards can be reset. (scores.resetForAllPlayers)
*
* @param string $leaderboardId The ID of the leaderboard.
* @param array $optParams Optional parameters.
*/
public function resetForAllPlayers($leaderboardId, $optParams = array())
{
$params = array('leaderboardId' => $leaderboardId);
$params = array_merge($params, $optParams);
return $this->call('resetForAllPlayers', array($params));
}
/**
* Resets scores for the leaderboards with the given IDs for all players. This
* method is only available to user accounts for your developer console. Only
* draft leaderboards may be reset. (scores.resetMultipleForAllPlayers)
*
* @param Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody
* @param array $optParams Optional parameters.
*/
public function resetMultipleForAllPlayers(Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody, $optParams = array())
{
$params = array('postBody' => $postBody);
$params = array_merge($params, $optParams);
return $this->call('resetMultipleForAllPlayers', array($params));
}
}

View File

@@ -0,0 +1,54 @@
<?php
/*
* Copyright 2016 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.
*/
/**
* The "turnBasedMatches" collection of methods.
* Typical usage is:
* <code>
* $gamesManagementService = new Google_Service_GamesManagement(...);
* $turnBasedMatches = $gamesManagementService->turnBasedMatches;
* </code>
*/
class Google_Service_GamesManagement_Resource_TurnBasedMatches extends Google_Service_Resource
{
/**
* Reset all turn-based match data for a user. This method is only accessible to
* whitelisted tester accounts for your application. (turnBasedMatches.reset)
*
* @param array $optParams Optional parameters.
*/
public function reset($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('reset', array($params));
}
/**
* Deletes turn-based matches where the only match participants are from
* whitelisted tester accounts for your application. This method is only
* available to user accounts for your developer console.
* (turnBasedMatches.resetForAllPlayers)
*
* @param array $optParams Optional parameters.
*/
public function resetForAllPlayers($optParams = array())
{
$params = array();
$params = array_merge($params, $optParams);
return $this->call('resetForAllPlayers', array($params));
}
}

View File

@@ -0,0 +1,43 @@
<?php
/*
* Copyright 2016 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.
*/
class Google_Service_GamesManagement_ScoresResetMultipleForAllRequest extends Google_Collection
{
protected $collection_key = 'leaderboard_ids';
protected $internal_gapi_mappings = array(
"leaderboardIds" => "leaderboard_ids",
);
public $kind;
public $leaderboardIds;
public function setKind($kind)
{
$this->kind = $kind;
}
public function getKind()
{
return $this->kind;
}
public function setLeaderboardIds($leaderboardIds)
{
$this->leaderboardIds = $leaderboardIds;
}
public function getLeaderboardIds()
{
return $this->leaderboardIds;
}
}