mirror of
https://github.com/Impostor/Impostor.git
synced 2026-10-20 01:46:11 +00:00
Add missing cosmetic methods to IInnerPlayerControl
This commit is contained in:
1 parent
e7b98f1842
commit
a448ece73e
1 file changed
+16
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user