mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-02 00:57:26 +00:00
* Auto label port * Make it so it works/comments * Post review changes. * Post review change part two. * review pt 3 * Fixed client UI from not getting updated. --------- Co-authored-by: Vanessa <vanessalouwagie@gmail.com>
23 lines
646 B
C#
23 lines
646 B
C#
namespace Content.Server.Chemistry.Components;
|
|
|
|
/// <summary>
|
|
/// Frontier - Extends ReagentDispenserComponent.
|
|
///
|
|
/// Used primarily for the auto-labeling functionality.
|
|
/// </summary>
|
|
public sealed partial class ReagentDispenserComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// Returns if the component's entity has the ability to auto-label.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool CanAutoLabel = true;
|
|
|
|
/// <summary>
|
|
/// Returns if the entity has auto-labeling toggled on.
|
|
/// Will have no effect if <see cref="CanAutoLabel"/> is false.
|
|
/// </summary>
|
|
[ViewVariables]
|
|
public bool AutoLabelToggle = true;
|
|
}
|