PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\inventory\InventoryType Class Reference
+ Collaboration diagram for pocketmine\inventory\InventoryType:

Public Member Functions

 getDefaultSize ()
 
 getDefaultTitle ()
 
 getNetworkType ()
 

Static Public Member Functions

static get ($index)
 
static init ()
 

Public Attributes

const CHEST = 0
 
const DOUBLE_CHEST = 1
 
const PLAYER = 2
 
const FURNACE = 3
 
const CRAFTING = 4
 
const WORKBENCH = 5
 
const STONECUTTER = 6
 

Detailed Description

Saves all the information regarding default inventory sizes and types

Definition at line 27 of file InventoryType.php.

Member Function Documentation

static pocketmine\inventory\InventoryType::get (   $index)
static
Parameters
$index
Returns
InventoryType

Definition at line 47 of file InventoryType.php.

pocketmine\inventory\InventoryType::getDefaultSize ( )
Returns
int

Definition at line 79 of file InventoryType.php.

Referenced by pocketmine\inventory\BaseInventory\__construct().

+ Here is the caller graph for this function:

pocketmine\inventory\InventoryType::getDefaultTitle ( )
Returns
string

Definition at line 86 of file InventoryType.php.

Referenced by pocketmine\inventory\CraftingInventory\__construct().

+ Here is the caller graph for this function:

pocketmine\inventory\InventoryType::getNetworkType ( )
Returns
int

Definition at line 93 of file InventoryType.php.


The documentation for this class was generated from the following file: