function __toString() { $canvas = '<canvas class="sprite" width="' . $this->rectWidth . '" height="' . $this->rectHeight . '" data-x="' . $this->rectX . '" data-y="' . $this->rectY . '" data-src="' . bungie($this->sheetPath) . '" ></canvas>'; return $canvas; }
public function fire() { $this->info('Updating manifest'); $manifest = destiny()->manifest(); $this->url = bungie(array_get($manifest, 'mobileWorldContentPaths.en')); $this->version = array_get($manifest, 'version'); $this->versionFile = base_path('database/manifest/.version'); $this->versionDb = base_path("database/manifest/{$this->version}.sqlite"); if (!is_file($this->versionFile)) { \File::put($this->versionFile, ''); } $currentVersion = \File::get($this->versionFile); $versionChanged = $this->version !== $currentVersion || !is_file($this->versionDb); if ($this->option('extract') || $this->option('download') || $versionChanged) { if ($this->option('download') || $versionChanged) { $this->download(); } $this->extract(); $this->call('cache:clear'); } else { $this->comment('No updates available.'); } $this->line("<info>Current version:</info> <comment>{$this->version}</comment>"); }
@endforeach @if($arena->bossFight) <div class="round boss"> <div class="info"> <div class="round-number">Boss</div> <div class="enemy"><?php echo e($arena->bossName); ?> </div> </div> <div class="skulls"> @foreach($arena->bossSkulls as $skull) <div class="skull"> <img src="<?php echo bungie($skull->iconPath); ?> " data-toggle="popover" alt="<?php echo e($skull->skullName); ?> " title="<?php echo e($skull->skullName); ?> " data-content="<?php echo e($skull->description); ?> "> <span><?php echo e($skull->skullName); ?> </span>
*/ ?> <div class="activity" data-hash="<?php echo $activity->activityHash; ?> " data-identifier="<?php echo $activity->identifier; ?> " data-completed="<?php echo bool($activity->isCompleted); ?> "> <div class="image"> <img class="icon" src="<?php echo bungie($activity->icon); ?> "> </div> <div class="activity-details"> <div class="name"> <?php echo e($activity->activityName); ?> @if($activity->isCompleted)<i class="fa fa-check"></i>@endif </div> <div class="level"> <span class="label"> Level <strong><?php echo $activity->activityLevel;
?> </div> <div class="enemy"> <a href="<?php echo dtritem($weapon); ?> " target="_blank"><?php echo $weapon->itemName; ?> </a> </div> </div> <div class="skulls"> <div class="skull"> <img src="<?php echo bungie($weapon->icon); ?> " data-toggle="popover" alt="<?php echo e($weapon->itemName); ?> " title="<?php echo e($weapon->itemName); ?> " data-content="<?php echo e($weapon->itemDescription); ?> "> <span><?php echo e($weapon->tierTypeName); ?> </span>
<div class="equipped" data-toggle="tooltip" title="<?php echo e($item->itemDescription); ?> " data-complete="<?php echo bool($item->isGridComplete); ?> " data-hash="<?php echo $item->itemHash; ?> " > <img class="icon" src="<?php echo bungie($item->icon); ?> "> <div class="name"><?php echo e($item->itemName); ?> </div> <div class="tier"><?php echo e($item->tierTypeName); ?> </div> <div class="type opaque"><?php echo e($item->itemTypeName); ?> </div>
<li class="active"><a href="#<?php echo $arena->activityHash; ?> -rewards" role="tab" data-toggle="tab">Rewards</a></li> </ul> <div class="tab-content"> <div class="rewards tab-pane active" role="tabpanel" id="#<?php echo $arena->activityHash; ?> -rewards"> <?php foreach ($arena->rewards as $reward) { ?> <div class="reward"> <img src="<?php echo bungie($reward->icon); ?> "> <span class="name"><?php echo e($reward->itemName); ?> </span> <span class="value"><?php echo e($reward->quantity); ?> </span> </div> <?php } ?> </div>
<?php /** * @var \Destiny\Character\Progression $progression */ ?> @if (isset($progression)) <div class="progression"> <img src="<?php echo bungie($progression->icon); ?> " alt=""> <div class="name"><?php echo e($progression->label); ?> </div> <div class="rank">Rank <span><?php echo e($progression->level); ?> </span></div> @include('block/progress', ['progress' => $progression->percentToNextLevel, 'label' => $progression->percentLabel]) </div> @endif
<h4>Search results for "<?php echo e($gamertag); ?> "</h4> <div class="row"> @foreach($result as $player) <div class="panel col-md-4"> <a href="<?php echo $player->url; ?> "> <img src="<?php echo bungie($player->iconPath); ?> "> <span><?php echo e($player->displayName); ?> </span> </a> </div> @endforeach </div> @endif
<?php /** * @var \Destiny\Character $character */ ?> <div class="plate" style="background-image: url(<?php echo bungie($character->backgroundPath); ?> );"> <img class="emblem" src="<?php echo bungie($character->emblemPath); ?> "> <div class="details"> <div class="class"><?php echo e($character->class); ?> </div> <div class="race"><?php echo e($character->raceGender); ?> </div> <div class="level"><?php echo e($character->characterLevel); ?> </div> <div class="light"><?php echo e($character->lightLevel); ?>
<?php /** * @var \Destiny\AdvisorsTwo\Activity|\Destiny\AdvisorsTwo\Activity\IronBanner $activity * @var \Destiny\Definitions\InventoryItem $weapon */ ?> <div class="advisor-trials type-activity panel"> <div class="image"> <div class="display"><img src="<?php echo bungie($activity->display->image); ?> "></div> <div class="tiny-icon"><img src="<?php echo bungie($activity->display->icon); ?> "></div> </div> <h3> <span class="name"><?php echo e($activity->display->advisorTypeCategory); ?> </span> <span class="destination"> </span> </h3> <p> <?php echo $activity->display->tips->random()->message; ?> </p> <?php