mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
* Initial commit * more like bYE * Fix exception during test (cherry picked from commit bf06d0e869e78ae7f8ac51922a1e3f23bf59a39f)
28 lines
814 B
C#
28 lines
814 B
C#
namespace Content.Server.Traitor.Components;
|
|
|
|
/// <summary>
|
|
/// Paper with written traitor codewords on it.
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class TraitorCodePaperComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The number of codewords that should be generated on this paper.
|
|
/// Will not extend past the max number of available codewords.
|
|
/// </summary>
|
|
[DataField]
|
|
public int CodewordAmount = 1;
|
|
|
|
/// <summary>
|
|
/// Whether the codewords should be faked if there is no traitor gamerule set.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool FakeCodewords = true;
|
|
|
|
/// <summary>
|
|
/// Whether all codewords added to the round should be used. Overrides CodewordAmount if true.
|
|
/// </summary>
|
|
[DataField]
|
|
public bool CodewordShowAll = false;
|
|
}
|