Class EOS_Leaderboards_LeaderboardUserScore
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.leaderboards.EOS_Leaderboards_LeaderboardUserScore
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_Leaderboards_LeaderboardUserScore.ByReference,EOS_Leaderboards_LeaderboardUserScore.ByValue
@FieldOrder({"ApiVersion","UserId","Score"})
public class EOS_Leaderboards_LeaderboardUserScore
extends com.sun.jna.Structure
implements AutoCloseable
Contains information about a single leaderboard user score
- Since:
- 8/21/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 toEOS_LEADERBOARDS_LEADERBOARDUSERSCORE_API_LATEST.static final intThe most recent version of the EOS_Leaderboards_LeaderboardUserScore struct.intLeaderboard scoreThe Product User ID of the user who got this scoreFields 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_LEADERBOARDUSERSCORE_API_LATEST
public static final int EOS_LEADERBOARDS_LEADERBOARDUSERSCORE_API_LATESTThe most recent version of the EOS_Leaderboards_LeaderboardUserScore struct.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_LEADERBOARDS_LEADERBOARDUSERSCORE_API_LATEST. -
UserId
The Product User ID of the user who got this score -
Score
public int ScoreLeaderboard score
-
-
Constructor Details
-
EOS_Leaderboards_LeaderboardUserScore
public EOS_Leaderboards_LeaderboardUserScore() -
EOS_Leaderboards_LeaderboardUserScore
public EOS_Leaderboards_LeaderboardUserScore(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release()Release the memory associated with leaderboard user score. This must be called on data retrieved from EOS_Leaderboards_CopyLeaderboardUserScoreByIndex or EOS_Leaderboards_CopyLeaderboardUserScoreByUserId. -
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-