]> git.deb.at Git - rhonda/impostor.git/commitdiff
Update IInnerPlayerControl.cs
authordanbudworthmead <danbudworthmead@gmail.com>
Sun, 1 Nov 2020 23:46:10 +0000 (23:46 +0000)
committerdanbudworthmead <danbudworthmead@gmail.com>
Sun, 1 Nov 2020 23:46:10 +0000 (23:46 +0000)
src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs

index cc24b31374ab1aac9ef53a9ba0f16d8252cda460..b1c1ae68b6b4ee8e2186a28fc64ba37e0c764ba3 100644 (file)
@@ -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
         /// <param name="text">The message to send.</param>
         /// <returns>Task that must be awaited.</returns>
         ValueTask SendChatAsync(string text);
+
+        /// <summary>
+        ///     Send a chat message as the current <see cref="IInnerPlayerControl"/>.
+        ///     Visible to only the current.
+        /// </summary>
+        /// <param name="text">The message to send.</param>
+        /// <returns>Task that must be awaited.</returns>
+        ValueTask SendChatToPlayerAsync(string text);
+
+        /// <summary>
+        ///     Sets the current to infected (impostor) <see cref="IInnerPlayerControl"/>.
+        ///     Visible to all players.
+        /// </summary>
+        /// <returns>Task that must be awaited.</returns>
+        ValueTask SetInfectedAsync();
+
+        /// <summary>
+        ///     Sets the current to be murdered <see cref="IInnerPlayerControl"/>.
+        ///     Visible to all players.
+        /// </summary>
+        /// <returns>Task that must be awaited.</returns>
+        ValueTask SetMurderedAsync();
     }
 }