- updated authentication class and levels

This commit is contained in:
Steffen Schröder
2013-11-10 19:30:14 +01:00
parent 1f6ac61897
commit 8c9a1af65d
7 changed files with 221 additions and 307 deletions

View File

@ -16,6 +16,7 @@ class Player {
public $login = '';
public $nickname = '';
public $path = '';
public $authLevel = 0;
public $joinCount = 0;
public $totalPlayed = 0;
public $language = '';
@ -64,6 +65,7 @@ class Player {
*
* @return bool
*/
// TODO: check for bot players
public function isFakePlayer() {
return ($this->pid <= 0);
}