@Structure.FieldOrder(value={"ApiVersion","VictimPlayerHandle","VictimPlayerPosition","VictimPlayerViewRotation","AttackerPlayerHandle","AttackerPlayerPosition","AttackerPlayerViewRotation","IsHitscanAttack","HasLineOfSight","IsCriticalHit","HitBoneId_DEPRECATED","DamageTaken","HealthRemaining","DamageSource","DamageType","DamageResult","PlayerUseWeaponData","TimeSincePlayerUseWeaponMs","DamagePosition","AttackerPlayerViewPosition"})
public class EOS_AntiCheatCommon_LogPlayerTakeDamageOptions
extends com.sun.jna.Structure
EOSLibrary.EOS_AntiCheatServer_LogPlayerTakeDamage(host.anzo.eossdk.eos.sdk.EOS_AntiCheatServer_Interface, host.anzo.eossdk.eos.sdk.anticheat.common.options.EOS_AntiCheatCommon_LogPlayerTakeDamageOptions) function.| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_AntiCheatCommon_LogPlayerTakeDamageOptions.ByReference |
static class |
EOS_AntiCheatCommon_LogPlayerTakeDamageOptions.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_ANTICHEATCOMMON_LOGPLAYERTAKEDAMAGE_API_LATEST. |
EOS_AntiCheatCommon_ClientHandle |
AttackerPlayerHandle
Locally unique value used in RegisterClient/RegisterPeer if applicable, otherwise 0.
|
EOS_AntiCheatCommon_Vec3f.ByReference |
AttackerPlayerPosition
Attacker player character's world position as a 3D vector if applicable, otherwise NULL.
|
EOS_AntiCheatCommon_Vec3f.ByReference |
AttackerPlayerViewPosition
Attacker player camera's world position as a 3D vector if applicable, otherwise NULL
|
EOS_AntiCheatCommon_Quat.ByReference |
AttackerPlayerViewRotation
Attacker player camera's world rotation as a quaternion if applicable, otherwise NULL.
|
EOS_AntiCheatCommon_Vec3f.ByReference |
DamagePosition
World position where damage hit the victim as a 3D vector if available, otherwise NULL
|
EOS_EAntiCheatCommonPlayerTakeDamageResult |
DamageResult
Result of the damage for the victim, if any
|
EOS_EAntiCheatCommonPlayerTakeDamageSource |
DamageSource
Source of the damage event
|
float |
DamageTaken
Number of health points that the victim lost due to this damage event
|
EOS_EAntiCheatCommonPlayerTakeDamageType |
DamageType
Type of the damage being applied
|
static int |
EOS_ANTICHEATCOMMON_LOGPLAYERTAKEDAMAGE_API_LATEST
The most recent version of the EOS_AntiCheatCommon_LogPlayerTakeDamageOptions struct.
|
int |
HasLineOfSight
True if there is a visible line of sight between the attacker and the victim at the time
that damage is being applied, false if there is an obstacle like a wall or terrain in
the way.
|
float |
HealthRemaining
Number of health points that the victim has remaining after this damage event
|
int |
HitBoneId_DEPRECATED
Deprecated - use DamagePosition instead
|
EOS_Bool |
IsCriticalHit
EOS_Bool.EOS_TRUE if this was a critical hit that causes extra damage (e.g. headshot) |
EOS_Bool |
IsHitscanAttack
EOS_Bool.EOS_TRUE if the damage was applied instantly at the time of attack from the game
simulation's perspective, otherwise EOS_Bool.EOS_FALSE (simulated ballistics, arrow, etc). |
EOS_AntiCheatCommon_LogPlayerUseWeaponData.ByReference |
PlayerUseWeaponData
PlayerUseWeaponData associated with this damage event if available, otherwise NULL
|
int |
TimeSincePlayerUseWeaponMs
Time in milliseconds since the associated PlayerUseWeaponData event occurred if available, otherwise 0
|
EOS_AntiCheatCommon_ClientHandle |
VictimPlayerHandle
Locally unique value used in RegisterClient/RegisterPeer
|
EOS_AntiCheatCommon_Vec3f.ByReference |
VictimPlayerPosition
Victim player character's world position as a 3D vector.
|
EOS_AntiCheatCommon_Quat.ByReference |
VictimPlayerViewRotation
Victim player camera's world rotation as a quaternion.
|
| Constructor and Description |
|---|
EOS_AntiCheatCommon_LogPlayerTakeDamageOptions() |
EOS_AntiCheatCommon_LogPlayerTakeDamageOptions(com.sun.jna.Pointer peer) |
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeFieldpublic static int EOS_ANTICHEATCOMMON_LOGPLAYERTAKEDAMAGE_API_LATEST
public int ApiVersion
EOS_ANTICHEATCOMMON_LOGPLAYERTAKEDAMAGE_API_LATEST.public EOS_AntiCheatCommon_ClientHandle VictimPlayerHandle
public EOS_AntiCheatCommon_Vec3f.ByReference VictimPlayerPosition
public EOS_AntiCheatCommon_Quat.ByReference VictimPlayerViewRotation
public EOS_AntiCheatCommon_ClientHandle AttackerPlayerHandle
public EOS_AntiCheatCommon_Vec3f.ByReference AttackerPlayerPosition
public EOS_AntiCheatCommon_Quat.ByReference AttackerPlayerViewRotation
public EOS_Bool IsHitscanAttack
EOS_Bool.EOS_TRUE if the damage was applied instantly at the time of attack from the game
simulation's perspective, otherwise EOS_Bool.EOS_FALSE (simulated ballistics, arrow, etc).public int HasLineOfSight
This can be an estimate, or can simply be always set to true if it is not feasible to compute in your game.
public EOS_Bool IsCriticalHit
EOS_Bool.EOS_TRUE if this was a critical hit that causes extra damage (e.g. headshot)public int HitBoneId_DEPRECATED
public float DamageTaken
public float HealthRemaining
public EOS_EAntiCheatCommonPlayerTakeDamageSource DamageSource
public EOS_EAntiCheatCommonPlayerTakeDamageType DamageType
public EOS_EAntiCheatCommonPlayerTakeDamageResult DamageResult
public EOS_AntiCheatCommon_LogPlayerUseWeaponData.ByReference PlayerUseWeaponData
public int TimeSincePlayerUseWeaponMs
public EOS_AntiCheatCommon_Vec3f.ByReference DamagePosition
public EOS_AntiCheatCommon_Vec3f.ByReference AttackerPlayerViewPosition