Show / Hide Table of Contents

Class IdCardSystem

Inheritance
System.Object
SharedIdCardSystem
IdCardSystem
Namespace: Content.Server.Access.Systems
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
Remarks

If provided with a player's EntityUid to the player parameter, adds the change to the admin logs.

| 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
Type Name Description
EntityUid uid
StatusIconPrototype jobIcon
IdCardComponent id
System.Nullable<EntityUid> player
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
Remarks

If provided with a player's EntityUid to the player parameter, adds the change to the admin logs.

  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾