DamageInfo bulletDamage = GetHitDamage(); int bulletDmg = bulletDamage.GetDamage();
DamageInfo enemyAttack = GetEnemyAttackDamage(); int enemyDmg = enemyAttack.GetDamage();Package Library: The package library that contains the DamageInfo class and GetDamage function may vary depending on the video game engine used. Examples of game engines that utilize a similar function include Unity, Unreal Engine, and CryEngine. Therefore, the package library cannot be determined without additional information.