Interface SPCGenericListener

  • All Implemented Interfaces:

    
    public interface SPCGenericListener
    
                        

    Listener for an event that carries no payload: a plugin is told that something happened, not what. Registered through ConfigurationHandler.addEventListener / ServerPackHandler.addEventListener; reach for one of the typed listeners below when the details are what you need.

    Author:

    Griefed

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit run() Called when the event fires.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • run

         abstract Unit run()

        Called when the event fires. Carries no payload — use a typed listener when the details matter.