EOS_AntiCheatCommon_LogPlayerUseWeaponData

EOS API reference page for EOS_AntiCheatCommon_LogPlayerUseWeaponData

阅读时间少于1分钟

Properties

EOS_AntiCheatCommon_LogPlayerUseWeaponData

PropertyValue
EOS_AntiCheatCommon_ClientHandle PlayerHandleLocally unique value used in RegisterClient/RegisterPeer
EOS_AntiCheatCommon_Vec3f* PlayerPositionAttack origin world position as a 3D vector
EOS_AntiCheatCommon_Quat* PlayerViewRotationAttack direction as a quaternion
EOS_Bool bIsPlayerViewZoomedTrue if the player's view is zoomed (e.g. using a sniper rifle), otherwise false
EOS_Bool bIsMeleeAttackSet to true if the player is using a melee attack, otherwise false
const char* WeaponNameName of the weapon used. Will be truncated to EOS_ANTICHEATCOMMON_LOGPLAYERUSEWEAPON_WEAPONNAME_MAX_LENGTH bytes if longer.