MessageService.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. using System;
  2. namespace FF8
  3. {
  4. public sealed class MessageService : IMessageService
  5. {
  6. public Boolean IsSupported => true;
  7. public void Show(Int32 channel, Int32 messageId)
  8. {
  9. // TODO: Field script
  10. Console.WriteLine($"NotImplemented: {nameof(MessageService)}.{nameof(Show)}({nameof(channel)}: {channel}, {nameof(messageId)}: {messageId})");
  11. }
  12. public void Show(Int32 channel, Int32 messageId, Int32 posX, Int32 posY)
  13. {
  14. // TODO: Field script
  15. Console.WriteLine($"NotImplemented: {nameof(MessageService)}.{nameof(Show)}({nameof(channel)}: {channel}, {nameof(messageId)}: {messageId}, {nameof(posX)}: {posX}, {nameof(posY)}: {posY})");
  16. }
  17. public void Close(Int32 channel)
  18. {
  19. // TODO: Field script
  20. Console.WriteLine($"NotImplemented: {nameof(MessageService)}.{nameof(Close)}({nameof(channel)}: {channel})");
  21. }
  22. public IAwaitable ShowDialog(Int32 channel, Int32 messageId, Int32 posX, Int32 posY)
  23. {
  24. // TODO: Field script
  25. Console.WriteLine($"NotImplemented: {nameof(MessageService)}.{nameof(ShowDialog)}({nameof(channel)}: {channel}, {nameof(messageId)}: {messageId}, {nameof(posX)}: {posX}, {nameof(posY)}: {posY})");
  26. return DummyAwaitable.Instance;
  27. }
  28. public IAwaitable ShowQuestion(Int32 channel, Int32 messageId, Int32 firstLine, Int32 lastLine, Int32 beginLine, Int32 cancelLine)
  29. {
  30. // TODO: Field script
  31. Console.WriteLine($"NotImplemented: {nameof(MessageService)}.{nameof(ShowQuestion)}({nameof(channel)}: {channel}, {nameof(messageId)}: {messageId}, {nameof(firstLine)}: {firstLine}, {nameof(lastLine)}: {lastLine}, {nameof(beginLine)}: {beginLine}, {nameof(cancelLine)}: {cancelLine})");
  32. return DummyAwaitable.Instance;
  33. }
  34. public IAwaitable ShowQuestion(Int32 channel, Int32 messageId, Int32 firstLine, Int32 lastLine, Int32 beginLine, Int32 cancelLine, Int32 posX, Int32 posY)
  35. {
  36. // TODO: Field script
  37. Console.WriteLine($"NotImplemented: {nameof(MessageService)}.{nameof(ShowQuestion)}({nameof(channel)}: {channel}, {nameof(messageId)}: {messageId}, {nameof(firstLine)}: {firstLine}, {nameof(lastLine)}: {lastLine}, {nameof(beginLine)}: {beginLine}, {nameof(cancelLine)}: {cancelLine}, {nameof(posX)}: {posX}, {nameof(posY)}: {posY})");
  38. return DummyAwaitable.Instance;
  39. }
  40. }
  41. }