Class CharacterInformation

java.lang.Object
com.realtime.crossfire.jxclient.account.CharacterInformation
All Implemented Interfaces:
Comparable<CharacterInformation>

public class CharacterInformation extends Object implements Comparable<CharacterInformation>
Information for one character for an account.
  • 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 name
      characterClass - the character's class
      race - the character's race
      face - the character's face
      party - the character's party
      map - the character's map
      level - the character's level
      faceNumber - the character's face number
  • Method Details

    • getName

      @NotNull public @NotNull String getName()
      Returns the character's name.
      Returns:
      the name
    • getCharacterClass

      @NotNull public @NotNull String getCharacterClass()
      Returns the character's class.
      Returns:
      the class
    • getRace

      @NotNull public @NotNull String getRace()
      Returns the character's race.
      Returns:
      the race
    • getFace

      @NotNull public @NotNull String getFace()
      Returns the character's face.
      Returns:
      the face
    • getParty

      @NotNull public @NotNull String getParty()
      Returns the character's party.
      Returns:
      the party
    • getMap

      @NotNull public @NotNull String 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

      public int compareTo(@NotNull @NotNull CharacterInformation o)
      Specified by:
      compareTo in interface Comparable<CharacterInformation>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable @Nullable Object obj)
      Overrides:
      equals in class Object
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object