Documentation

PlayerLevel
in package

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

Properties

$CACHE_LEVELS

private static array<int, self> $CACHE_LEVELS = []

Methods

__construct()

public __construct(int $id, string $name, int $expRequired) : mixed
Parameters
$id : int
$name : string
$expRequired : int

get()

public static get(int $exp) : self
Parameters
$exp : int
Return values
self

getAll()

public static getAll() : array<int, self>
Return values
array<int, self>

getMax()

public static getMax() : int
Return values
int

        
On this page

Search results