PHP 클래스 pocketmine\event\block\BlockPlaceEvent

상속: extends BlockEvent, implements pocketmine\event\Cancellable
파일 보기 프로젝트 열기: ClearSkyTeam/ClearSky 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$handlerList

보호된 프로퍼티들

프로퍼티 타입 설명
$blockAgainst
$blockReplace
$item pocketmine\item\Item
$player pocketmine\Player

공개 메소드들

메소드 설명
__construct ( Player $player, Block $blockPlace, Block $blockReplace, Block $blockAgainst, Item $item )
getBlockAgainst ( )
getBlockReplaced ( )
getItem ( ) : mixed Gets the item in hand
getPlayer ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Player $player, Block $blockPlace, Block $blockReplace, Block $blockAgainst, Item $item )
$player pocketmine\Player
$blockPlace pocketmine\block\Block
$blockReplace pocketmine\block\Block
$blockAgainst pocketmine\block\Block
$item pocketmine\item\Item

getBlockAgainst() 공개 메소드

public getBlockAgainst ( )

getBlockReplaced() 공개 메소드

public getBlockReplaced ( )

getItem() 공개 메소드

Gets the item in hand
public getItem ( ) : mixed
리턴 mixed

getPlayer() 공개 메소드

public getPlayer ( )

프로퍼티 상세

$blockAgainst 보호되어 있는 프로퍼티

protected $blockAgainst

$blockReplace 보호되어 있는 프로퍼티

protected $blockReplace

$handlerList 공개적으로 정적으로 프로퍼티

public static $handlerList

$item 보호되어 있는 프로퍼티

protected Item,pocketmine\item $item
리턴 pocketmine\item\Item

$player 보호되어 있는 프로퍼티

protected Player,pocketmine $player
리턴 pocketmine\Player