using Ryujinx.Core.OsHle.Ipc; using System.Collections.Generic; using static Ryujinx.Core.OsHle.IpcServices.ObjHelper; namespace Ryujinx.Core.OsHle.IpcServices.Friend { class ServiceFriend : IIpcService { private Dictionary m_Commands; public IReadOnlyDictionary Commands => m_Commands; public ServiceFriend() { m_Commands = new Dictionary() { { 0, CreateFriendService } }; } public static long CreateFriendService(ServiceCtx Context) { MakeObject(Context, new IFriendService()); return 0; } } }