Bez popisu

PlayerLeaderboardScore.php 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_Games_PlayerLeaderboardScore extends Google_Model
  18. {
  19. protected $internal_gapi_mappings = array(
  20. "leaderboardId" => "leaderboard_id",
  21. );
  22. public $kind;
  23. public $leaderboardId;
  24. protected $publicRankType = 'Google_Service_Games_LeaderboardScoreRank';
  25. protected $publicRankDataType = '';
  26. public $scoreString;
  27. public $scoreTag;
  28. public $scoreValue;
  29. protected $socialRankType = 'Google_Service_Games_LeaderboardScoreRank';
  30. protected $socialRankDataType = '';
  31. public $timeSpan;
  32. public $writeTimestamp;
  33. public function setKind($kind)
  34. {
  35. $this->kind = $kind;
  36. }
  37. public function getKind()
  38. {
  39. return $this->kind;
  40. }
  41. public function setLeaderboardId($leaderboardId)
  42. {
  43. $this->leaderboardId = $leaderboardId;
  44. }
  45. public function getLeaderboardId()
  46. {
  47. return $this->leaderboardId;
  48. }
  49. /**
  50. * @param Google_Service_Games_LeaderboardScoreRank
  51. */
  52. public function setPublicRank(Google_Service_Games_LeaderboardScoreRank $publicRank)
  53. {
  54. $this->publicRank = $publicRank;
  55. }
  56. /**
  57. * @return Google_Service_Games_LeaderboardScoreRank
  58. */
  59. public function getPublicRank()
  60. {
  61. return $this->publicRank;
  62. }
  63. public function setScoreString($scoreString)
  64. {
  65. $this->scoreString = $scoreString;
  66. }
  67. public function getScoreString()
  68. {
  69. return $this->scoreString;
  70. }
  71. public function setScoreTag($scoreTag)
  72. {
  73. $this->scoreTag = $scoreTag;
  74. }
  75. public function getScoreTag()
  76. {
  77. return $this->scoreTag;
  78. }
  79. public function setScoreValue($scoreValue)
  80. {
  81. $this->scoreValue = $scoreValue;
  82. }
  83. public function getScoreValue()
  84. {
  85. return $this->scoreValue;
  86. }
  87. /**
  88. * @param Google_Service_Games_LeaderboardScoreRank
  89. */
  90. public function setSocialRank(Google_Service_Games_LeaderboardScoreRank $socialRank)
  91. {
  92. $this->socialRank = $socialRank;
  93. }
  94. /**
  95. * @return Google_Service_Games_LeaderboardScoreRank
  96. */
  97. public function getSocialRank()
  98. {
  99. return $this->socialRank;
  100. }
  101. public function setTimeSpan($timeSpan)
  102. {
  103. $this->timeSpan = $timeSpan;
  104. }
  105. public function getTimeSpan()
  106. {
  107. return $this->timeSpan;
  108. }
  109. public function setWriteTimestamp($writeTimestamp)
  110. {
  111. $this->writeTimestamp = $writeTimestamp;
  112. }
  113. public function getWriteTimestamp()
  114. {
  115. return $this->writeTimestamp;
  116. }
  117. }