Crossfire JXClient, Trunk
|
Static Public Member Functions | |
static SettingsEntry< String > | getLoginAccountSettingsEntry (@NotNull final String hostname) |
static SettingsEntry< String > | getLoginAccountSettingsEntry (@NotNull final String hostname, @NotNull final String accountName) |
static SettingsEntry< Long > | getPickupSettingsEntry (@NotNull final String hostname, @NotNull final String characterName) |
static SettingsEntry< String > | getPlayerSettingsEntry (@NotNull final String hostname) |
Static Public Attributes | |
static final SettingsEntry< Boolean > | MESSAGE_LOG_SETTINGS_ENTRY = new SettingsEntry<>("messagelog", false, "Whether to record all text messages into a file.") |
static final SettingsEntry< String > | SERVER = new SettingsEntry<>("server", "crossfire.metalforge.net", "The server last connected to.") |
Private Member Functions | |
SettingsEntries () | |
All defined entries in the settings file.
Definition at line 32 of file SettingsEntries.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 49 of file SettingsEntries.java.
|
static |
Returns the SettingsEntry for the default account name on a server.
hostname | the hostname of the server |
Definition at line 70 of file SettingsEntries.java.
Referenced by com.realtime.crossfire.jxclient.window.GuiManager.openDialog(), com.realtime.crossfire.jxclient.window.GuiManager.selectCharacter(), and com.realtime.crossfire.jxclient.window.GuiManager.setAccountName().
|
static |
Returns the SettingsEntry for the default character name on an account.
hostname | the hostname of the server |
accountName | the name of the account |
Definition at line 82 of file SettingsEntries.java.
|
static |
Returns the SettingsEntry for the default pickup mode of a character.
hostname | the hostname of the server |
characterName | the name of the character |
Definition at line 94 of file SettingsEntries.java.
References com.realtime.crossfire.jxclient.settings.options.Pickup.PU_NOTHING.
Referenced by com.realtime.crossfire.jxclient.window.JXCConnection.setCharacter().
|
static |
Returns the SettingsEntry for the default character name on a server.
hostname | the hostname of the server |
Definition at line 59 of file SettingsEntries.java.
Referenced by com.realtime.crossfire.jxclient.window.GuiManager.openQueryDialog(), and com.realtime.crossfire.jxclient.window.GuiManager.updatePlayerName().
|
static |
Whether to record of all text messages received from the server.
Definition at line 44 of file SettingsEntries.java.
Referenced by com.realtime.crossfire.jxclient.main.JXClient.JXClient().
|
static |
The server to which the previous connection was made.
Definition at line 38 of file SettingsEntries.java.
Referenced by com.realtime.crossfire.jxclient.window.GuiManager.activateMetaserverGui(), and com.realtime.crossfire.jxclient.window.JXCConnection.setHost().