Interface CrossfireAccountListener
- All Superinterfaces:
EventListener
Interface for listeners interested in account information related messages
received from the Crossfire server.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAccount(@NotNull CharacterInformation characterInformation) Information about a character in an account was received.voidendAccountList(int count) End of character information for an account.voidClient should display the account management dialog.voidselectCharacter(@NotNull String accountName, @NotNull String characterName) A character name was sent to the server.voidstartAccountList(@NotNull String accountName) Starting to receive information for the list of characters in an account.voidThe client should switch to playing mode.
-
Method Details
-
manageAccount
void manageAccount()Client should display the account management dialog. -
startAccountList
Starting to receive information for the list of characters in an account.- Parameters:
accountName- the account name
-
addAccount
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
A character name was sent to the server.- Parameters:
accountName- the account namecharacterName- the character name
-