PlayerLevel
Table of Contents
Properties
-
$expRequired
: int
-
$id
: int
-
$name
: string
-
$CACHE_LEVELS
: array<int, self>
Methods
-
__construct()
: mixed
-
clearCache()
: void
-
get()
: self
-
getAll()
: array<int, self>
-
getMax()
: int
-
next()
: self
$expRequired
read-only
public
int
$expRequired
$id
read-only
public
int
$id
$name
read-only
public
string
$name
$CACHE_LEVELS
private
static array<int, self>
$CACHE_LEVELS
= []
__construct()
public
__construct(int $id, string $name, int $expRequired) : mixed
Parameters
-
$id
: int
-
-
$name
: string
-
-
$expRequired
: int
-
clearCache()
public
static clearCache() : void
get()
public
static get(int $exp) : self
Parameters
-
$exp
: int
-
getAll()
public
static getAll() : array<int, self>
Return values
array<int, self>
getMax()
public
static getMax() : int
next()
public
next() : self