Interface CrossfireAccountListener

All Superinterfaces:
EventListener

public interface CrossfireAccountListener extends EventListener
Interface for listeners interested in account information related messages received from the Crossfire server.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addAccount(@NotNull CharacterInformation characterInformation)
    Information about a character in an account was received.
    void
    endAccountList(int count)
    End of character information for an account.
    void
    Client should display the account management dialog.
    void
    selectCharacter(@NotNull String accountName, @NotNull String characterName)
    A character name was sent to the server.
    void
    startAccountList(@NotNull String accountName)
    Starting to receive information for the list of characters in an account.
    void
    The client should switch to playing mode.
  • Method Details

    • manageAccount

      void manageAccount()
      Client should display the account management dialog.
    • startAccountList

      void startAccountList(@NotNull @NotNull String accountName)
      Starting to receive information for the list of characters in an account.
      Parameters:
      accountName - the account name
    • addAccount

      void addAccount(@NotNull @NotNull CharacterInformation characterInformation)
      Information about a character in an account was received.
      Parameters:
      characterInformation - the account information
    • endAccountList

      void endAccountList(int count)
      End of character information for an account.
      Parameters:
      count - how many characters the account has
    • startPlaying

      void startPlaying()
      The client should switch to playing mode.
    • selectCharacter

      void selectCharacter(@NotNull @NotNull String accountName, @NotNull @NotNull String characterName)
      A character name was sent to the server.
      Parameters:
      accountName - the account name
      characterName - the character name