Battle Talent  V11
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CrossLink.HitProtector Class Reference

Public Member Functions

void UpdateHitRecord (RagdollHitInfo hInfo)
 
void ForgetHitRecord (RagdollHitInfo hInfo)
 
bool IsGlobalHitedLately (float cdTime=StandardProtectInterval)
 
void MarkHited ()
 
bool IsHitProtect (RagdollHitInfo hInfo, float cdTime=StandardProtectInterval)
 
float GetHitTime (RagdollHitInfo hi)
 
float GetHitRecordTime (RagdollHitInfo hi)
 

Static Public Member Functions

static void ClearHitInfo ()
 

Public Attributes

float latestHitTime = -100
 

Static Public Attributes

const float LongProtectInterval = 0.3f
 
const float StandardProtectInterval = 0.24f
 
const float FlyObjProtectInterval = 0.001f