SDK_UnityMoney/Assets/Script/SDKManager/TransferManager/TransferData.cs

30 lines
758 B
C#
Raw Normal View History

2026-01-05 09:09:25 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace WZ
{
public static class TransferData
{
2026-01-07 09:48:24 +00:00
/// <summary>
/// 是否有VPN权限
/// </summary>
2026-01-05 09:09:25 +00:00
public static bool HasVpnPermission
{
get => PlayerPrefs.GetInt("vpn_permission",0) == 1;
set => PlayerPrefs.SetInt("vpn_permission", value == true ? 1 : 0);
}
2026-01-07 07:45:04 +00:00
/// <summary>
2026-01-07 09:48:24 +00:00
/// 是否弹出过VPN引导
2026-01-07 07:45:04 +00:00
/// </summary>
public static bool HasShowedReqVpnPermissionView
{
get => PlayerPrefs.GetInt("req_vpn_permission_showed",0) == 1;
set => PlayerPrefs.SetInt("req_vpn_permission_showed", value == true ? 1 : 0);
}
2026-01-05 09:09:25 +00:00
}
}