@@ -1,6 +1,6 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using Content.Shared.Voting;
|
||||
using Robust.Shared.Player;
|
||||
using Robust.Server.Player;
|
||||
|
||||
namespace Content.Server.Voting.Managers
|
||||
{
|
||||
@@ -41,7 +41,7 @@ namespace Content.Server.Voting.Managers
|
||||
/// True if <paramref name="initiator"/> can start votes right now,
|
||||
/// and if provided if they can start votes of type <paramref name="voteType"/>.
|
||||
/// </returns>
|
||||
bool CanCallVote(ICommonSession initiator, StandardVoteType? voteType = null);
|
||||
bool CanCallVote(IPlayerSession initiator, StandardVoteType? voteType = null);
|
||||
|
||||
/// <summary>
|
||||
/// Initiate a standard vote such as restart round, that can be initiated by players.
|
||||
@@ -51,7 +51,7 @@ namespace Content.Server.Voting.Managers
|
||||
/// If null it is assumed to be an automatic vote by the server.
|
||||
/// </param>
|
||||
/// <param name="voteType">The type of standard vote to make.</param>
|
||||
void CreateStandardVote(ICommonSession? initiator, StandardVoteType voteType);
|
||||
void CreateStandardVote(IPlayerSession? initiator, StandardVoteType voteType);
|
||||
|
||||
/// <summary>
|
||||
/// Create a non-standard vote with special parameters.
|
||||
|
||||
Reference in New Issue
Block a user