From 130978577efc04204e9a9db9da329e3e13e75833 Mon Sep 17 00:00:00 2001 From: danbudworthmead Date: Sun, 1 Nov 2020 23:46:10 +0000 Subject: [PATCH] Update IInnerPlayerControl.cs --- .../Net/Inner/Objects/IInnerPlayerControl.cs | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) 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(); } } -- 2.39.5