IAddOnContentManager.cs 936 B

12345678910111213141516171819202122232425262728293031323334
  1. using Ryujinx.Common.Logging;
  2. namespace Ryujinx.HLE.HOS.Services.Ns
  3. {
  4. [Service("aoc:u")]
  5. class IAddOnContentManager : IpcService
  6. {
  7. public IAddOnContentManager(ServiceCtx context) { }
  8. [Command(2)]
  9. // CountAddOnContent(u64, pid) -> u32
  10. public static ResultCode CountAddOnContent(ServiceCtx context)
  11. {
  12. context.ResponseData.Write(0);
  13. Logger.PrintStub(LogClass.ServiceNs);
  14. return ResultCode.Success;
  15. }
  16. [Command(3)]
  17. // ListAddOnContent(u32, u32, u64, pid) -> (u32, buffer<u32, 6>)
  18. public static ResultCode ListAddOnContent(ServiceCtx context)
  19. {
  20. Logger.PrintStub(LogClass.ServiceNs);
  21. // TODO: This is supposed to write a u32 array aswell.
  22. // It's unknown what it contains.
  23. context.ResponseData.Write(0);
  24. return ResultCode.Success;
  25. }
  26. }
  27. }