committed by
Pieter-Jan Briers
parent
415ac8fa46
commit
364279e0f7
@@ -0,0 +1,54 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.GameObjects.Components.UserInterface;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components.Medical
|
||||
{
|
||||
public class SharedMedicalScannerComponent : Component
|
||||
{
|
||||
public override string Name => "MedicalScanner";
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class MedicalScannerBoundUserInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public readonly int CurrentHealth;
|
||||
public readonly int MaxHealth;
|
||||
public readonly Dictionary<string, int> DamageDictionary;
|
||||
|
||||
public MedicalScannerBoundUserInterfaceState(
|
||||
int currentHealth,
|
||||
int maxHealth,
|
||||
Dictionary<string, int> damageDictionary)
|
||||
{
|
||||
CurrentHealth = currentHealth;
|
||||
MaxHealth = maxHealth;
|
||||
DamageDictionary = damageDictionary;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum MedicalScannerUiKey
|
||||
{
|
||||
Key
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum MedicalScannerVisuals
|
||||
{
|
||||
Status
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public enum MedicalScannerStatus
|
||||
{
|
||||
Off,
|
||||
Open,
|
||||
Red,
|
||||
Death,
|
||||
Green,
|
||||
Yellow,
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user