Skip to main content

EOS_AntiCheatCommon_LogPlayerUseWeaponData

Type Alias EOS_AntiCheatCommon_LogPlayerUseWeaponData 

Source
pub type EOS_AntiCheatCommon_LogPlayerUseWeaponData = _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData;
Expand description

Log Player Use Weapon Data.

Aliased Type§

#[repr(C)]
pub struct EOS_AntiCheatCommon_LogPlayerUseWeaponData { pub PlayerHandle: *mut c_void, pub PlayerPosition: *mut _tagEOS_AntiCheatCommon_Vec3f, pub PlayerViewRotation: *mut _tagEOS_AntiCheatCommon_Quat, pub bIsPlayerViewZoomed: i32, pub bIsMeleeAttack: i32, pub WeaponName: *const i8, }

Fields§

§PlayerHandle: *mut c_void

Locally unique value used in RegisterClient/RegisterPeer

§PlayerPosition: *mut _tagEOS_AntiCheatCommon_Vec3f

Attack origin world position as a 3D vector

§PlayerViewRotation: *mut _tagEOS_AntiCheatCommon_Quat

Attack direction as a quaternion

§bIsPlayerViewZoomed: i32

True if the player’s view is zoomed (e.g. using a sniper rifle), otherwise false

§bIsMeleeAttack: i32

Set to true if the player is using a melee attack, otherwise false

§WeaponName: *const i8

Name of the weapon used. Will be truncated to EOS_ANTICHEATCOMMON_LOGPLAYERUSEWEAPON_WEAPONNAME_MAX_LENGTH bytes if longer.