Choose your implementation method:
This function is part of the Stats Interface.
Fetches a stat from a given index. Use EOS_Stats_Stat_Release when finished with the data.
Return Value
EOS_Success if the information is available and passed out in OutStat
EOS_InvalidParameters if you pass a null pointer for the out parameter
EOS_NotFound if the stat is not found
See Also
EOS_Stats_Stat_Release
Parameters
EOS_Stats_CopyStatByIndex
Parameter Type And Name
|
Usage Information
|
EOS_HStats Handle
|
|
const EOS_Stats_CopyStatByIndexOptions* Options
|
Structure containing the Product User ID and index being accessed
|
EOS_Stats_Stat** OutStat
|
The stat data for the given index, if it exists and is valid
|
If successful, this function provides data to the caller through an output parameter. Once you are finished with the data, you must release it by making the appropriate call into the EOS SDK.
This function is part of the Stats Interface.
Fetches a stat from a given index. Use {Release} when finished with the data.
{Result.InvalidParameters} if you pass a null pointer for the out parameter
{Result.NotFound} if the stat is not found
Return Value
{Result.Success} if the information is available and passed out in OutStat
See Also
{Release}
Parameters
Stats.StatsInterface.CopyStatByIndex
Parameter Type And Name
|
Usage Information
|
CopyStatByIndexOptions options
|
Structure containing the Product User ID and index being accessed
|
Stat outStat
|
The stat data for the given index, if it exists and is valid
|
If successful, this function provides data to the caller through an output parameter. The EOS SDK will automatically handle releasing the data when your code no longer holds any reference to it; you do not need to call a "Release" function.
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no