- updated authentication class and levels
This commit is contained in:
1 parent
1f6ac61897
commit
8c9a1af65d
7 files changed
+221
-307
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user