Class IdCardSystem
Inheritance
System.Object
IdCardSystem
Assembly: Content.Server.dll
Syntax
public sealed class IdCardSystem : SharedIdCardSystem
Methods
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
|
Improve this Doc
View Source
TryChangeFullName(EntityUid, Nullable<String>, IdCardComponent, Nullable<EntityUid>)
Attempts to change the full name of a card.
Returns true/false.
Declaration
public bool TryChangeFullName(EntityUid uid, string? fullName, IdCardComponent id = null, EntityUid? player = null)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
System.Nullable<System.String> |
fullName |
|
IdCardComponent |
id |
|
System.Nullable<EntityUid> |
player |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryChangeJobIcon(EntityUid, StatusIconPrototype, IdCardComponent, Nullable<EntityUid>)
Declaration
public bool TryChangeJobIcon(EntityUid uid, StatusIconPrototype jobIcon, IdCardComponent id = null, EntityUid? player = null)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
TryChangeJobTitle(EntityUid, Nullable<String>, IdCardComponent, Nullable<EntityUid>)
Attempts to change the job title of a card.
Returns true/false.
Declaration
public bool TryChangeJobTitle(EntityUid uid, string? jobTitle, IdCardComponent id = null, EntityUid? player = null)
Parameters
Type |
Name |
Description |
EntityUid |
uid |
|
System.Nullable<System.String> |
jobTitle |
|
IdCardComponent |
id |
|
System.Nullable<EntityUid> |
player |
|
Returns
Type |
Description |
System.Boolean |
|