forked from SoDOff-Project/sodoff
add: - SetGameCurrency - GetDisplayNameByUserId - GetCommonInventoryByUserId and some placeholders - Reimplement Currency System (WoJS) - Implement ``GetDisplayNameByUserId`` - Move ``GetCombinedListMessage`` To Messaging Controller - Add More Placeholders For MMO - ``SetScore`` Placeholder - Add ``GetRevealIndex`` For Learning Games Co-authored-by: Robert Paciorek <robert@opcode.eu.org>
40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
using sodoff.Schema;
|
|
|
|
namespace sodoff.Controllers.Common;
|
|
public class MessagingController : Controller {
|
|
|
|
[HttpPost]
|
|
[Produces("application/xml")]
|
|
[Route("MessagingWebService.asmx/GetUserMessageQueue")]
|
|
public ArrayOfMessageInfo? GetUserMessageQueue() {
|
|
// TODO: this is a placeholder
|
|
return null;
|
|
}
|
|
|
|
[HttpPost]
|
|
[Produces("application/xml")]
|
|
[Route("MessagingWebService.asmx/SendMessage")]
|
|
public IActionResult SendMessage() {
|
|
// TODO: this is a placeholder
|
|
return Ok(false);
|
|
}
|
|
|
|
[HttpPost]
|
|
[Produces("application/xml")]
|
|
[Route("MessagingWebService.asmx/SaveMessage")]
|
|
public IActionResult SaveMessage() {
|
|
// TODO: this is a placeholder
|
|
return Ok(false);
|
|
}
|
|
|
|
[HttpPost]
|
|
[Produces("application/xml")]
|
|
[Route("MessageWebService.asmx/GetCombinedListMessage")]
|
|
public IActionResult GetCombinedListMessage()
|
|
{
|
|
// TODO - placeholder
|
|
return Ok(new ArrayOfMessageInfo());
|
|
}
|
|
}
|