net.sf.juoserver.model
Enum Layer

java.lang.Object
  extended by java.lang.Enum<Layer>
      extended by net.sf.juoserver.model.Layer
All Implemented Interfaces:
Serializable, Comparable<Layer>, Coded

public enum Layer
extends Enum<Layer>
implements Coded


Enum Constant Summary
Arms
          Arms and sleeves.
Backpack
          Backpacks.
Bank
          Bank box layer.
Bracelet
          Bracelets.
Cloak
          Cloaks.
Earrings
          Earrings.
FacialHair
          Beards and mustaches.
FirstValid
          First valid layer.
Gloves
          Gloves.
Hair
          Hair.
Helm
          Helmets), hats), and masks.
InnerLegs
          Leggings, inner layer.
InnerTorso
          Torso, inner layer.
Invalid
          Invalid layer.
LastUserValid
          Last valid non-internal layer.
LastValid
          Last valid layer.
MiddleTorso
          Torso), outer layer.
Mount
          Mount item layer.
Neck
          Gorgets and necklaces.
OneHanded
          One handed weapon.
OuterLegs
          Leggings, outer layer.
OuterTorso
          Torso, outer layer.
Pants
          Pants.
Ring
          Rings.
Shirt
          Shirts.
Shoes
          Shoes.
ShopBuy
          Vendor 'buy pack' layer.
ShopResale
          Vendor 'resale pack' layer.
ShopSell
          Vendor 'sell pack' layer.
Talisman
          Talismans.
TwoHanded
          Two handed weapon or shield.
Unused_xF
          Unused.
Waist
          Half aprons.
 
Method Summary
static Layer byCode(int code)
           
 int getCode()
           
static Layer valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Layer[] 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

Invalid

public static final Layer Invalid
Invalid layer.


FirstValid

public static final Layer FirstValid
First valid layer. Equivalent to Layer.OneHanded.


OneHanded

public static final Layer OneHanded
One handed weapon.


TwoHanded

public static final Layer TwoHanded
Two handed weapon or shield.


Shoes

public static final Layer Shoes
Shoes.


Pants

public static final Layer Pants
Pants.


Shirt

public static final Layer Shirt
Shirts.


Helm

public static final Layer Helm
Helmets), hats), and masks.


Gloves

public static final Layer Gloves
Gloves.


Ring

public static final Layer Ring
Rings.


Talisman

public static final Layer Talisman
Talismans.


Neck

public static final Layer Neck
Gorgets and necklaces.


Hair

public static final Layer Hair
Hair.


Waist

public static final Layer Waist
Half aprons.


InnerTorso

public static final Layer InnerTorso
Torso, inner layer.


Bracelet

public static final Layer Bracelet
Bracelets.


Unused_xF

public static final Layer Unused_xF
Unused.


FacialHair

public static final Layer FacialHair
Beards and mustaches.


MiddleTorso

public static final Layer MiddleTorso
Torso), outer layer.


Earrings

public static final Layer Earrings
Earrings.


Arms

public static final Layer Arms
Arms and sleeves.


Cloak

public static final Layer Cloak
Cloaks.


Backpack

public static final Layer Backpack
Backpacks.


OuterTorso

public static final Layer OuterTorso
Torso, outer layer.


OuterLegs

public static final Layer OuterLegs
Leggings, outer layer.


InnerLegs

public static final Layer InnerLegs
Leggings, inner layer.


LastUserValid

public static final Layer LastUserValid
Last valid non-internal layer. Equivalent to Layer.InnerLegs.


Mount

public static final Layer Mount
Mount item layer.


ShopBuy

public static final Layer ShopBuy
Vendor 'buy pack' layer.


ShopResale

public static final Layer ShopResale
Vendor 'resale pack' layer.


ShopSell

public static final Layer ShopSell
Vendor 'sell pack' layer.


Bank

public static final Layer Bank
Bank box layer.


LastValid

public static final Layer LastValid
Last valid layer. Equivalent to Layer.Bank.

Method Detail

values

public static Layer[] 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 (Layer c : Layer.values())
    System.out.println(c);

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

valueOf

public static Layer 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

getCode

public int getCode()
Specified by:
getCode in interface Coded
Returns:
the identifying code

byCode

public static Layer byCode(int code)


Copyright © 2010-2012. All Rights Reserved.