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() constGets the attachment providing this permission. This may be null for default permissions (usually parent permissions).
Returns:
Attachment
getPermissible
Permissible &getPermissible() constGets the permissible this is attached to
Returns:
Permissible this permission is for
getPermission
std::string getPermission() constGets the permission being set
Returns:
Name of the permission
getValue
bool getValue() constGets the value of this permission
Returns:
Value of the permission
Last updated on