Class endstone::PermissionAttachmentInfo¶
ClassList > endstone > PermissionAttachmentInfo
Holds information on a permission and which PermissionAttachment provides it.
#include <endstone/permissions/permission_attachment_info.h>
Public Functions¶
| Type | Name | 
|---|---|
| PermissionAttachmentInfo (Permissible & permissible, std::string permission, PermissionAttachment * attachment, bool value)  | 
|
| PermissionAttachment * | getAttachment () const | 
| Permissible & | getPermissible () const | 
| std::string | getPermission () const | 
| bool | getValue () const | 
Public Functions Documentation¶
function PermissionAttachmentInfo¶
inline endstone::PermissionAttachmentInfo::PermissionAttachmentInfo (
    Permissible & permissible,
    std::string permission,
    PermissionAttachment * attachment,
    bool value
) 
function getAttachment¶
Gets the attachment providing this permission. This may be null for default permissions (usually parent permissions).
Returns:
Attachment
function getPermissible¶
Gets the permissible this is attached to
Returns:
Permissible this permission is for
function getPermission¶
Gets the permission being set
Returns:
Name of the permission
function getValue¶
Gets the value of this permission
Returns:
Value of the permission
The documentation for this class was generated from the following file include/endstone/permissions/permission_attachment_info.h