Contents
Class PermissionQuery
java.lang.Object
com.hypixel.hytale.server.core.permissions.PermissionQuery
A permission node with every string that a lookup of it needs. One check walks up to seven
permission sets, so these are built once for the check rather than once for each set. A
caller that always asks for the same node can build one and keep it.
-
Method Summary
-
Method Details
-
of
Builds the lookup for a permission node. A caller that asks for the same node more than once should hold the lookup rather than build one for each check.- Parameters:
id- the permission node- Returns:
- the lookup for the node
-
getId
- Returns:
- the permission node this looks up
-
toString
-