/// <summary> /// Checks the timestamp against current time less lifetime of damagedetails FA /// If the details expired null is returned. /// </summary> /// <param name="lsec"></param> /// <returns>damage</returns> public Damage GetDamageDetails(int lsec) { if (DamageDetails != null && DamageDetails.TimeStamp < TimerBase.CurrentTimeStamp() - lsec ) return DamageDetails; DamageDetails = null; return null; }
public CombatInfo() { HoldingOurFlag = null; HoldingEnemyFlag = null; HoldingOurFlagPlayerInfo = null; HoldingEnemyFlagPlayerInfo = null; ProjectileDetails = null; DamageDetails = null; KeepFocusOnID = null; KeepFocusOnLocation = null; }