PHP 클래스 pocketmine\permission\PermissibleBase

상속: implements pocketmine\permission\Permissible
파일 보기 프로젝트 열기: iTXTech/Genisys 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( pocketmine\permission\ServerOperator $opable )
__destruct ( )
addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : PermissionAttachment TODO: tick scheduled attachments
clearPermissions ( )
getEffectivePermissions ( ) : PermissionAttachmentInfo[]
hasPermission ( Permission | string $name ) : boolean
isOp ( ) : boolean
isPermissionSet ( Permission | string $name ) : boolean
recalculatePermissions ( )
removeAttachment ( PermissionAttachment $attachment )
setOp ( boolean $value )

비공개 메소드들

메소드 설명
calculateChildPermissions ( array $children, boolean $invert, PermissionAttachment $attachment )

메소드 상세

__construct() 공개 메소드

public __construct ( pocketmine\permission\ServerOperator $opable )
$opable pocketmine\permission\ServerOperator

__destruct() 공개 메소드

public __destruct ( )

addAttachment() 공개 메소드

TODO: tick scheduled attachments
public addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : PermissionAttachment
$plugin pocketmine\plugin\Plugin
$name string
$value boolean
리턴 PermissionAttachment

clearPermissions() 공개 메소드

public clearPermissions ( )

getEffectivePermissions() 공개 메소드

public getEffectivePermissions ( ) : PermissionAttachmentInfo[]
리턴 PermissionAttachmentInfo[]

hasPermission() 공개 메소드

public hasPermission ( Permission | string $name ) : boolean
$name Permission | string
리턴 boolean

isOp() 공개 메소드

public isOp ( ) : boolean
리턴 boolean

isPermissionSet() 공개 메소드

public isPermissionSet ( Permission | string $name ) : boolean
$name Permission | string
리턴 boolean

recalculatePermissions() 공개 메소드

removeAttachment() 공개 메소드

public removeAttachment ( PermissionAttachment $attachment )
$attachment PermissionAttachment

setOp() 공개 메소드

public setOp ( boolean $value )
$value boolean