Package host.anzo.eossdk.eos.sdk.stats
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 ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this to EOS_STATS_STAT_API_LATEST.longIf notEOS_STATS_TIME_UNDEFINEDthen this is the POSIX timestamp for end time.static final intThe most recent version of the EOS_Stats_Stat struct.static final intTimestamp value representing an undefined StartTime or EndTime for EOS_Stats_StatName of the stat.longIf notEOS_STATS_TIME_UNDEFINEDthen this is the POSIX timestamp for start time.intCurrent 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 -
Method Summary
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
-
Field Details
-
EOS_STATS_STAT_API_LATEST
public static final int EOS_STATS_STAT_API_LATESTThe most recent version of the EOS_Stats_Stat struct.- See Also:
-
EOS_STATS_TIME_UNDEFINED
public static final int EOS_STATS_TIME_UNDEFINEDTimestamp value representing an undefined StartTime or EndTime for EOS_Stats_Stat- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_STATS_STAT_API_LATEST. -
Name
Name of the stat. -
StartTime
public long StartTimeIf notEOS_STATS_TIME_UNDEFINEDthen this is the POSIX timestamp for start time. -
EndTime
public long EndTimeIf notEOS_STATS_TIME_UNDEFINEDthen this is the POSIX timestamp for end time. -
Value
public int ValueCurrent 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
-
release
public void release() -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-