currentExperiencePoints = $currentExperiencePoints; } /** * @return string */ public function getCurrentExperiencePoints() { return $this->currentExperiencePoints; } /** * The current level of the player. * * @param GamesPlayerLevelResource $currentLevel */ public function setCurrentLevel(GamesPlayerLevelResource $currentLevel) { $this->currentLevel = $currentLevel; } /** * @return GamesPlayerLevelResource */ public function getCurrentLevel() { return $this->currentLevel; } /** * The timestamp when the player was leveled up, in millis since Unix epoch * UTC. * * @param string $lastLevelUpTimestampMillis */ public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis) { $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis; } /** * @return string */ public function getLastLevelUpTimestampMillis() { return $this->lastLevelUpTimestampMillis; } /** * The next level of the player. If the current level is the maximum level, * this should be same as the current level. * * @param GamesPlayerLevelResource $nextLevel */ public function setNextLevel(GamesPlayerLevelResource $nextLevel) { $this->nextLevel = $nextLevel; } /** * @return GamesPlayerLevelResource */ public function getNextLevel() { return $this->nextLevel; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GamesPlayerExperienceInfoResource::class, 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource');