mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
42 lines
1.1 KiB
PHP
42 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace Aowow;
|
|
|
|
if (!defined('AOWOW_REVISION'))
|
|
die('illegal access');
|
|
|
|
|
|
class PetcalcBaseResponse extends TemplateResponse
|
|
{
|
|
protected string $template = 'talent';
|
|
protected string $pageName = 'petcalc';
|
|
protected ?int $activeTab = parent::TAB_TOOLS;
|
|
protected array $breadcrumb = [1, 2];
|
|
|
|
protected array $dataLoader = ['pet-talents', 'pets'];
|
|
protected array $scripts = array(
|
|
[SC_JS_FILE, 'js/TalentCalc.js'],
|
|
[SC_CSS_FILE, 'css/talentcalc.css'],
|
|
[SC_CSS_FILE, 'css/talent.css'],
|
|
[SC_JS_FILE, 'js/petcalc.js'],
|
|
[SC_JS_FILE, 'js/swfobject.js'],
|
|
[SC_CSS_FILE, 'css/petcalc.css']
|
|
);
|
|
|
|
public bool $gDataKey = true;
|
|
public string $tcType = 'pc'; // PetCalculator
|
|
public string $chooseType;
|
|
|
|
protected function generate() : void
|
|
{
|
|
$this->h1 = Lang::main('petCalc');
|
|
$this->chooseType = Lang::main('chooseFamily');
|
|
|
|
array_unshift($this->title, $this->h1);
|
|
|
|
parent::generate();
|
|
}
|
|
}
|
|
|
|
?>
|