PermissionsClassSystem

Class system based on permissions.

To set user classes just give him permission like these:

  • mimic.class.ClassOne

  • mimic.class.ClassTwo First class will be used as primary.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val classes: List<String>

Inherited properties

Link copied to clipboard
Link copied to clipboard
open val primaryClass: String?

Functions

Link copied to clipboard
open override fun hasClass(requiredClass: String): Boolean

Inherited functions

Link copied to clipboard
open fun hasAllClasses(requiredClasses: List<String>): Boolean
open fun hasAllClasses(firstClass: String, vararg restClasses: String): Boolean
Link copied to clipboard
open fun hasAnyClass(): Boolean
Link copied to clipboard
open fun hasAnyOfClasses(requiredClasses: List<String>): Boolean
open fun hasAnyOfClasses(firstClass: String, vararg restClasses: String): Boolean