Class GSAuthRequiredCache
java.lang.Object
com.gamersafer.minecraft.auth.common.listener.GSAuthRequiredCache
- All Implemented Interfaces:
IGSAuthRequiredCache
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasRequiredPermSet
(UUID uuid) Returns whether the player has a required permission.void
setHasRequiredPermSet
(UUID uuid, boolean isRequiredPermSet) Sets whether the player has a required permission.
-
Constructor Details
-
GSAuthRequiredCache
public GSAuthRequiredCache()
-
-
Method Details
-
setHasRequiredPermSet
Description copied from interface:IGSAuthRequiredCache
Sets whether the player has a required permission.- Specified by:
setHasRequiredPermSet
in interfaceIGSAuthRequiredCache
- Parameters:
uuid
- the UUID of the playerisRequiredPermSet
- whether the player has a required permission
-
hasRequiredPermSet
Description copied from interface:IGSAuthRequiredCache
Returns whether the player has a required permission.- Specified by:
hasRequiredPermSet
in interfaceIGSAuthRequiredCache
- Parameters:
uuid
- the UUID of the player- Returns:
- whether the player has a required permission
-