Package 

Class PermissionOverwriteWrapper


  • 
    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

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Long id
      private final Long allowed
      private final Long denied
      private final PermissionOverwrite.Type type
    • 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