Class CharacterInformation
java.lang.Object
com.realtime.crossfire.jxclient.account.CharacterInformation
- All Implemented Interfaces:
Comparable<CharacterInformation>
Information for one character for an account.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(@NotNull CharacterInformation o) boolean@NotNull StringReturns the character's class.@NotNull StringgetFace()Returns the character's face.intReturns the character's face number.intgetLevel()Returns the character's level.@NotNull StringgetMap()Returns the character's map.@NotNull StringgetName()Returns the character's name.@NotNull StringgetParty()Returns the character's party.@NotNull StringgetRace()Returns the character's race.inthashCode()@NotNull StringtoString()
-
Constructor Details
-
CharacterInformation
public CharacterInformation(@NotNull @NotNull String name, @NotNull @NotNull String characterClass, @NotNull @NotNull String race, @NotNull @NotNull String face, @NotNull @NotNull String party, @NotNull @NotNull String map, int level, int faceNumber) Creates a new instance.- Parameters:
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 number
-
-
Method Details
-
getName
Returns the character's name.- Returns:
- the name
-
getCharacterClass
Returns the character's class.- Returns:
- the class
-
getRace
Returns the character's race.- Returns:
- the race
-
getFace
Returns the character's face.- Returns:
- the face
-
getParty
Returns the character's party.- Returns:
- the party
-
getMap
Returns the character's map.- Returns:
- the map
-
getLevel
public int getLevel()Returns the character's level.- Returns:
- the level
-
getFaceNumber
public int getFaceNumber()Returns the character's face number.- Returns:
- the face num ber
-
compareTo
- Specified by:
compareToin interfaceComparable<CharacterInformation>
-
hashCode
public int hashCode() -
equals
-
toString
-