Show / Hide Table of Contents

Class SharedIdCardSystem

Inheritance
System.Object
SharedIdCardSystem
IdCardSystem
IdCardSystem
Namespace: Content.Shared.Access.Systems
Assembly: Content.Shared.dll
Syntax
public abstract class SharedIdCardSystem : EntitySystem

Methods

| Improve this Doc View Source

TryFindIdCard(EntityUid, out IdCardComponent)

Attempt to find an ID card on an entity. This will look in the entity itself, in the entity's hands, and in the entity's inventory.

Declaration
public bool TryFindIdCard(EntityUid uid, out IdCardComponent idCard)
Parameters
Type Name Description
EntityUid uid
IdCardComponent idCard
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryGetIdCard(EntityUid, out IdCardComponent)

Attempt to get an id card component from an entity, either by getting it directly from the entity, or by getting the contained id from a PdaComponent.

Declaration
public bool TryGetIdCard(EntityUid uid, out IdCardComponent idCard)
Parameters
Type Name Description
EntityUid uid
IdCardComponent idCard
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾