@Structure.FieldOrder(value={"ApiVersion","AchievementId","Progress","UnlockTime","StatInfoCount","StatInfo","DisplayName","Description","IconURL","FlavorText"})
public class EOS_Achievements_PlayerAchievement
extends com.sun.jna.Structure
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Achievements_PlayerAchievement.ByReference |
static class |
EOS_Achievements_PlayerAchievement.ByValue |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
AchievementId
This achievement's unique identifier.
|
int |
ApiVersion
API Version: Set this to
EOS_ACHIEVEMENTS_PLAYERACHIEVEMENT_API_LATEST. |
java.lang.String |
Description
Localized description for the achievement based on this specific player's current progress on the achievement.
|
java.lang.String |
DisplayName
Localized display name for the achievement based on this specific player's current progress on the achievement.
|
static int |
EOS_ACHIEVEMENTS_ACHIEVEMENT_UNLOCKTIME_UNDEFINED
Timestamp value representing an undefined UnlockTime for EOS_Achievements_PlayerAchievement
|
static int |
EOS_ACHIEVEMENTS_PLAYERACHIEVEMENT_API_LATEST
The most recent version of the EOS_Achievements_PlayerAchievement struct.
|
java.lang.String |
FlavorText
Localized flavor text that can be used by the game in an arbitrary manner.
|
java.lang.String |
IconURL
URL of an icon to display for the achievement based on this specific player's current progress on the achievement.
|
double |
Progress
Progress towards completing this achievement (as a percentage).
|
EOS_Achievements_PlayerStatInfo.ByReference[] |
StatInfo
Array of EOS_Achievements_PlayerStatInfo structures containing information about stat thresholds used to unlock the achievement and the player's current values for those stats.
|
int |
StatInfoCount
The number of player stat info entries associated with this achievement.
|
long |
UnlockTime
The POSIX timestamp when the achievement was unlocked.
|
| Constructor and Description |
|---|
EOS_Achievements_PlayerAchievement() |
EOS_Achievements_PlayerAchievement(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
release()
Release the memory associated with a player achievement.
|
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, writeFieldpublic static final int EOS_ACHIEVEMENTS_ACHIEVEMENT_UNLOCKTIME_UNDEFINED
public static final int EOS_ACHIEVEMENTS_PLAYERACHIEVEMENT_API_LATEST
public int ApiVersion
EOS_ACHIEVEMENTS_PLAYERACHIEVEMENT_API_LATEST.public java.lang.String AchievementId
public double Progress
public long UnlockTime
EOS_ACHIEVEMENTS_ACHIEVEMENT_UNLOCKTIME_UNDEFINED.public int StatInfoCount
public EOS_Achievements_PlayerStatInfo.ByReference[] StatInfo
public java.lang.String DisplayName
public java.lang.String Description
public java.lang.String IconURL
public java.lang.String FlavorText
public EOS_Achievements_PlayerAchievement()
public EOS_Achievements_PlayerAchievement(com.sun.jna.Pointer peer)
public void release()
public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception