PHP Class pocketmine\inventory\InventoryType

显示文件 Open project: iTXTech/Genisys Class Usage Examples

Public Methods

Method Description
get ( $index ) : InventoryType
getDefaultSize ( ) : integer
getDefaultTitle ( ) : string
getNetworkType ( ) : integer
init ( )

Private Methods

Method Description
__construct ( integer $defaultSize, string $defaultTitle, integer $typeId )

Method Details

get() public static method

public static get ( $index ) : InventoryType
$index
return InventoryType

getDefaultSize() public method

public getDefaultSize ( ) : integer
return integer

getDefaultTitle() public method

public getDefaultTitle ( ) : string
return string

getNetworkType() public method

public getNetworkType ( ) : integer
return integer

init() public static method

public static init ( )