using Robust.Shared.Network; namespace Content.Server.BugReports; /// /// This event stores information related to a player submitted bug report. /// public sealed class ValidPlayerBugReportReceivedEvent(string title, string description, BugReportMetaData metaData, List tags) : EventArgs { /// /// Title for the bug report. This is player controlled! /// public string Title = title; /// /// Description for the bug report. This is player controlled! /// public string Description = description; /// /// Metadata for bug report, containing data collected by server. /// public BugReportMetaData MetaData = metaData; public List Tags = tags; } /// /// Metadata for a bug report. Holds relevant data for bug reports that aren't directly player controlled. /// public sealed class BugReportMetaData { /// /// Bug reporter SS14 username. /// /// piggylongsnout public required string Username; /// /// The GUID of the player who reported the bug. /// public required NetUserId PlayerGUID; /// /// Name of the server from which bug report was issued. /// /// DeltaV> public required string ServerName; /// /// Date and time on which player submitted report (NOT round time). /// The time is UTC and based off the servers clock. /// public required DateTime SubmittedTime; /// /// Time that has elapsed in the round. Can be null if bug was not reported during a round. /// public TimeSpan? RoundTime; /// /// Round number during which bug report was issued. Can be null if bug was reported not during round. /// /// 1311 public int? RoundNumber; /// /// Type preset title (type of round that is being played). Can be null if bug was reported not during round. /// /// Sandbox public string? RoundType; /// /// The map being played. /// /// "Dev"> public string? Map; /// /// Number of players currently on server. /// public int NumberOfPlayers; /// /// Build version of the game. /// public required string BuildVersion; /// /// Engine version of the game. /// /// 253.0.0 public required string EngineVersion; }