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

public static enum PlayerConfigHolder.SyncStatus extends Enum<PlayerConfigHolder.SyncStatus>
  • Enum Constant Details

    • CACHED

      public static final PlayerConfigHolder.SyncStatus 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

      public static final PlayerConfigHolder.SyncStatus 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

      public static final PlayerConfigHolder.SyncStatus 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

      public static PlayerConfigHolder.SyncStatus[] 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

      public static PlayerConfigHolder.SyncStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null