public class EOS_Achievements_Interface
extends com.sun.jna.PointerType
| Constructor and Description |
|---|
EOS_Achievements_Interface() |
EOS_Achievements_Interface(com.sun.jna.Pointer address) |
public EOS_Achievements_Interface(com.sun.jna.Pointer address)
public EOS_Achievements_Interface()
public void queryDefinitions(EOS_Achievements_QueryDefinitionsOptions options, com.sun.jna.Pointer clientData, EOS_Achievements_OnQueryDefinitionsCompleteCallback completionDelegate)
When the Social Overlay is enabled then this will be called automatically. The Social Overlay is enabled by default (see EOS_Platform_Create_Flag.EOS_PF_DISABLE_SOCIAL_OVERLAY).
options - Structure containing information about the application whose achievement definitions we're retrieving.clientData - Arbitrary data that is passed back to you in the completionDelegatecompletionDelegate - This function is called when the query definitions operation completes.public int getAchievementDefinitionCount(EOS_Achievements_GetAchievementDefinitionCountOptions options)
options - The Options associated with retrieving the achievement definition countcopyAchievementDefinitionV2ByIndex(EOS_Achievements_CopyAchievementDefinitionV2ByIndexOptions)public EOS_Achievements_DefinitionV2 copyAchievementDefinitionV2ByIndex(EOS_Achievements_CopyAchievementDefinitionV2ByIndexOptions options) throws EOSException
options - Structure containing the index being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the achievement definition is not foundEOSInvalidProductUserIDException - if any of the userid options are incorrectEOSExceptionEOS_Achievements_DefinitionV2.release()public EOS_Achievements_DefinitionV2 copyAchievementDefinitionV2ByAchievementId(EOS_Achievements_CopyAchievementDefinitionV2ByAchievementIdOptions options) throws EOSException
options - Structure containing the achievement ID being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the achievement definition is not foundEOSInvalidProductUserIDException - if any of the userid options are incorrectEOSExceptionEOS_Achievements_DefinitionV2.release()public void queryPlayerAchievements(EOS_Achievements_QueryPlayerAchievementsOptions options, com.sun.jna.Pointer clientData, EOS_Achievements_OnQueryPlayerAchievementsCompleteCallback completionDelegate)
options - Structure containing information about the player whose achievements we're retrieving.clientData - Arbitrary data that is passed back to you in the completionDelegatecompletionDelegate - This function is called when the query player achievements operation completes.EOS_Platform_Create_Flag.EOS_PF_DISABLE_SOCIAL_OVERLAYpublic int getPlayerAchievementCount(EOS_Achievements_GetPlayerAchievementCountOptions options)
options - The Options associated with retrieving the player achievement countcopyPlayerAchievementByIndex(EOS_Achievements_CopyPlayerAchievementByIndexOptions)public EOS_Achievements_PlayerAchievement copyPlayerAchievementByIndex(EOS_Achievements_CopyPlayerAchievementByIndexOptions options) throws EOSException
options - Structure containing the Product User ID and index being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the player achievement is not foundEOSInvalidProductUserIDException - if you pass an invalid user IDEOSExceptionEOS_Achievements_PlayerAchievement.release()public EOS_Achievements_PlayerAchievement copyPlayerAchievementByAchievementId(EOS_Achievements_CopyPlayerAchievementByAchievementIdOptions options) throws EOSException
options - Structure containing the Product User ID and achievement ID being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the player achievement is not foundEOSInvalidProductUserIDException - if you pass an invalid user IDEOSExceptionEOS_Achievements_PlayerAchievement.release()public void unlockAchievements(EOS_Achievements_UnlockAchievementsOptions options, com.sun.jna.Pointer clientData, EOS_Achievements_OnUnlockAchievementsCompleteCallback completionDelegate)
options - Structure containing information about the achievements and the player whose achievements we're unlocking.clientData - Arbitrary data that is passed back to you in the completionDelegatecompletionDelegate - This function is called when the unlock achievements operation completes.public EOS_NotificationId addNotifyAchievementsUnlockedV2(EOS_Achievements_AddNotifyAchievementsUnlockedV2Options options, com.sun.jna.Pointer clientData, EOS_Achievements_OnAchievementsUnlockedCallbackV2 notificationFn)
options - Structure containing information about the achievement unlocked notificationclientData - Arbitrary data that is passed back to you in the completionDelegatenotificationFn - A callback that is fired when an achievement unlocked notification for a user has been receivedremoveNotifyAchievementsUnlocked(EOS_NotificationId)public void removeNotifyAchievementsUnlocked(EOS_NotificationId inId)
inId - Handle representing the registered callbackaddNotifyAchievementsUnlockedV2(EOS_Achievements_AddNotifyAchievementsUnlockedV2Options, Pointer, EOS_Achievements_OnAchievementsUnlockedCallbackV2)