Merge remote-tracking branch 'origin/dev-battle-fighterclass' into dev-battle-fighterclass
This commit is contained in:
@@ -20,6 +20,16 @@ class Reputation
|
||||
}
|
||||
}
|
||||
|
||||
private function getr(): array
|
||||
{
|
||||
return Db::getRow(
|
||||
'select *,
|
||||
(repcapitalcity+repdemonscity+repangelscity+repsuncity+repdreamscity+repabandonedplain+repsandcity+repemeraldscity+repdevilscity) as allrep,
|
||||
(nu_capitalcity+nu_demonscity+nu_angelscity+nu_suncity+nu_dreamscity+nu_abandonedplain+nu_sandcity+nu_emeraldscity+nu_devilscity) as allnurep
|
||||
from rep where id = ?', [$this->uid]
|
||||
);
|
||||
}
|
||||
|
||||
public function get(): array
|
||||
{
|
||||
return $this->r;
|
||||
@@ -34,14 +44,4 @@ class Reputation
|
||||
Db::sql("update rep set $dungeonName = ? where id = ?", [$value, $this->uid]);
|
||||
return $this->r[$dungeonName];
|
||||
}
|
||||
|
||||
private function getr()
|
||||
{
|
||||
return Db::getRow(
|
||||
'select *,
|
||||
(repcapitalcity+repdemonscity+repangelscity+repsuncity+repdreamscity+repabandonedplain+repsandcity+repemeraldscity+repdevilscity) as allrep,
|
||||
(nu_capitalcity+nu_demonscity+nu_angelscity+nu_suncity+nu_dreamscity+nu_abandonedplain+nu_sandcity+nu_emeraldscity+nu_devilscity) as allnurep
|
||||
from rep where id = ?', [$this->uid]
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user