miyoushe 2.49.1

This commit is contained in:
Lightczx
2023-04-23 13:44:09 +08:00
parent 538a076b69
commit 8ac410fb4d
2 changed files with 7 additions and 5 deletions

View File

@@ -42,7 +42,7 @@ internal static class CoreEnvironment
/// <summary>
/// 米游社 Rpc 版本
/// </summary>
public const string HoyolabXrpcVersion = "2.44.1";
public const string HoyolabXrpcVersion = "2.49.1";
/// <summary>
/// Hoyolab Rpc 版本
@@ -55,8 +55,8 @@ internal static class CoreEnvironment
// https://github.com/UIGF-org/Hoyolab.Salt
public static readonly ImmutableDictionary<SaltType, string> DynamicSecretSalts = new Dictionary<SaltType, string>()
{
[SaltType.K2] = "dZAwGk4e9aC0MXXItkwnHamjA1x30IYw",
[SaltType.LK2] = "IEIZiKYaput2OCKQprNuGsog1NZc1FkS",
[SaltType.K2] = "egBrFMO1BPBG0UX5XOuuwMRLZKwTVKRV",
[SaltType.LK2] = "DG8lqMyc9gquwAUFc7zBS62ijQRX9XF7",
[SaltType.X4] = "xV8v4Qu54lUKrEYFZkJhB8cuOh9Asafs",
[SaltType.X6] = "t0qEgfub6cvueAPgR5m9aQWWVciEer7v",
[SaltType.PROD] = "JwYDpKvLj6MrMqqYU6jTKF17KNO2PXoS",

View File

@@ -17,7 +17,8 @@ internal sealed class GenAuthKeyData
/// <param name="authAppId">AppId</param>
/// <param name="gameBiz">游戏代号</param>
/// <param name="uid">uid</param>
public GenAuthKeyData(string authAppId, string gameBiz, in PlayerUid uid)
[SuppressMessage("", "SH002")]
public GenAuthKeyData(string authAppId, string gameBiz, PlayerUid uid)
{
AuthAppId = authAppId;
GameBiz = gameBiz;
@@ -54,7 +55,8 @@ internal sealed class GenAuthKeyData
/// </summary>
/// <param name="uid">uid</param>
/// <returns>验证密钥提交数据</returns>
public static GenAuthKeyData CreateForWebViewGacha(in PlayerUid uid)
[SuppressMessage("", "SH002")]
public static GenAuthKeyData CreateForWebViewGacha(PlayerUid uid)
{
return new("webview_gacha", "hk4e_cn", uid);
}