1
0

StorageVoiceControlComponent.cs 656 B

12345678910111213141516171819
  1. using Content.Shared.Inventory;
  2. namespace Content.Server.VoiceTrigger;
  3. /// <summary>
  4. /// Entities with this component, Containers, and TriggerOnVoiceComponent will insert any item or extract the spoken item after the TriggerOnVoiceComponent has been activated
  5. /// </summary>
  6. [RegisterComponent]
  7. public sealed partial class StorageVoiceControlComponent : Component
  8. {
  9. /// <summary>
  10. /// Used to determine which slots the component can be used in.
  11. /// <remarks>
  12. /// If not set, the component can be used anywhere, even while inside other containers.
  13. /// </remarks>
  14. /// </summary>
  15. [DataField]
  16. public SlotFlags? AllowedSlots;
  17. }