mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 15:39:01 -07:00
28 lines
630 B
C#
28 lines
630 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace RadicadeServer.API.Rooms.Earnings.V1
|
|
{
|
|
[Route("api/roomEarningsDistributions/v1")]
|
|
[Route("econ/api/roomEarningsDistributions/v1")]
|
|
public class RoomEarningsAPI : Controller
|
|
{
|
|
[HttpGet("earningsDistribution/{roomId}")]
|
|
public IActionResult GetEarningsDistribution(long roomId)
|
|
{
|
|
|
|
return Ok(new
|
|
{
|
|
RoomId = roomId,
|
|
CurrencyId = string.Empty,
|
|
TotalEarnings = 0,
|
|
TotalSpent = 0,
|
|
UnclaimedEarnings = 0,
|
|
LifetimeEarnings = 0,
|
|
IsAffiliatedWithCreator = false,
|
|
LastPaidAt = (string?)null,
|
|
Distributions = Array.Empty<object>()
|
|
});
|
|
}
|
|
}
|
|
}
|