Class EOS_Stats_Stat

java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.stats.EOS_Stats_Stat
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
EOS_Stats_Stat.ByReference, EOS_Stats_Stat.ByValue

@FieldOrder({"ApiVersion","Name","StartTime","EndTime","Value"}) public class EOS_Stats_Stat extends com.sun.jna.Structure implements AutoCloseable
Contains information about a single player stat.
Since:
8/31/2023
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     

    Nested classes/interfaces inherited from class com.sun.jna.Structure

    com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    API Version: Set this to EOS_STATS_STAT_API_LATEST.
    long
    If not EOS_STATS_TIME_UNDEFINED then this is the POSIX timestamp for end time.
    static final int
    The most recent version of the EOS_Stats_Stat struct.
    static final int
    Timestamp value representing an undefined StartTime or EndTime for EOS_Stats_Stat
    Name of the stat.
    long
    If not EOS_STATS_TIME_UNDEFINED then this is the POSIX timestamp for start time.
    int
    Current value for the stat.

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EOS_Stats_Stat(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     

    Methods inherited from class com.sun.jna.Structure

    allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • EOS_STATS_STAT_API_LATEST

      public static final int EOS_STATS_STAT_API_LATEST
      The most recent version of the EOS_Stats_Stat struct.
      See Also:
    • EOS_STATS_TIME_UNDEFINED

      public static final int EOS_STATS_TIME_UNDEFINED
      Timestamp value representing an undefined StartTime or EndTime for EOS_Stats_Stat
      See Also:
    • ApiVersion

      public int ApiVersion
      API Version: Set this to EOS_STATS_STAT_API_LATEST.
    • Name

      public String Name
      Name of the stat.
    • StartTime

      public long StartTime
      If not EOS_STATS_TIME_UNDEFINED then this is the POSIX timestamp for start time.
    • EndTime

      public long EndTime
      If not EOS_STATS_TIME_UNDEFINED then this is the POSIX timestamp for end time.
    • Value

      public int Value
      Current value for the stat.
  • Constructor Details

    • EOS_Stats_Stat

      public EOS_Stats_Stat()
    • EOS_Stats_Stat

      public EOS_Stats_Stat(com.sun.jna.Pointer peer)
  • Method Details