Add Votekick functionality (#32005)

This commit is contained in:
SlamBamActionman
2024-09-26 18:32:13 +02:00
committed by GitHub
parent 4491550a5e
commit eeadc75b0a
20 changed files with 1009 additions and 164 deletions

View File

@@ -1,23 +1,37 @@
namespace Content.Shared.Voting
namespace Content.Shared.Voting;
/// <summary>
/// Standard vote types that players can initiate themselves from the escape menu.
/// </summary>
public enum StandardVoteType : byte
{
/// <summary>
/// Standard vote types that players can initiate themselves from the escape menu.
/// Vote to restart the round.
/// </summary>
public enum StandardVoteType : byte
{
/// <summary>
/// Vote to restart the round.
/// </summary>
Restart,
Restart,
/// <summary>
/// Vote to change the game preset for next round.
/// </summary>
Preset,
/// <summary>
/// Vote to change the game preset for next round.
/// </summary>
Preset,
/// <summary>
/// Vote to change the map for the next round.
/// </summary>
Map
}
/// <summary>
/// Vote to change the map for the next round.
/// </summary>
Map,
/// <summary>
/// Vote to kick a player.
/// </summary>
Votekick
}
/// <summary>
/// Reasons available to initiate a votekick.
/// </summary>
public enum VotekickReasonType : byte
{
Raiding,
Cheating,
Spam
}