Skip to content

Commit fa4a8d3

Browse files
committed
reactor(core): remove unused fields
1 parent b05c539 commit fa4a8d3

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

Hi3Helper.Plugin.Wuwa/Management/PresetConfig/WuwaGlobalPresetConfig.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ public partial class WuwaGlobalPresetConfig : WuwaPresetConfig
1818
private const string ApiResponseUrl = "https://prod-alicdn-gamestarter.kurogame.com/";
1919
private const string ApiResponseAssetUrl = "https://pcdownload-huoshan.aki-game.net/";
2020
private const string CurrentTag = "JFJWUA";
21-
private const string ClientAccess = "VlNTU1c=";
22-
private const string CurrentPatch = "2.8.1";
2321
private const string AuthenticationHash = "VlNTU1c8DAEsKzslESUCDRIQAiomLA4WKBEMIAABOQgyMSEgVAA";
2422
private const string Hash1 = "AFYCKQErMgwiMCkGJwYNESg6NywoFCAxKDYOUQ1aNCI";
25-
private const string Hash2 = "NC4gAjcOACEVLDUXAgoqJxQOIhMgLhYOFAIoJAQbLTs";
2623
private const string ExecutableName = "Wuthering Waves.exe";
2724
private const string EngineExecutableName = "Client-Win64-Shipping.exe";
2825
private const string VendorName = "Kuro Games";
@@ -112,7 +109,7 @@ public override ILauncherApiNews? LauncherApiNews
112109

113110
public override IGameManager? GameManager
114111
{
115-
get => field ??= new WuwaGameManager(ExecutableName, ApiResponseAssetUrl, AuthenticationHash, CurrentTag, ClientAccess, CurrentPatch, Hash1, Hash2);
112+
get => field ??= new WuwaGameManager(ExecutableName, ApiResponseAssetUrl, AuthenticationHash, CurrentTag, Hash1);
116113
set;
117114
}
118115

Hi3Helper.Plugin.Wuwa/Management/WuwaGameManager.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,13 @@ internal WuwaGameManager(string gameExecutableNameByPreset,
2929
string apiResponseAssetUrl,
3030
string authenticationHash,
3131
string gameTag,
32-
string clientAccess,
33-
string currentPatch,
34-
string hash1,
35-
string hash2)
32+
string hash1)
3633
{
3734
CurrentGameExecutableByPreset = gameExecutableNameByPreset;
3835
AuthenticationHash = authenticationHash;
3936
ApiResponseAssetUrl = apiResponseAssetUrl;
4037
GameTag = gameTag;
41-
ClientAccess = clientAccess;
42-
CurrentPatch = currentPatch;
4338
Hash1 = hash1;
44-
Hash2 = hash2;
4539
}
4640

4741
[field: AllowNull, MaybeNull]
@@ -62,11 +56,8 @@ private HttpClient ApiDownloadHttpClient
6256

6357
internal string ApiResponseAssetUrl { get; }
6458
private string GameTag { get; set; }
65-
private string ClientAccess { get; set; }
66-
private string CurrentPatch { get; set; }
6759
private string AuthenticationHash { get; set; }
6860
private string Hash1 { get; set; }
69-
private string Hash2 { get; set; }
7061

7162
private WuwaApiResponseGameConfig? ApiGameConfigResponse { get; set; }
7263
private string CurrentGameExecutableByPreset { get; }

0 commit comments

Comments
 (0)