mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-18 19:55:33 +00:00
Minor Adjustments.
This commit is contained in:
parent
d3e8cba132
commit
698feccd54
@ -91,7 +91,21 @@ class PermissionsAPI
|
|||||||
*/
|
*/
|
||||||
abstract class Permission
|
abstract class Permission
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @var integer
|
||||||
|
*/
|
||||||
private $permissionLevel;
|
private $permissionLevel;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param integer $permissionLevel Integer form of Permission Level. Lower has more permissions.
|
||||||
|
*/
|
||||||
|
public function __construct($permissionLevel)
|
||||||
|
{
|
||||||
|
$this->permissionLevel = $permissionLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return mixed
|
||||||
|
*/
|
||||||
public abstract function getPermissionLevel();
|
public abstract function getPermissionLevel();
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user