Class EOS_Leaderboards_Definition
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.leaderboards.EOS_Leaderboards_Definition
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_Leaderboards_Definition.ByReference
,EOS_Leaderboards_Definition.ByValue
@FieldOrder({"ApiVersion","LeaderboardId","StatName","Aggregation","StartTime","EndTime"})
public class EOS_Leaderboards_Definition
extends com.sun.jna.Structure
implements AutoCloseable
Contains information about a single leaderboard definition
- Since:
- 8/21/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic 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
FieldsModifier and TypeFieldDescriptionAggregation used to sort leaderboard.int
API Version: Set this toEOS_LEADERBOARDS_DEFINITION_API_LATEST
.long
The POSIX timestamp for the end time, orEOS_Leaderboards_QueryLeaderboardDefinitionsOptions.EOS_LEADERBOARDS_TIME_UNDEFINED
.static final int
The most recent version of the EOS_Leaderboards_Definition struct.Unique ID to identify leaderboard.long
The POSIX timestamp for the start time, orEOS_Leaderboards_QueryLeaderboardDefinitionsOptions.EOS_LEADERBOARDS_TIME_UNDEFINED
.Name of stat used to rank leaderboard.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_LEADERBOARDS_DEFINITION_API_LATEST
public static final int EOS_LEADERBOARDS_DEFINITION_API_LATESTThe most recent version of the EOS_Leaderboards_Definition struct.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_LEADERBOARDS_DEFINITION_API_LATEST
. -
LeaderboardId
Unique ID to identify leaderboard. -
StatName
Name of stat used to rank leaderboard. -
Aggregation
Aggregation used to sort leaderboard. -
StartTime
public long StartTimeThe POSIX timestamp for the start time, orEOS_Leaderboards_QueryLeaderboardDefinitionsOptions.EOS_LEADERBOARDS_TIME_UNDEFINED
. -
EndTime
public long EndTimeThe POSIX timestamp for the end time, orEOS_Leaderboards_QueryLeaderboardDefinitionsOptions.EOS_LEADERBOARDS_TIME_UNDEFINED
.
-
-
Constructor Details
-
EOS_Leaderboards_Definition
public EOS_Leaderboards_Definition() -
EOS_Leaderboards_Definition
public EOS_Leaderboards_Definition(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release()Release the memory associated with leaderboard record. This must be called on data retrieved from EOS_Leaderboards_CopyLeaderboardRecordByIndex or EOS_Leaderboards_CopyLeaderboardRecordByUserId. -
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-