EOS_AntiCheatClient_PollStatus

EOS API reference page for EOS_AntiCheatClient_PollStatus

2 分で読めます

This function is part of the AntiCheatClient Interface.

Remarks

Polls for changes in client integrity status. Mode: All The purpose of this function is to allow the game to display information about anti-cheat integrity problems to the user. These are often the result of a corrupt game installation rather than cheating attempts. This function does not check for violations, it only provides information about violations which have automatically been discovered by the anti-cheat client. Such a violation may occur at any time and afterwards the user will be unable to join any protected multiplayer session until after restarting the game. Note that this function returns EOS_NotFound when everything is normal and there is no violation to display. NOTE: This API is deprecated. In order to get client status updates, use AddNotifyClientIntegrityViolated to register a callback that will be called when violations are triggered.

Return Value

  • EOS_Success - If violation information was returned successfully

  • EOS_LimitExceeded - If OutMessage is too small to receive the message string. Call again with a larger OutMessage.

  • EOS_NotFound - If no violation has occurred since the last call

Parameters

EOS_AntiCheatClient_PollStatus

Parameter Type And NameUsage Information
EOS_HAntiCheatClient Handle
const EOS_AntiCheatClient_PollStatusOptions* OptionsStructure containing input data.
EOS_EAntiCheatClientViolationType* OutViolationTypeOn success, receives a code describing the violation that occurred.
char* OutMessageOn success, receives a string describing the violation which should be displayed to the user.