mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
22 lines
701 B
C#
22 lines
701 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>
|
|
[RegisterComponent]
|
|
public sealed partial 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;
|
|
}
|
|
}
|