2023-10-28 09:59:53 +11:00
|
|
|
using Robust.Shared.Player;
|
2022-08-07 08:00:42 +02:00
|
|
|
|
|
|
|
|
namespace Content.Server.Afk.Events;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Raised whenever a player goes afk.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ByRefEvent]
|
|
|
|
|
public readonly struct AFKEvent
|
|
|
|
|
{
|
2023-10-28 09:59:53 +11:00
|
|
|
public readonly ICommonSession Session;
|
2022-08-07 08:00:42 +02:00
|
|
|
|
2023-10-28 09:59:53 +11:00
|
|
|
public AFKEvent(ICommonSession playerSession)
|
2022-08-07 08:00:42 +02:00
|
|
|
{
|
|
|
|
|
Session = playerSession;
|
|
|
|
|
}
|
|
|
|
|
}
|