메소드 |
설명 |
|
__construct ( pocketmine\inventory\InventoryHolder $holder, InventoryType $type, array $items = [], integer $overrideSize = null, string $overrideTitle = null ) |
|
|
__destruct ( ) |
|
|
addItem ( $slots ) |
|
|
all ( Item $item ) |
|
|
canAddItem ( Item $item ) |
|
|
clear ( $index, $send = true ) |
|
|
clearAll ( $send = true ) |
|
|
close ( Player $who ) |
|
|
contains ( Item $item ) |
|
|
first ( Item $item ) |
|
|
firstEmpty ( ) |
|
|
firstOccupied ( ) |
|
|
getContents ( ) |
|
|
getHolder ( ) |
|
|
getHotbarSize ( ) |
|
|
getItem ( $index ) |
|
|
getMaxStackSize ( ) |
|
|
getName ( ) : string |
|
|
getSize ( ) |
|
|
getTitle ( ) |
|
|
getType ( ) |
|
|
getViewers ( ) : Player[] |
|
|
onClose ( Player $who ) |
|
|
onOpen ( Player $who ) |
|
|
onSlotChange ( $index, $before, $send ) |
|
|
open ( Player $who ) |
|
|
processSlotChange ( pocketmine\inventory\Transaction $transaction ) : boolean |
|
|
remove ( Item $item, $send = true ) |
|
|
removeItem ( $slots ) |
|
|
sendContents ( Player | Player[] $target ) |
|
|
sendSlot ( integer $index, Player | Player[] $target ) |
|
|
setContents ( array $items, $send = true ) |
|
|
setItem ( $index, Item $item, $send = true ) |
|
|
setMaxStackSize ( $size ) |
|
|
setSize ( $size ) |
|
|
slotContains ( $slot, Item $item, $matchCount = false ) |
|
|