Packages com.phoenixplugins.phoenixcrates.api events.items

Enum ItemDeliverySource

All Implemented Interfaces:
Serializable, Comparable<ItemDeliverySource>, java.lang.constant.Constable

public enum ItemDeliverySource extends Enum<ItemDeliverySource>
Identifies the origin of an item delivery attempt.

Listeners can branch handling and messaging logic based on this source (for example, crate-claim reminders for keys vs rewards).

  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
     
    Items were produced by granting crate keys.
    Items were produced by granting crate rewards.
  • Method Summary

    Modifier and Type
    Method
    Description
    valueOf(String name)
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • KEY_GRANT

      public static final ItemDeliverySource KEY_GRANT
      Items were produced by granting crate keys.
    • CRATE_GRANT

      public static final ItemDeliverySource CRATE_GRANT
    • REWARD_GRANT

      public static final ItemDeliverySource REWARD_GRANT
      Items were produced by granting crate rewards.
  • Method Details

    • values

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

      public static ItemDeliverySource valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
Last updated 10 days ago
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping