Add DamagePopup, Target Entities, And Practice Laser Gun (#12317)

This commit is contained in:
ZeroDayDaemon
2022-11-05 11:32:00 -04:00
committed by GitHub
parent 364adb1b2c
commit 325ccc1c17
13 changed files with 288 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using Content.Server.Damage.Systems;
namespace Content.Server.Damage.Components;
[RegisterComponent, Access(typeof(DamagePopupSystem))]
public sealed class DamagePopupComponent : Component
{
/// <summary>
/// Enum that will be used to determine the type of damage popup displayed.
/// </summary>
[DataField("damagePopupType")] [ViewVariables(VVAccess.ReadWrite)]
public DamagePopupType Type = DamagePopupType.Combined;
}
public enum DamagePopupType
{
Combined,
Total,
Delta,
Hit,
};