Class PermissionOverwriteWrapper

  • All Implemented Interfaces:

    
    public final class PermissionOverwriteWrapper
    
                        

    Wraps the obfuscated PermissionOverwrite class to provide nice method names and require only one central update if method names change after an update

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Long getId()
      final Long getAllowed()
      final Long getDenied()
      final PermissionOverwrite.Type getType()
      final PermissionOverwrite raw() Returns the raw (obfuscated) PermissionOverwrite Object associated with this wrapper
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PermissionOverwriteWrapper

        PermissionOverwriteWrapper(PermissionOverwrite overwrite)
    • Method Detail

      • getType

         final PermissionOverwrite.Type getType()
      • raw

         final PermissionOverwrite raw()

        Returns the raw (obfuscated) PermissionOverwrite Object associated with this wrapper