public class EOS_Stats_Interface
extends com.sun.jna.PointerType
EOS_Platform_Interface.getStatsInterface()| Constructor and Description |
|---|
EOS_Stats_Interface() |
EOS_Stats_Interface(com.sun.jna.Pointer address) |
| Modifier and Type | Method and Description |
|---|---|
EOS_Stats_Stat |
copyStatByIndex(EOS_Stats_CopyStatByIndexOptions options)
Fetches a stat from a given index.
|
EOS_Stats_Stat |
copyStatByName(EOS_Stats_CopyStatByNameOptions options)
Fetches a stat from cached stats by name.
|
int |
getStatsCount(EOS_Stats_GetStatCountOptions options)
Fetch the number of stats that are cached locally.
|
void |
ingestStat(EOS_Stats_IngestStatOptions options,
com.sun.jna.Pointer clientData,
EOS_Stats_OnIngestStatCompleteCallback completionDelegate)
Ingest a stat by the amount specified in Options.
|
void |
queryStats(EOS_Stats_QueryStatsOptions options,
com.sun.jna.Pointer clientData,
EOS_Stats_OnQueryStatsCompleteCallback completionDelegate)
Query for a list of stats for a specific player.
|
public EOS_Stats_Interface(com.sun.jna.Pointer address)
public EOS_Stats_Interface()
public void ingestStat(EOS_Stats_IngestStatOptions options, com.sun.jna.Pointer clientData, EOS_Stats_OnIngestStatCompleteCallback completionDelegate)
options - Structure containing information about the stat we're ingesting.clientData - Arbitrary data that is passed back to you in the completionDelegate.completionDelegate - This function is called when the ingest stat operation completes.public void queryStats(EOS_Stats_QueryStatsOptions options, com.sun.jna.Pointer clientData, EOS_Stats_OnQueryStatsCompleteCallback completionDelegate)
options - Structure containing information about the player whose stats we're retrieving.clientData - Arbitrary data that is passed back to you in the completionDelegatecompletionDelegate - This function is called when the query player stats operation completes.public int getStatsCount(EOS_Stats_GetStatCountOptions options)
options - The Options associated with retrieving the stat countcopyStatByIndex(EOS_Stats_CopyStatByIndexOptions),
copyStatByName(EOS_Stats_CopyStatByNameOptions)public EOS_Stats_Stat copyStatByIndex(EOS_Stats_CopyStatByIndexOptions 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 stat is not foundEOSExceptionEOS_Stats_Stat.release()public EOS_Stats_Stat copyStatByName(EOS_Stats_CopyStatByNameOptions options) throws EOSException
options - Structure containing the Product User ID and name being accessedEOSInvalidParametersException - if you pass a null pointer for the out parameterEOSNotFoundException - if the stat is not foundEOSExceptionEOS_Stats_Stat.release()