Skip to Content
⚠ Under Construction
ReferenceC++ APIPermissionAttachmentInfo

endstone::PermissionAttachmentInfo

Holds information on a permission and which PermissionAttachment provides it.

Functions:

PermissionAttachmentInfo

PermissionAttachmentInfo(Permissible &permissible, std::string permission, PermissionAttachment *attachment, bool value)

getAttachment

PermissionAttachment *getAttachment() const

Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).

Returns:

Attachment

getPermissible

Permissible &getPermissible() const

Gets the permissible this is attached to

Returns:

Permissible this permission is for

getPermission

std::string getPermission() const

Gets the permission being set

Returns:

Name of the permission

getValue

bool getValue() const

Gets the value of this permission

Returns:

Value of the permission

Last updated on