public class SettingsEntries
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SettingsEntry<java.lang.Boolean> |
MESSAGE_LOG_SETTINGS_ENTRY
Whether to record of all text messages received from the server.
|
static SettingsEntry<java.lang.String> |
SERVER
The server to which the previous connection was made.
|
Modifier | Constructor and Description |
---|---|
private |
SettingsEntries()
Private constructor to prevent instantiation.
|
Modifier and Type | Method and Description |
---|---|
static SettingsEntry<java.lang.String> |
getLoginAccountSettingsEntry(java.lang.String hostname)
Returns the
SettingsEntry for the default account name on a
server. |
static SettingsEntry<java.lang.String> |
getLoginAccountSettingsEntry(java.lang.String hostname,
java.lang.String accountName)
Returns the
SettingsEntry for the default character name on an
account. |
static SettingsEntry<java.lang.Long> |
getPickupSettingsEntry(java.lang.String hostname,
java.lang.String characterName)
Returns the
SettingsEntry for the default pickup mode of a
character. |
static SettingsEntry<java.lang.String> |
getPlayerSettingsEntry(java.lang.String hostname)
Returns the
SettingsEntry for the default character name on a
server. |
@NotNull public static final SettingsEntry<java.lang.Boolean> MESSAGE_LOG_SETTINGS_ENTRY
@NotNull public static final SettingsEntry<java.lang.String> SERVER
private SettingsEntries()
@NotNull public static SettingsEntry<java.lang.String> getLoginAccountSettingsEntry(@NotNull java.lang.String hostname)
SettingsEntry
for the default account name on a
server.hostname
- the hostname of the server@NotNull public static SettingsEntry<java.lang.String> getLoginAccountSettingsEntry(@NotNull java.lang.String hostname, @NotNull java.lang.String accountName)
SettingsEntry
for the default character name on an
account.hostname
- the hostname of the serveraccountName
- the name of the account@NotNull public static SettingsEntry<java.lang.Long> getPickupSettingsEntry(@NotNull java.lang.String hostname, @NotNull java.lang.String characterName)
SettingsEntry
for the default pickup mode of a
character.hostname
- the hostname of the servercharacterName
- the name of the character@NotNull public static SettingsEntry<java.lang.String> getPlayerSettingsEntry(@NotNull java.lang.String hostname)
SettingsEntry
for the default character name on a
server.hostname
- the hostname of the server