Track Admin Game Time (#24945)
* AdminTime tracked * Attempts to fix PR issues. * Admin afk logic update
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user