java.lang.Object com.realtime.crossfire.jxclient.account.CharacterInformation
public class CharacterInformation
Information for one character for an account.
Field Summary | |
---|---|
private java.lang.String |
characterClass
The character's class. |
private java.lang.String |
face
The character's face. |
private int |
faceNumber
The character's face number. |
private int |
level
The character's level. |
private java.lang.String |
map
The character's map. |
private java.lang.String |
name
The character's name. |
private java.lang.String |
party
The character's party. |
private java.lang.String |
race
The character's race. |
Constructor Summary | |
---|---|
CharacterInformation(java.lang.String name,
java.lang.String characterClass,
java.lang.String race,
java.lang.String face,
java.lang.String party,
java.lang.String map,
int level,
int faceNumber)
Creates a new instance. |
Method Summary | |
---|---|
int |
compareTo(CharacterInformation o)
|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCharacterClass()
Returns the character's class. |
java.lang.String |
getFace()
Returns the character's face. |
int |
getFaceNumber()
Returns the character's face number. |
int |
getLevel()
Returns the character's level. |
java.lang.String |
getMap()
Returns the character's map. |
java.lang.String |
getName()
Returns the character's name. |
java.lang.String |
getParty()
Returns the character's party. |
java.lang.String |
getRace()
Returns the character's race. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
@NotNull private final java.lang.String characterClass
@NotNull private final java.lang.String face
private final int faceNumber
private final int level
@NotNull private final java.lang.String map
@NotNull private final java.lang.String name
@NotNull private final java.lang.String party
@NotNull private final java.lang.String race
Constructor Detail |
---|
public CharacterInformation(@NotNull java.lang.String name, @NotNull java.lang.String characterClass, @NotNull java.lang.String race, @NotNull java.lang.String face, @NotNull java.lang.String party, @NotNull java.lang.String map, int level, int faceNumber)
name
- the character's namecharacterClass
- the character's classrace
- the character's raceface
- the character's faceparty
- the character's partymap
- the character's maplevel
- the character's levelfaceNumber
- the character's face numberMethod Detail |
---|
public int compareTo(@NotNull CharacterInformation o)
compareTo
in interface java.lang.Comparable<CharacterInformation>
public boolean equals(@Nullable java.lang.Object obj)
equals
in class java.lang.Object
@NotNull public java.lang.String getCharacterClass()
@NotNull public java.lang.String getFace()
public int getFaceNumber()
public int getLevel()
@NotNull public java.lang.String getMap()
@NotNull public java.lang.String getName()
@NotNull public java.lang.String getParty()
@NotNull public java.lang.String getRace()
public int hashCode()
hashCode
in class java.lang.Object