@Structure.FieldOrder(value={"ApiVersion","AchievementId","UnlockedDisplayName","UnlockedDescription","LockedDisplayName","LockedDescription","FlavorText","UnlockedIconURL","LockedIconURL","IsHidden","StatThresholdsCount","StatThresholds"})
public class EOS_Achievements_DefinitionV2
extends com.sun.jna.Structure
implements java.lang.AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Achievements_DefinitionV2.ByReference |
static class |
EOS_Achievements_DefinitionV2.ByValue |
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
AchievementId
Achievement ID that can be used to uniquely identify the achievement.
|
int |
ApiVersion
API Version: Set this to
EOS_ACHIEVEMENTS_DEFINITIONV2_API_LATEST. |
static int |
EOS_ACHIEVEMENTS_DEFINITIONV2_API_LATEST
The most recent version of the EOS_Achievements_DefinitionV2 struct.
|
java.lang.String |
FlavorText
Localized flavor text that can be used by the game in an arbitrary manner.
|
EOS_Bool |
IsHidden
EOS_Bool.EOS_TRUE if the achievement is hidden; EOS_Bool.EOS_FALSE otherwise. |
java.lang.String |
LockedDescription
Localized description for the achievement when it is locked or hidden.
|
java.lang.String |
LockedDisplayName
Localized display name for the achievement when it is locked or hidden.
|
java.lang.String |
LockedIconURL
URL of an icon to display for the achievement when it is locked or hidden.
|
EOS_Achievements_StatThresholds.ByReference[] |
StatThresholds
Array of `EOS_Achievements_StatThresholds` that need to be satisfied to unlock this achievement.
|
int |
StatThresholdsCount
The number of stat thresholds used to monitor progress towards this achievement.
|
java.lang.String |
UnlockedDescription
Localized description for the achievement when it has been unlocked.
|
java.lang.String |
UnlockedDisplayName
Localized display name for the achievement when it has been unlocked.
|
java.lang.String |
UnlockedIconURL
URL of an icon to display for the achievement when it is unlocked.
|
| Constructor and Description |
|---|
EOS_Achievements_DefinitionV2() |
EOS_Achievements_DefinitionV2(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
release()
Release the memory associated with EOS_Achievements_DefinitionV2.
|
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_DEFINITIONV2_API_LATEST
public int ApiVersion
EOS_ACHIEVEMENTS_DEFINITIONV2_API_LATEST.public java.lang.String AchievementId
public java.lang.String UnlockedDisplayName
public java.lang.String UnlockedDescription
public java.lang.String LockedDisplayName
public java.lang.String LockedDescription
public java.lang.String FlavorText
public java.lang.String UnlockedIconURL
public java.lang.String LockedIconURL
public EOS_Bool IsHidden
EOS_Bool.EOS_TRUE if the achievement is hidden; EOS_Bool.EOS_FALSE otherwise.public int StatThresholdsCount
public EOS_Achievements_StatThresholds.ByReference[] StatThresholds
public EOS_Achievements_DefinitionV2()
public EOS_Achievements_DefinitionV2(com.sun.jna.Pointer peer)
public void release()
EOS_Achievements_DefinitionV2,
EOS_Achievements_Interface.copyAchievementDefinitionV2ByIndex(EOS_Achievements_CopyAchievementDefinitionV2ByIndexOptions),
EOS_Achievements_Interface.copyAchievementDefinitionV2ByAchievementId(EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdOptions)public void close()
throws java.lang.Exception
close in interface java.lang.AutoCloseablejava.lang.Exception