blob: 0798d40b94a6daa2f40dc9119dfa9acc1abb00d6 (
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
|
using Impostor.Api.Events.Player;
using Impostor.Api.Games;
using Impostor.Api.Innersloth;
using Impostor.Api.Net;
using Impostor.Api.Net.Inner.Objects;
namespace Impostor.Server.Events.Player
{
public class PlayerVentEvent : IPlayerVentEvent
{
public PlayerVentEvent(IGame game, IClientPlayer sender, IInnerPlayerControl innerPlayerPhysics, VentLocation ventId, bool ventEnter)
{
Game = game;
ClientPlayer = sender;
PlayerControl = innerPlayerPhysics;
VentId = ventId;
VentEnter = ventEnter;
}
public IGame Game { get; }
public IClientPlayer ClientPlayer { get; }
public IInnerPlayerControl PlayerControl { get; }
public VentLocation VentId { get; }
public bool VentEnter { get; }
}
}
|