WuhuIslandTesting/Library/PackageCache/com.unity.services.core@1.6.0/Runtime/Configuration/ExternalUserId.cs
2025-01-07 02:06:59 +01:00

16 lines
479 B
C#

using System;
using Unity.Services.Core.Configuration.Internal;
namespace Unity.Services.Core.Configuration
{
class ExternalUserId : IExternalUserId
{
public string UserId => UnityServices.ExternalUserIdProperty.UserId;
public event Action<string> UserIdChanged
{
add => UnityServices.ExternalUserIdProperty.UserIdChanged += value;
remove => UnityServices.ExternalUserIdProperty.UserIdChanged -= value;
}
}
}