Add Votekick functionality (#32005)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user