EOS API reference page for EOS_AntiCheatServer_LogPlayerUseWeapon

1 min to read

This function is part of the AntiCheatServer Interface.


Optional Cerberus feature for gameplay data collection. Logs that a player has used a weapon, for example firing one bullet or making one melee attack. This function may only be called between a successful call to EOS_AntiCheatServer_BeginSession and the matching EOS_AntiCheatServer_EndSession call.

Return Value

  • EOS_Success - If the event was logged successfully

  • EOS_InvalidParameters - If input data was invalid

  • EOS_NotConfigured - If called outside of BeginSession/EndSession boundaries



Parameter Type And NameUsage Information
EOS_HAntiCheatServer Handle
const EOS_AntiCheatCommon_LogPlayerUseWeaponOptions* OptionsStructure containing input data.
  • EOS_EResult