mirror of
https://github.com/TbT480jcspy/Deluxe-2023-Server-Code.git
synced 2026-09-08 14:41:26 -07:00
43 lines
974 B
C#
43 lines
974 B
C#
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace DeluxeNET.Controllers
|
|
{
|
|
[Route("api/[controller]")]
|
|
[ApiController]
|
|
public class customAvatarItemsController : ControllerBase
|
|
{
|
|
[HttpGet("v1/isCreationAllowedForAccount")]
|
|
public IActionResult caf()
|
|
{
|
|
return Ok(new
|
|
{
|
|
success = true,
|
|
value = ""
|
|
});
|
|
}
|
|
|
|
[HttpGet("v1/isRenderingEnabled")]
|
|
public IActionResult ire()
|
|
{
|
|
return Ok(true);
|
|
}
|
|
|
|
[HttpGet("v1/isCreationEnabled")]
|
|
public IActionResult ice()
|
|
{
|
|
return Ok(true);
|
|
}
|
|
|
|
[HttpGet("v2/fromcreator/{playerid}")]
|
|
public IActionResult getCustomAvatarItemsFromCreator()
|
|
{
|
|
return Ok(new
|
|
{
|
|
Results = new List<object>(),
|
|
TotalResults = 0
|
|
});
|
|
}
|
|
}
|
|
}
|