H.O.N.K. mech (#14670)
Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -67,6 +67,21 @@ public sealed class MechGrabberEjectMessage : MechEquipmentUiMessage
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Event raised for the soundboard equipment to play a sound from its component
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class MechSoundboardPlayMessage : MechEquipmentUiMessage
|
||||
{
|
||||
public int Sound;
|
||||
|
||||
public MechSoundboardPlayMessage(EntityUid equipment, int sound)
|
||||
{
|
||||
Equipment = equipment;
|
||||
Sound = sound;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// BUI state for mechs that also contains all equipment ui states.
|
||||
/// </summary>
|
||||
@@ -100,3 +115,12 @@ public sealed class MechGrabberUiState : BoundUserInterfaceState
|
||||
public List<EntityUid> Contents = new();
|
||||
public int MaxContents;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// List of sound collection ids to be localized and displayed.
|
||||
/// </summary>
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class MechSoundboardUiState : BoundUserInterfaceState
|
||||
{
|
||||
public List<string> Sounds = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user