com.planet_ink.coffee_mud.Libraries.interfaces
Enum AchievementLibrary.Event

java.lang.Object
  extended by java.lang.Enum<AchievementLibrary.Event>
      extended by com.planet_ink.coffee_mud.Libraries.interfaces.AchievementLibrary.Event
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AchievementLibrary.Event>
Enclosing interface:
AchievementLibrary

public static enum AchievementLibrary.Event
extends java.lang.Enum<AchievementLibrary.Event>

Events define the type of achievement, describing specific arguments that the achievement of each event type needs. It is also used to specify the type of player event that has occurred, allowing the appropriate achievement to be determined and tracked.


Enum Constant Summary
ACHIEVER
           
BIRTHS
           
CLASSLEVELSGAINED
           
CRAFTING
           
DEATHS
           
EXPLORE
           
FACTION
           
FACTIONS
           
GOTITEM
           
JUSTBE
           
KILLS
           
LEVELSGAINED
           
MENDER
           
PLAYERBORN
           
PLAYERBORNPARENT
           
QUESTOR
           
RACEBIRTH
           
REMORT
           
RETIRE
           
ROOMENTER
           
SKILLUSE
           
SOCIALUSE
           
STATVALUE
           
TIMEPLAYED
           
 
Method Summary
 java.lang.String displayName()
          Returns the friendly display name of this event.
static java.lang.String[] getEventChoices()
          Returns a string list of all event types.
 java.lang.String[] getParameters()
          Returns all arguments, required and optional, to this achievement event type
static AchievementLibrary.Event valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AchievementLibrary.Event[] values()
          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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

KILLS

public static final AchievementLibrary.Event KILLS

STATVALUE

public static final AchievementLibrary.Event STATVALUE

FACTION

public static final AchievementLibrary.Event FACTION

EXPLORE

public static final AchievementLibrary.Event EXPLORE

CRAFTING

public static final AchievementLibrary.Event CRAFTING

MENDER

public static final AchievementLibrary.Event MENDER

SKILLUSE

public static final AchievementLibrary.Event SKILLUSE

SOCIALUSE

public static final AchievementLibrary.Event SOCIALUSE

QUESTOR

public static final AchievementLibrary.Event QUESTOR

ACHIEVER

public static final AchievementLibrary.Event ACHIEVER

ROOMENTER

public static final AchievementLibrary.Event ROOMENTER

LEVELSGAINED

public static final AchievementLibrary.Event LEVELSGAINED

CLASSLEVELSGAINED

public static final AchievementLibrary.Event CLASSLEVELSGAINED

TIMEPLAYED

public static final AchievementLibrary.Event TIMEPLAYED

JUSTBE

public static final AchievementLibrary.Event JUSTBE

DEATHS

public static final AchievementLibrary.Event DEATHS

RETIRE

public static final AchievementLibrary.Event RETIRE

REMORT

public static final AchievementLibrary.Event REMORT

GOTITEM

public static final AchievementLibrary.Event GOTITEM

FACTIONS

public static final AchievementLibrary.Event FACTIONS

BIRTHS

public static final AchievementLibrary.Event BIRTHS

RACEBIRTH

public static final AchievementLibrary.Event RACEBIRTH

PLAYERBORN

public static final AchievementLibrary.Event PLAYERBORN

PLAYERBORNPARENT

public static final AchievementLibrary.Event PLAYERBORNPARENT
Method Detail

values

public static AchievementLibrary.Event[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AchievementLibrary.Event c : AchievementLibrary.Event.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AchievementLibrary.Event valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

displayName

public java.lang.String displayName()
Returns the friendly display name of this event.

Returns:
the friendly display name of this event.

getParameters

public java.lang.String[] getParameters()
Returns all arguments, required and optional, to this achievement event type

Returns:
all arguments to this achievement event type

getEventChoices

public static java.lang.String[] getEventChoices()
Returns a string list of all event types.

Returns:
a string list of all event types.