mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
21 lines
669 B
C#
21 lines
669 B
C#
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Input;
|
|
using Robust.Shared.Serialization.Manager.Attributes;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Robust.Client.GameObjects
|
|
{
|
|
/// <summary>
|
|
/// Defines data fields used in the <see cref="InputSystem"/>.
|
|
/// </summary>
|
|
public sealed class InputComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The context that will be made active for a client that attaches to this entity.
|
|
/// </summary>
|
|
[ViewVariables(VVAccess.ReadWrite)]
|
|
[DataField("context")]
|
|
public string ContextName { get; set; } = InputContextContainer.DefaultContextName;
|
|
}
|
|
}
|