Track Admin Game Time (#24945)

* AdminTime tracked

* Attempts to fix PR issues.

* Admin afk logic update
This commit is contained in:
Repo
2024-05-02 18:23:22 +12:00
committed by GitHub
parent 889b578e56
commit 17304068b4
2 changed files with 27 additions and 1 deletions

View File

@@ -1,9 +1,18 @@
namespace Content.Shared.Players.PlayTimeTracking;
using Content.Shared.Dataset;
namespace Content.Shared.Players.PlayTimeTracking;
public static class PlayTimeTrackingShared
{
/// <summary>
/// The prototype ID of the play time tracker that represents overall playtime, i.e. not tied to any one role.
/// </summary>
[ValidatePrototypeId<PlayTimeTrackerPrototype>]
public const string TrackerOverall = "Overall";
/// <summary>
/// The prototype ID of the play time tracker that represents admin time, when a player is in game as admin.
/// </summary>
[ValidatePrototypeId<PlayTimeTrackerPrototype>]
public const string TrackerAdmin = "Admin";
}