mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-16 10:11:28 +00:00
* Start of reorganization and cleanup * Remove duplicate title id * Refactor types * Fix Release building * Move classes in /Types to a Types namespace * Fix compilation error (RoomVisualizerPage strikes again) * Fix bugs created from auto merge * Fix auto-merge compilation error * Changes from review/fix failed merge
20 lines
No EOL
607 B
C#
20 lines
No EOL
607 B
C#
#nullable enable
|
|
|
|
namespace LBPUnion.ProjectLighthouse.Servers.Website.Types;
|
|
|
|
public struct AdminPanelStatistic
|
|
{
|
|
public AdminPanelStatistic(string statisticNamePlural, int count, string? viewAllEndpoint = null, int? secondStatistic = null)
|
|
{
|
|
this.StatisticNamePlural = statisticNamePlural;
|
|
this.Count = count;
|
|
this.SecondStatistic = secondStatistic;
|
|
this.ViewAllEndpoint = viewAllEndpoint;
|
|
}
|
|
|
|
public readonly string StatisticNamePlural;
|
|
public readonly int Count;
|
|
public readonly int? SecondStatistic;
|
|
|
|
public readonly string? ViewAllEndpoint;
|
|
} |