Container
extends
InventoryHolder
in
Table of Contents
- TAG_ITEMS = "Items"
- TAG_LOCK = "Lock"
- canOpenWith() : bool
- Returns whether this container can be opened by an item with the given custom name.
- getInventory() : Inventory
- Get the object related inventory
- getRealInventory() : Inventory
Constants
TAG_ITEMS
public
mixed
TAG_ITEMS
= "Items"
TAG_LOCK
public
mixed
TAG_LOCK
= "Lock"
Methods
canOpenWith()
Returns whether this container can be opened by an item with the given custom name.
public
canOpenWith(string $key) : bool
Parameters
- $key : string
Return values
bool —getInventory()
Get the object related inventory
public
getInventory() : Inventory
Return values
Inventory —getRealInventory()
public
getRealInventory() : Inventory