Пример #1
0
 /**
  * @param boolean $andsign
  * @throws \Onyx\Destiny\Helpers\Network\BungieOfflineException
  */
 public function updateHashes($andsign = false)
 {
     if ($this->url == null) {
         $this->allowedRetry = false;
         $this->updateItems();
     } else {
         $json = $this->getJson($this->url . ($andsign ? "&" : "?") . "definitions=true");
         Hash::loadHashesFromApi($json['Response']['definitions']);
         $this->allowedRetry = false;
         $this->updateItems();
     }
 }