mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-27 07:59:03 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
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>()
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user