Class SharedIdCardSystem
Inheritance
System.Object
SharedIdCardSystem
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
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
Returns
Type |
Description |
System.Boolean |
|