Enum Class SyncStatus
- All Implemented Interfaces:
Serializable, Comparable<SyncStatus>, Constable
Enum denoting the current sync status of a
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 on the logical client a profile retrieved fromthe cloud sync server.Indicates that this configuration has an unknown sync state. -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncStatusReturns the enum constant of this class with the specified name.static 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 for configurations loaded on the logical client, as the logical server (dedicated or otherwise) does not read player data from disk.
-
SYNCED
Indicates that the relevant configuration has had its data loaded from a sync packet, or on the logical client a profile retrieved fromthe cloud sync server. -
UNKNOWN
Indicates that this configuration has an unknown sync state.
This is the default sync state for new configuration instances.
-
-
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
-