blob: 6cb33024afd6837bc1abc79408fc51d9b2daa1b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
using System;
using System.Collections.Generic;
using Impostor.Api.Innersloth;
namespace Impostor.Api.Net.Inner.Objects
{
public interface IInnerPlayerInfo
{
/// <summary>
/// Gets the name of the player as decided by the host.
/// </summary>
string PlayerName { get; }
/// <summary>
/// Gets the color of the player.
/// </summary>
byte ColorId { get; }
/// <summary>
/// Gets the hat of the player.
/// </summary>
uint HatId { get; }
/// <summary>
/// Gets the pet of the player.
/// </summary>
uint PetId { get; }
/// <summary>
/// Gets the skin of the player.
/// </summary>
uint SkinId { get; }
/// <summary>
/// Gets a value indicating whether the player is an impostor.
/// </summary>
bool IsImpostor { get; }
/// <summary>
/// Gets a value indicating whether the player is a dead in the current game.
/// </summary>
bool IsDead { get; }
/// <summary>
/// Gets the reason why the player is dead in the current game.
/// </summary>
DeathReason LastDeathReason { get; }
IEnumerable<ITaskInfo> Tasks { get; }
DateTimeOffset LastMurder { get; }
}
}
|