Enum Class EOS_EAttributeType

java.lang.Object
java.lang.Enum<EOS_EAttributeType>
host.anzo.eossdk.eos.sdk.common.enums.EOS_EAttributeType
All Implemented Interfaces:
com.sun.jna.NativeMapped, Serializable, Comparable<EOS_EAttributeType>, Constable

public enum EOS_EAttributeType extends Enum<EOS_EAttributeType> implements com.sun.jna.NativeMapped
Supported types of data that can be stored with inside an attribute (used by sessions/lobbies/etc)
Since:
8/5/2023
See Also:
  • Enum Constant Details

    • EOS_AT_BOOLEAN

      public static final EOS_EAttributeType EOS_AT_BOOLEAN
      Boolean value (true/false)
    • EOS_AT_INT64

      public static final EOS_EAttributeType EOS_AT_INT64
      64 bit integers
    • EOS_AT_DOUBLE

      public static final EOS_EAttributeType EOS_AT_DOUBLE
      Double/floating point precision
    • EOS_AT_STRING

      public static final EOS_EAttributeType EOS_AT_STRING
      UTF8 Strings
  • Method Details

    • values

      public static EOS_EAttributeType[] 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 EOS_EAttributeType 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
    • fromNative

      public Object fromNative(Object nativeValue, com.sun.jna.FromNativeContext context)
      Specified by:
      fromNative in interface com.sun.jna.NativeMapped
    • toNative

      public Object toNative()
      Specified by:
      toNative in interface com.sun.jna.NativeMapped
    • nativeType

      public Class<?> nativeType()
      Specified by:
      nativeType in interface com.sun.jna.NativeMapped