From e9ea621b93fbb58d9edfca8375918791637bbd52 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 30 Dec 2020 20:59:04 +0800 Subject: +init --- .../Net/Inner/Objects/IInnerPlayerInfo.cs | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Impostor-dev/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs (limited to 'Impostor-dev/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs') diff --git a/Impostor-dev/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs b/Impostor-dev/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs new file mode 100644 index 0000000..6cb3302 --- /dev/null +++ b/Impostor-dev/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs @@ -0,0 +1,53 @@ +using System; +using System.Collections.Generic; +using Impostor.Api.Innersloth; + +namespace Impostor.Api.Net.Inner.Objects +{ + public interface IInnerPlayerInfo + { + /// + /// Gets the name of the player as decided by the host. + /// + string PlayerName { get; } + + /// + /// Gets the color of the player. + /// + byte ColorId { get; } + + /// + /// Gets the hat of the player. + /// + uint HatId { get; } + + /// + /// Gets the pet of the player. + /// + uint PetId { get; } + + /// + /// Gets the skin of the player. + /// + uint SkinId { get; } + + /// + /// Gets a value indicating whether the player is an impostor. + /// + bool IsImpostor { get; } + + /// + /// Gets a value indicating whether the player is a dead in the current game. + /// + bool IsDead { get; } + + /// + /// Gets the reason why the player is dead in the current game. + /// + DeathReason LastDeathReason { get; } + + IEnumerable Tasks { get; } + + DateTimeOffset LastMurder { get; } + } +} -- cgit v1.1-26-g67d0