Table of Contents
Properties
-
$alignRestriction
: int
-
$basePrice
: int
-
$class
: int
-
$id
: int
-
$maxPortAmount
: int
-
$name
: string
-
$CACHE_GOODS
: array<int, self>
Methods
-
__construct()
: mixed
-
clearCache()
: void
-
get()
: self
-
getAll()
: array<int, self>
-
getAllIDs()
: array<string|int, int>
-
getImageHTML()
: string
$alignRestriction
read-only
public
int
$alignRestriction
$basePrice
read-only
public
int
$basePrice
$class
read-only
public
int
$class
$id
read-only
public
int
$id
$maxPortAmount
read-only
public
int
$maxPortAmount
$name
read-only
public
string
$name
$CACHE_GOODS
private
static array<int, self>
$CACHE_GOODS
= []
__construct()
public
__construct(int $id, string $name, int $maxPortAmount, int $basePrice, int $class, int $alignRestriction) : mixed
Parameters
-
$id
: int
-
-
$name
: string
-
-
$maxPortAmount
: int
-
-
$basePrice
: int
-
-
$class
: int
-
-
$alignRestriction
: int
-
clearCache()
public
static clearCache() : void
get()
public
static get(int $goodID) : self
Parameters
-
$goodID
: int
-
getAll()
public
static getAll() : array<int, self>
Return values
array<int, self>
getAllIDs()
public
static getAllIDs() : array<string|int, int>
Return values
array<string|int, int>
getImageHTML()
public
getImageHTML() : string