public static class OpLevelCollection.OpLevelSubject extends SpongeSubject
Constructor and Description |
---|
OpLevelSubject(SpongePermissionService service,
int level) |
Modifier and Type | Method and Description |
---|---|
Optional<org.spongepowered.api.util.command.CommandSource> |
getCommandSource() |
org.spongepowered.api.service.permission.SubjectCollection |
getContainingCollection() |
String |
getIdentifier() |
int |
getOpLevel() |
org.spongepowered.api.service.permission.MemorySubjectData |
getSubjectData() |
getActiveContexts, getDataPermissionValue, getParents, getParents, getPermissionValue, getTransientSubjectData, hasPermission, hasPermission, isChildOf, isChildOf
public OpLevelSubject(SpongePermissionService service, int level)
public int getOpLevel()
public String getIdentifier()
public Optional<org.spongepowered.api.util.command.CommandSource> getCommandSource()
public org.spongepowered.api.service.permission.SubjectCollection getContainingCollection()
public org.spongepowered.api.service.permission.MemorySubjectData getSubjectData()
getSubjectData
in interface org.spongepowered.api.service.permission.Subject
getSubjectData
in class SpongeSubject