mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-13 21:32:28 +00:00
Remove InfluxDB and add /api/v1/playerCount (#664)
* Add /playerCount api * Modify /playerCount api response * Remove all InfluxDB components
This commit is contained in:
parent
e93aea1977
commit
c8120b3388
9 changed files with 51 additions and 142 deletions
|
@ -0,0 +1,13 @@
|
|||
namespace LBPUnion.ProjectLighthouse.Servers.API.Responses;
|
||||
|
||||
public class PlayerCountObject
|
||||
{
|
||||
public string Game { get; set; } = "";
|
||||
public int PlayerCount { get; set; }
|
||||
}
|
||||
|
||||
public class PlayerCountResponse
|
||||
{
|
||||
public int TotalPlayerCount { get; set; }
|
||||
public List<PlayerCountObject> Games { get; set; } = new();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue