Esempio n. 1
0
 /**
  * Get all the plots a player owns (in a certain level if $levelName is provided)
  *
  * @api
  * @param string $username
  * @param string $levelName
  * @return Plot[]
  */
 public function getPlotsOfPlayer($username, $levelName = "")
 {
     return $this->dataProvider->getPlotsByOwner($username, $levelName);
 }