]> git.deb.at Git - rhonda/impostor.git/commitdiff
Add missing cosmetic methods to IInnerPlayerControl
authorChipmunk <65827213+ChipmunkMC@users.noreply.github.com>
Mon, 20 Jan 2025 02:30:40 +0000 (21:30 -0500)
committerminiduikboot <mini@duikbo.at>
Sun, 26 Jan 2025 16:58:42 +0000 (17:58 +0100)
src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs

index 9f10fd5149933671c9ff41c47a9f0f016657b6a0..3cf9eaf1aaa6ab2949d9ac07ab2585ca8d0a08f1 100644 (file)
@@ -70,6 +70,22 @@ namespace Impostor.Api.Net.Inner.Objects
         /// <returns>Task that must be awaited.</returns>
         ValueTask SetSkinAsync(string skinId);
 
+        /// <summary>
+        ///     Sets the visor of the current <see cref="IInnerPlayerControl" />.
+        ///     Visible to all players.
+        /// </summary>
+        /// <param name="visorId">A visor for the player.</param>
+        /// <returns>Task that must be awaited.</returns>
+        ValueTask SetVisorAsync(string visorId);
+
+        /// <summary>
+        ///     Sets the nameplate of the current <see cref="IInnerPlayerControl" />.
+        ///     Visible to all players.
+        /// </summary>
+        /// <param name="nameplateId">A nameplate for the player.</param>
+        /// <returns>Task that must be awaited.</returns>
+        ValueTask SetNamePlateAsync(string nameplateId);
+
         /// <summary>
         ///     Send a chat message as the current <see cref="IInnerPlayerControl" />.
         ///     Visible to all players.