Class NpcChanged


  • public final class NpcChanged
    extends java.lang.Object
    Fires after the composition of an NPC changes.
    • Method Detail

      • getNpc

        public NPC getNpc()
        The NPC of which the composition changed.
      • getOld

        public NPCComposition getOld()
        The old composition of the NPC
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object