Enum Class PlayerConfigHolder.SyncStatus
java.lang.Object
java.lang.Enum<PlayerConfigHolder.SyncStatus>
com.wildfire.common.entitydata.PlayerConfigHolder.SyncStatus
- All Implemented Interfaces:
Serializable, Comparable<PlayerConfigHolder.SyncStatus>, Constable
- Enclosing class:
PlayerConfigHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the relevant configuration has had its data loaded from a file on disk.Indicates that the relevant configuration has had its data loaded from a sync packet, or from a profile retrieved fromthe cloud sync server.Indicates that this configuration has an unknown sync state. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PlayerConfigHolder.SyncStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CACHED
Indicates that the relevant configuration has had its data loaded from a file on disk.
This is only applicable on a client, as dedicated servers do not read player data from configuration files.
-
SYNCED
Indicates that the relevant configuration has had its data loaded from a sync packet, or from a profile retrieved from
the cloud sync server.This is currently only set on the client.
-
UNKNOWN
Indicates that this configuration has an unknown sync state.
This is the default sync state for new configuration instances, and on dedicated servers is the only sync state.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-