mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-11 16:02:33 -07:00
Refactoring of acc:u0 (#701)
* Refactoring of acc:u0 - Move all account things to the account service - More accurate IAccountServiceForApplication - Add helper to UInt128 * FIx my engrish * FIx my engrish #2
This commit is contained in:
@@ -69,9 +69,9 @@ namespace Ryujinx.HLE.HOS.Services.Friend
|
||||
context.RequestData.ReadInt64(),
|
||||
context.RequestData.ReadInt64());
|
||||
|
||||
if (context.Device.System.State.TryGetUser(uuid, out UserProfile profile))
|
||||
if (context.Device.System.State.Account.TryGetUser(uuid, out UserProfile profile))
|
||||
{
|
||||
profile.OnlinePlayState = OpenCloseState.Open;
|
||||
profile.OnlinePlayState = AccountState.Open;
|
||||
}
|
||||
|
||||
Logger.PrintStub(LogClass.ServiceFriend, new { UserId = uuid.ToString(), profile.OnlinePlayState });
|
||||
@@ -86,9 +86,9 @@ namespace Ryujinx.HLE.HOS.Services.Friend
|
||||
context.RequestData.ReadInt64(),
|
||||
context.RequestData.ReadInt64());
|
||||
|
||||
if (context.Device.System.State.TryGetUser(uuid, out UserProfile profile))
|
||||
if (context.Device.System.State.Account.TryGetUser(uuid, out UserProfile profile))
|
||||
{
|
||||
profile.OnlinePlayState = OpenCloseState.Closed;
|
||||
profile.OnlinePlayState = AccountState.Closed;
|
||||
}
|
||||
|
||||
Logger.PrintStub(LogClass.ServiceFriend, new { UserId = uuid.ToString(), profile.OnlinePlayState });
|
||||
|
Reference in New Issue
Block a user