From: danbudworthmead Date: Sun, 1 Nov 2020 23:46:10 +0000 (+0000) Subject: Update IInnerPlayerControl.cs X-Git-Tag: v1.2.2~45^2~1 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=130978577efc04204e9a9db9da329e3e13e75833;p=rhonda%2Fimpostor.git Update IInnerPlayerControl.cs --- diff --git a/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs b/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs index cc24b31..b1c1ae6 100644 --- a/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs +++ b/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Impostor.Api.Innersloth.Customization; namespace Impostor.Api.Net.Inner.Objects @@ -74,5 +74,27 @@ namespace Impostor.Api.Net.Inner.Objects /// The message to send. /// Task that must be awaited. ValueTask SendChatAsync(string text); + + /// + /// Send a chat message as the current . + /// Visible to only the current. + /// + /// The message to send. + /// Task that must be awaited. + ValueTask SendChatToPlayerAsync(string text); + + /// + /// Sets the current to infected (impostor) . + /// Visible to all players. + /// + /// Task that must be awaited. + ValueTask SetInfectedAsync(); + + /// + /// Sets the current to be murdered . + /// Visible to all players. + /// + /// Task that must be awaited. + ValueTask SetMurderedAsync(); } }