void OnInflictedDamage(InflictedDamageInfo info) { if (!this.isServer) { return; } this.TargetInflictedDamage(this.connectionToClient, info.damage, this.timeToDisplay, this.velocity); }
private void OnEarnedKill(InflictedDamageInfo info) { Player targetPlayer = info.player as Player; if (null == targetPlayer) { this.NumKills++; } else { if (m_player != targetPlayer) { this.NumKills++; } } }