Package gg.xp.xivsupport.models
Enum Class CombatantType
- All Implemented Interfaces:
Serializable
,Comparable<CombatantType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSpecial type for fake actors that are related to a real actor.Gathering pointNon-combat NPCNPC, including pets/minions/companionsCatch-all for everything else (housing items, etc)Player characters (Any player, not just *the* player)Pet of a player -
Method Summary
Modifier and TypeMethodDescriptionstatic CombatantType
Returns the enum constant of this class with the specified name.static CombatantType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PC
Player characters (Any player, not just *the* player) -
NPC
NPC, including pets/minions/companions -
PET
Pet of a player -
FAKE
Special type for fake actors that are related to a real actor. Note that fake actors that do not seem to match up to a real actor still return 'NPC' -
NONCOM
Non-combat NPC -
GP
Gathering point -
OTHER
Catch-all for everything else (housing items, etc)
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-