* Split codewords into its own system * Fix admin log * Nuke unused code * Fix formatting errors * Fix tests * Make the codeword system add itself if called when not active * Put comment in right place. * Review: Rename prototypes * Review: Make codewords serializable * Fix build * Reviews: Change the system to not be a gamerule. * Fix YAML Linter * Fix test fail * Remove unused import
15 lines
354 B
C#
15 lines
354 B
C#
namespace Content.Server.Codewords;
|
|
|
|
/// <summary>
|
|
/// Container for generated codewords.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(CodewordSystem))]
|
|
public sealed partial class CodewordComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The codewords that were generated.
|
|
/// </summary>
|
|
[DataField]
|
|
public string[] Codewords = [];
|
|
}
|