Class PacketInterceptor.PacketHookAdvice

  • Enclosing class:
    PacketInterceptor

    public static class PacketInterceptor.PacketHookAdvice
    extends java.lang.Object
    The Advice class. This code is injected DIRECTLY into the start of the "addNode" method. It must be public and static.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void onEnter​(java.lang.Object packetBufferNode)  
      • Methods inherited from class java.lang.Object

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

      • PacketHookAdvice

        public PacketHookAdvice()
    • Method Detail

      • onEnter

        @OnMethodEnter
        public static void onEnter​(@Argument(0)
                                   java.lang.Object packetBufferNode)