| 12345678910111213141516171819202122232425262728 |
- using Robust.Shared.GameStates;
- using Robust.Shared.Serialization;
- namespace Content.Shared.Actions;
- /// <summary>
- /// Used on action entities to define an action that triggers when targeting an entity coordinate.
- /// </summary>
- [RegisterComponent, NetworkedComponent]
- public sealed partial class WorldTargetActionComponent : BaseTargetActionComponent
- {
- public override BaseActionEvent? BaseEvent => Event;
- /// <summary>
- /// The local-event to raise when this action is performed.
- /// </summary>
- [DataField("event")]
- [NonSerialized]
- public WorldTargetActionEvent? Event;
- }
- [Serializable, NetSerializable]
- public sealed class WorldTargetActionComponentState : BaseActionComponentState
- {
- public WorldTargetActionComponentState(WorldTargetActionComponent component, IEntityManager entManager) : base(component, entManager)
- {
- }
- }
|