Enum Class HookType

java.lang.Object
java.lang.Enum<HookType>
net.flectone.pulse.constant.HookType
All Implemented Interfaces:
Serializable, Comparable<HookType>, Constable

public enum HookType extends Enum<HookType>
  • Enum Constant Details

    • CONFIGURE_SERIALIZATION

      public static final HookType CONFIGURE_SERIALIZATION
    • PRE_NEW_PLAYER_PLACE

      public static final HookType PRE_NEW_PLAYER_PLACE
    • ON_PLAYER_PRE_LOGIN

      public static final HookType ON_PLAYER_PRE_LOGIN
    • ON_PLAYER_LOGIN

      public static final HookType ON_PLAYER_LOGIN
    • POST_RESPAWN

      public static final HookType POST_RESPAWN
    • INIT_PACKET_ADAPTER

      public static final HookType INIT_PACKET_ADAPTER
    • TERMINATE_FAILED_PACKET_ADAPTER

      public static final HookType TERMINATE_FAILED_PACKET_ADAPTER
    • TERMINATE_PACKET_ADAPTER

      public static final HookType TERMINATE_PACKET_ADAPTER
    • CLOSE_UIS

      public static final HookType CLOSE_UIS
    • SIMPLEVOICE_ENTITY_SOUND_PACKET

      public static final HookType SIMPLEVOICE_ENTITY_SOUND_PACKET
    • SIMPLEVOICE_MICROPHONE_PACKET

      public static final HookType SIMPLEVOICE_MICROPHONE_PACKET
  • Method Details

    • values

      public static HookType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static HookType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null