Class EncryptionKeySystem
Inheritance
System.Object
EncryptionKeySystem
Namespace: Content.Shared.Radio.EntitySystems
Assembly: Content.Shared.dll
Syntax
public sealed class EncryptionKeySystem : EntitySystem
Methods
| Improve this Doc View SourceAddChannelsExamine(HashSet<String>, Nullable<String>, ExaminedEvent, IPrototypeManager, String)
A method for formating list of radio channels for examine events.
Declaration
public void AddChannelsExamine(HashSet<string> channels, string? defaultChannel, ExaminedEvent examineEvent, IPrototypeManager protoManager, string channelFTLPattern)
Parameters
Type | Name | Description |
---|---|---|
HashSet<System.String> | channels | HashSet of channels in headset, encryptionkey or etc. |
System.Nullable<System.String> | defaultChannel | |
ExaminedEvent | examineEvent | |
Robust.Shared.Prototypes.IPrototypeManager | protoManager | IPrototypeManager for getting prototypes of channels with their variables. |
System.String | channelFTLPattern | String that provide id of pattern in .ftl files to format channel with variables of it. |
Initialize()
Declaration
public override void Initialize()
UpdateChannels(EntityUid, EncryptionKeyHolderComponent)
Declaration
public void UpdateChannels(EntityUid uid, EncryptionKeyHolderComponent component)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
EncryptionKeyHolderComponent | component |