mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- wrong static function calls in achievement - quality-integer no longer displayed in opensearch
45 lines
895 B
PHP
45 lines
895 B
PHP
<?php
|
|
|
|
if (!defined('AOWOW_REVISION'))
|
|
die('illegal access');
|
|
|
|
|
|
class FactionList extends BaseType
|
|
{
|
|
public static function getName($id)
|
|
{
|
|
$n = DB::Aowow()->SelectRow('
|
|
SELECT
|
|
name_loc0,
|
|
name_loc2,
|
|
name_loc3,
|
|
name_loc6,
|
|
name_loc8
|
|
FROM
|
|
?_factions
|
|
WHERE
|
|
factionID = ?d',
|
|
$id
|
|
);
|
|
return Util::localizedString($n, 'name');
|
|
}
|
|
|
|
public function reactsAgainst($faction)
|
|
{
|
|
// see factionTemplate
|
|
/*
|
|
1: friendly
|
|
0: neutral
|
|
-1: hostile
|
|
*/
|
|
}
|
|
|
|
public function getListviewData() { }
|
|
public function addGlobalsToJScript(&$refs) { }
|
|
public function addRewardsToJScript(&$refs) { }
|
|
public function renderTooltip() { }
|
|
|
|
}
|
|
|
|
?>
|