#[repr(C)]pub struct _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData {
pub PlayerHandle: EOS_AntiCheatCommon_ClientHandle,
pub PlayerPosition: *mut EOS_AntiCheatCommon_Vec3f,
pub PlayerViewRotation: *mut EOS_AntiCheatCommon_Quat,
pub bIsPlayerViewZoomed: EOS_Bool,
pub bIsMeleeAttack: EOS_Bool,
pub WeaponName: *const c_char,
}Expand description
Log Player Use Weapon Data.
Fields§
§PlayerHandle: EOS_AntiCheatCommon_ClientHandleLocally unique value used in RegisterClient/RegisterPeer
PlayerPosition: *mut EOS_AntiCheatCommon_Vec3fAttack origin world position as a 3D vector
PlayerViewRotation: *mut EOS_AntiCheatCommon_QuatAttack direction as a quaternion
bIsPlayerViewZoomed: EOS_BoolTrue if the player’s view is zoomed (e.g. using a sniper rifle), otherwise false
bIsMeleeAttack: EOS_BoolSet to true if the player is using a melee attack, otherwise false
WeaponName: *const c_charName of the weapon used. Will be truncated to EOS_ANTICHEATCOMMON_LOGPLAYERUSEWEAPON_WEAPONNAME_MAX_LENGTH bytes if longer.
Trait Implementations§
Source§impl Clone for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
impl Clone for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
Source§fn clone(&self) -> _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
fn clone(&self) -> _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
Auto Trait Implementations§
impl Freeze for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
impl RefUnwindSafe for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
impl !Send for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
impl !Sync for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
impl Unpin for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
impl UnsafeUnpin for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
impl UnwindSafe for _tagEOS_AntiCheatCommon_LogPlayerUseWeaponData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more