This function is part of the Sanctions Interface.
Copies an active player sanction. You must call QueryActivePlayerSanctions first to retrieve the data from the service backend. On success, EOS_Sanctions_PlayerSanction_Release must be called on OutSanction to free memory.
EOS_Success if the information is available and passed out in OutSanction
EOS_InvalidParameters if you pass a null pointer for the out parameter
EOS_NotFound if the player achievement is not found
|Parameter Type And Name||Usage Information|
|const EOS_Sanctions_CopyPlayerSanctionByIndexOptions* Options||Structure containing the input parameters|
|EOS_Sanctions_PlayerSanction** OutSanction||The player sanction 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.