Show / Hide Table of Contents

Class CanAttackFromContainerEvent

Raised directed at an entity to check if they can attack while inside of a container.

Inheritance
System.Object
CanAttackFromContainerEvent
Namespace: Content.Shared.Interaction.Events
Assembly: Content.Shared.dll
Syntax
public sealed class CanAttackFromContainerEvent : EntityEventArgs

Constructors

| Improve this Doc View Source

CanAttackFromContainerEvent(EntityUid, Nullable<EntityUid>)

Declaration
public CanAttackFromContainerEvent(EntityUid uid, EntityUid? target = null)
Parameters
Type Name Description
EntityUid uid
System.Nullable<EntityUid> target

Fields

| Improve this Doc View Source

CanAttack

Declaration
public bool CanAttack
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Target

Declaration
public EntityUid? Target
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

Uid

Declaration
public EntityUid Uid
Field Value
Type Description
EntityUid
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾