mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-24 20:49:47 +08:00
Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cfb94e70b7 | |||
| ab9b955c31 | |||
| 4e4b47a9e6 | |||
| 3da3bc4f23 | |||
| 7cc46eb677 | |||
| b9d1a2c2cd | |||
| a0cc908983 | |||
| 7dc7c7c8ac | |||
| ad4ca74e71 | |||
| a079685be8 | |||
| 6703037527 |
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
83
Source/GrasscutterTools/Forms/FormMain.Designer.cs
generated
83
Source/GrasscutterTools/Forms/FormMain.Designer.cs
generated
@@ -132,9 +132,9 @@ namespace GrasscutterTools.Forms
|
||||
this.NUDWeaponLevel = new System.Windows.Forms.NumericUpDown();
|
||||
this.ListWeapons = new System.Windows.Forms.ListBox();
|
||||
this.TPStats = new System.Windows.Forms.TabPage();
|
||||
this.LblResetStatsCommand = new System.Windows.Forms.LinkLabel();
|
||||
this.LblResetStatsTip = new System.Windows.Forms.Label();
|
||||
this.GrpSetStats = new System.Windows.Forms.GroupBox();
|
||||
this.BtnUnlockStat = new System.Windows.Forms.Button();
|
||||
this.BtnLockStat = new System.Windows.Forms.Button();
|
||||
this.LblStatTip = new System.Windows.Forms.Label();
|
||||
this.LblStatPercent = new System.Windows.Forms.Label();
|
||||
this.NUDStat = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -322,6 +322,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPRemoteCall
|
||||
//
|
||||
resources.ApplyResources(this.TPRemoteCall, "TPRemoteCall");
|
||||
this.TPRemoteCall.Controls.Add(this.LnkLinks);
|
||||
this.TPRemoteCall.Controls.Add(this.LnkGOODHelp);
|
||||
this.TPRemoteCall.Controls.Add(this.LnkInventoryKamera);
|
||||
@@ -333,7 +334,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPRemoteCall.Controls.Add(this.TxtHost);
|
||||
this.TPRemoteCall.Controls.Add(this.BtnQueryServerStatus);
|
||||
this.TPRemoteCall.Controls.Add(this.LblHost);
|
||||
resources.ApplyResources(this.TPRemoteCall, "TPRemoteCall");
|
||||
this.TPRemoteCall.Name = "TPRemoteCall";
|
||||
this.TPRemoteCall.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -430,14 +430,15 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPOpenCommandCheck
|
||||
//
|
||||
resources.ApplyResources(this.TPOpenCommandCheck, "TPOpenCommandCheck");
|
||||
this.TPOpenCommandCheck.Controls.Add(this.TPPlayerCheck);
|
||||
this.TPOpenCommandCheck.Controls.Add(this.TPConsoleCheck);
|
||||
resources.ApplyResources(this.TPOpenCommandCheck, "TPOpenCommandCheck");
|
||||
this.TPOpenCommandCheck.Name = "TPOpenCommandCheck";
|
||||
this.TPOpenCommandCheck.SelectedIndex = 0;
|
||||
//
|
||||
// TPPlayerCheck
|
||||
//
|
||||
resources.ApplyResources(this.TPPlayerCheck, "TPPlayerCheck");
|
||||
this.TPPlayerCheck.Controls.Add(this.LnkRCHelp);
|
||||
this.TPPlayerCheck.Controls.Add(this.NUDRemotePlayerId);
|
||||
this.TPPlayerCheck.Controls.Add(this.BtnConnectOpenCommand);
|
||||
@@ -445,7 +446,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPPlayerCheck.Controls.Add(this.BtnSendVerificationCode);
|
||||
this.TPPlayerCheck.Controls.Add(this.NUDVerificationCode);
|
||||
this.TPPlayerCheck.Controls.Add(this.LblRemotePlayerId);
|
||||
resources.ApplyResources(this.TPPlayerCheck, "TPPlayerCheck");
|
||||
this.TPPlayerCheck.Name = "TPPlayerCheck";
|
||||
this.TPPlayerCheck.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -517,11 +517,11 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPConsoleCheck
|
||||
//
|
||||
resources.ApplyResources(this.TPConsoleCheck, "TPConsoleCheck");
|
||||
this.TPConsoleCheck.Controls.Add(this.BtnConsoleConnect);
|
||||
this.TPConsoleCheck.Controls.Add(this.TxtToken);
|
||||
this.TPConsoleCheck.Controls.Add(this.LblToken);
|
||||
this.TPConsoleCheck.Controls.Add(this.LblConsoleTip);
|
||||
resources.ApplyResources(this.TPConsoleCheck, "TPConsoleCheck");
|
||||
this.TPConsoleCheck.Name = "TPConsoleCheck";
|
||||
this.TPConsoleCheck.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -566,10 +566,10 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPAbout
|
||||
//
|
||||
resources.ApplyResources(this.TPAbout, "TPAbout");
|
||||
this.TPAbout.Controls.Add(this.GrasscutterToolsSupport);
|
||||
this.TPAbout.Controls.Add(this.LnkGithub);
|
||||
this.TPAbout.Controls.Add(this.LblSupportDescription);
|
||||
resources.ApplyResources(this.TPAbout, "TPAbout");
|
||||
this.TPAbout.Name = "TPAbout";
|
||||
this.TPAbout.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -594,10 +594,10 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPManage
|
||||
//
|
||||
resources.ApplyResources(this.TPManage, "TPManage");
|
||||
this.TPManage.Controls.Add(this.GrpBanPlayer);
|
||||
this.TPManage.Controls.Add(this.GrpAccount);
|
||||
this.TPManage.Controls.Add(this.GrpPermission);
|
||||
resources.ApplyResources(this.TPManage, "TPManage");
|
||||
this.TPManage.Name = "TPManage";
|
||||
this.TPManage.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -615,8 +615,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// DTPBanEndTime
|
||||
//
|
||||
this.DTPBanEndTime.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
||||
resources.ApplyResources(this.DTPBanEndTime, "DTPBanEndTime");
|
||||
this.DTPBanEndTime.Format = System.Windows.Forms.DateTimePickerFormat.Short;
|
||||
this.DTPBanEndTime.MaxDate = new System.DateTime(2034, 12, 31, 0, 0, 0, 0);
|
||||
this.DTPBanEndTime.MinDate = new System.DateTime(2022, 6, 28, 0, 0, 0, 0);
|
||||
this.DTPBanEndTime.Name = "DTPBanEndTime";
|
||||
@@ -638,8 +638,8 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TxtBanReason
|
||||
//
|
||||
this.TxtBanReason.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
resources.ApplyResources(this.TxtBanReason, "TxtBanReason");
|
||||
this.TxtBanReason.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.TxtBanReason.Maximum = 0F;
|
||||
this.TxtBanReason.Minimum = 0F;
|
||||
this.TxtBanReason.Name = "TxtBanReason";
|
||||
@@ -737,10 +737,10 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbPerm
|
||||
//
|
||||
resources.ApplyResources(this.CmbPerm, "CmbPerm");
|
||||
this.CmbPerm.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
|
||||
this.CmbPerm.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.ListItems;
|
||||
this.CmbPerm.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbPerm, "CmbPerm");
|
||||
this.CmbPerm.Name = "CmbPerm";
|
||||
//
|
||||
// NUDPermUID
|
||||
@@ -786,6 +786,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPScene
|
||||
//
|
||||
resources.ApplyResources(this.TPScene, "TPScene");
|
||||
this.TPScene.Controls.Add(this.TxtSceneFilter);
|
||||
this.TPScene.Controls.Add(this.ChkIncludeSceneId);
|
||||
this.TPScene.Controls.Add(this.LblTp);
|
||||
@@ -800,7 +801,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPScene.Controls.Add(this.LblClimateType);
|
||||
this.TPScene.Controls.Add(this.LblSceneDescription);
|
||||
this.TPScene.Controls.Add(this.ListScenes);
|
||||
resources.ApplyResources(this.TPScene, "TPScene");
|
||||
this.TPScene.Name = "TPScene";
|
||||
this.TPScene.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -935,6 +935,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPItem
|
||||
//
|
||||
resources.ApplyResources(this.TPItem, "TPItem");
|
||||
this.TPItem.Controls.Add(this.LblClearGiveItemLogs);
|
||||
this.TPItem.Controls.Add(this.BtnSaveGiveItemLog);
|
||||
this.TPItem.Controls.Add(this.BtnRemoveGiveItemLog);
|
||||
@@ -947,7 +948,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPItem.Controls.Add(this.NUDGameItemAmout);
|
||||
this.TPItem.Controls.Add(this.NUDGameItemLevel);
|
||||
this.TPItem.Controls.Add(this.LblGiveCommandDescription);
|
||||
resources.ApplyResources(this.TPItem, "TPItem");
|
||||
this.TPItem.Name = "TPItem";
|
||||
this.TPItem.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1065,6 +1065,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPWeapon
|
||||
//
|
||||
resources.ApplyResources(this.TPWeapon, "TPWeapon");
|
||||
this.TPWeapon.Controls.Add(this.TxtWeaponFilter);
|
||||
this.TPWeapon.Controls.Add(this.LblWeaponDescription);
|
||||
this.TPWeapon.Controls.Add(this.LblWeaponRefinement);
|
||||
@@ -1074,7 +1075,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPWeapon.Controls.Add(this.NUDWeaponAmout);
|
||||
this.TPWeapon.Controls.Add(this.NUDWeaponLevel);
|
||||
this.TPWeapon.Controls.Add(this.ListWeapons);
|
||||
resources.ApplyResources(this.TPWeapon, "TPWeapon");
|
||||
this.TPWeapon.Name = "TPWeapon";
|
||||
this.TPWeapon.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1171,31 +1171,18 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPStats
|
||||
//
|
||||
this.TPStats.Controls.Add(this.LblResetStatsCommand);
|
||||
this.TPStats.Controls.Add(this.LblResetStatsTip);
|
||||
resources.ApplyResources(this.TPStats, "TPStats");
|
||||
this.TPStats.Controls.Add(this.GrpSetStats);
|
||||
this.TPStats.Controls.Add(this.GrpTalentLevel);
|
||||
this.TPStats.Controls.Add(this.LblStatsDescription);
|
||||
resources.ApplyResources(this.TPStats, "TPStats");
|
||||
this.TPStats.Name = "TPStats";
|
||||
this.TPStats.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// LblResetStatsCommand
|
||||
//
|
||||
resources.ApplyResources(this.LblResetStatsCommand, "LblResetStatsCommand");
|
||||
this.LblResetStatsCommand.Name = "LblResetStatsCommand";
|
||||
this.LblResetStatsCommand.TabStop = true;
|
||||
this.LblResetStatsCommand.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LblResetStatsCommand_LinkClicked);
|
||||
//
|
||||
// LblResetStatsTip
|
||||
//
|
||||
resources.ApplyResources(this.LblResetStatsTip, "LblResetStatsTip");
|
||||
this.LblResetStatsTip.ForeColor = System.Drawing.SystemColors.ActiveCaption;
|
||||
this.LblResetStatsTip.Name = "LblResetStatsTip";
|
||||
//
|
||||
// GrpSetStats
|
||||
//
|
||||
resources.ApplyResources(this.GrpSetStats, "GrpSetStats");
|
||||
this.GrpSetStats.Controls.Add(this.BtnUnlockStat);
|
||||
this.GrpSetStats.Controls.Add(this.BtnLockStat);
|
||||
this.GrpSetStats.Controls.Add(this.LblStatTip);
|
||||
this.GrpSetStats.Controls.Add(this.LblStatPercent);
|
||||
this.GrpSetStats.Controls.Add(this.NUDStat);
|
||||
@@ -1203,11 +1190,25 @@ namespace GrasscutterTools.Forms
|
||||
this.GrpSetStats.Name = "GrpSetStats";
|
||||
this.GrpSetStats.TabStop = false;
|
||||
//
|
||||
// BtnUnlockStat
|
||||
//
|
||||
resources.ApplyResources(this.BtnUnlockStat, "BtnUnlockStat");
|
||||
this.BtnUnlockStat.Name = "BtnUnlockStat";
|
||||
this.BtnUnlockStat.UseVisualStyleBackColor = true;
|
||||
this.BtnUnlockStat.Click += new System.EventHandler(this.BtnUnlockStat_Click);
|
||||
//
|
||||
// BtnLockStat
|
||||
//
|
||||
resources.ApplyResources(this.BtnLockStat, "BtnLockStat");
|
||||
this.BtnLockStat.Name = "BtnLockStat";
|
||||
this.BtnLockStat.UseVisualStyleBackColor = true;
|
||||
this.BtnLockStat.Click += new System.EventHandler(this.BtnLockStat_Click);
|
||||
//
|
||||
// LblStatTip
|
||||
//
|
||||
resources.ApplyResources(this.LblStatTip, "LblStatTip");
|
||||
this.LblStatTip.AutoEllipsis = true;
|
||||
this.LblStatTip.ForeColor = System.Drawing.SystemColors.GrayText;
|
||||
resources.ApplyResources(this.LblStatTip, "LblStatTip");
|
||||
this.LblStatTip.Name = "LblStatTip";
|
||||
//
|
||||
// LblStatPercent
|
||||
@@ -1233,9 +1234,9 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbStat
|
||||
//
|
||||
resources.ApplyResources(this.CmbStat, "CmbStat");
|
||||
this.CmbStat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CmbStat.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbStat, "CmbStat");
|
||||
this.CmbStat.Name = "CmbStat";
|
||||
this.CmbStat.SelectedIndexChanged += new System.EventHandler(this.SetStatsInputChanged);
|
||||
//
|
||||
@@ -1295,6 +1296,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPAvatar
|
||||
//
|
||||
resources.ApplyResources(this.TPAvatar, "TPAvatar");
|
||||
this.TPAvatar.Controls.Add(this.BtnGiveAllChar);
|
||||
this.TPAvatar.Controls.Add(this.LblConstellationTip);
|
||||
this.TPAvatar.Controls.Add(this.LblAvatarConstellation);
|
||||
@@ -1304,7 +1306,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPAvatar.Controls.Add(this.LblAvatarLevel);
|
||||
this.TPAvatar.Controls.Add(this.NUDAvatarLevel);
|
||||
this.TPAvatar.Controls.Add(this.CmbAvatar);
|
||||
resources.ApplyResources(this.TPAvatar, "TPAvatar");
|
||||
this.TPAvatar.Name = "TPAvatar";
|
||||
this.TPAvatar.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1390,6 +1391,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPSpawn
|
||||
//
|
||||
resources.ApplyResources(this.TPSpawn, "TPSpawn");
|
||||
this.TPSpawn.Controls.Add(this.LblClearSpawnLogs);
|
||||
this.TPSpawn.Controls.Add(this.BtnSaveSpawnLog);
|
||||
this.TPSpawn.Controls.Add(this.BtnRemoveSpawnLog);
|
||||
@@ -1402,7 +1404,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPSpawn.Controls.Add(this.NUDEntityLevel);
|
||||
this.TPSpawn.Controls.Add(this.TxtEntityFilter);
|
||||
this.TPSpawn.Controls.Add(this.ListEntity);
|
||||
resources.ApplyResources(this.TPSpawn, "TPSpawn");
|
||||
this.TPSpawn.Name = "TPSpawn";
|
||||
this.TPSpawn.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1543,13 +1544,13 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPQuest
|
||||
//
|
||||
resources.ApplyResources(this.TPQuest, "TPQuest");
|
||||
this.TPQuest.Controls.Add(this.GrpQuestFilters);
|
||||
this.TPQuest.Controls.Add(this.BtnFinishQuest);
|
||||
this.TPQuest.Controls.Add(this.BtnAddQuest);
|
||||
this.TPQuest.Controls.Add(this.LblQuestDescription);
|
||||
this.TPQuest.Controls.Add(this.TxtQuestFilter);
|
||||
this.TPQuest.Controls.Add(this.ListQuest);
|
||||
resources.ApplyResources(this.TPQuest, "TPQuest");
|
||||
this.TPQuest.Name = "TPQuest";
|
||||
this.TPQuest.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1621,6 +1622,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPArtifact
|
||||
//
|
||||
resources.ApplyResources(this.TPArtifact, "TPArtifact");
|
||||
this.TPArtifact.Controls.Add(this.LblArtifactLevelTip);
|
||||
this.TPArtifact.Controls.Add(this.BtnAddSubAttr);
|
||||
this.TPArtifact.Controls.Add(this.LblArtifactName);
|
||||
@@ -1640,7 +1642,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPArtifact.Controls.Add(this.NUDArtifactLevel);
|
||||
this.TPArtifact.Controls.Add(this.LblArtifactStars);
|
||||
this.TPArtifact.Controls.Add(this.NUDArtifactStars);
|
||||
resources.ApplyResources(this.TPArtifact, "TPArtifact");
|
||||
this.TPArtifact.Name = "TPArtifact";
|
||||
this.TPArtifact.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1806,6 +1807,7 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPCustom
|
||||
//
|
||||
resources.ApplyResources(this.TPCustom, "TPCustom");
|
||||
this.TPCustom.Controls.Add(this.BtnExportCustomCommands);
|
||||
this.TPCustom.Controls.Add(this.BtnLoadCustomCommands);
|
||||
this.TPCustom.Controls.Add(this.LblCustomName);
|
||||
@@ -1813,7 +1815,6 @@ namespace GrasscutterTools.Forms
|
||||
this.TPCustom.Controls.Add(this.BtnRemoveCustomCommand);
|
||||
this.TPCustom.Controls.Add(this.BtnSaveCustomCommand);
|
||||
this.TPCustom.Controls.Add(this.TxtCustomName);
|
||||
resources.ApplyResources(this.TPCustom, "TPCustom");
|
||||
this.TPCustom.Name = "TPCustom";
|
||||
this.TPCustom.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1877,12 +1878,12 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// TPHome
|
||||
//
|
||||
resources.ApplyResources(this.TPHome, "TPHome");
|
||||
this.TPHome.Controls.Add(this.LblAbout);
|
||||
this.TPHome.Controls.Add(this.BtnOpenTextMap);
|
||||
this.TPHome.Controls.Add(this.BtnOpenGachaBannerEditor);
|
||||
this.TPHome.Controls.Add(this.GrasscutterToolsIcon);
|
||||
this.TPHome.Controls.Add(this.GrpSettings);
|
||||
resources.ApplyResources(this.TPHome, "TPHome");
|
||||
this.TPHome.Name = "TPHome";
|
||||
this.TPHome.UseVisualStyleBackColor = true;
|
||||
//
|
||||
@@ -1941,9 +1942,9 @@ namespace GrasscutterTools.Forms
|
||||
//
|
||||
// CmbLanguage
|
||||
//
|
||||
resources.ApplyResources(this.CmbLanguage, "CmbLanguage");
|
||||
this.CmbLanguage.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.CmbLanguage.FormattingEnabled = true;
|
||||
resources.ApplyResources(this.CmbLanguage, "CmbLanguage");
|
||||
this.CmbLanguage.Name = "CmbLanguage";
|
||||
this.CmbLanguage.SelectedIndexChanged += new System.EventHandler(this.CmbLanguage_SelectedIndexChanged);
|
||||
//
|
||||
@@ -2281,8 +2282,6 @@ namespace GrasscutterTools.Forms
|
||||
private System.Windows.Forms.Label LblArtifactLevelTip;
|
||||
private System.Windows.Forms.Label LblClearSpawnLogs;
|
||||
private System.Windows.Forms.Label LblClearGiveItemLogs;
|
||||
private System.Windows.Forms.LinkLabel LblResetStatsCommand;
|
||||
private System.Windows.Forms.Label LblResetStatsTip;
|
||||
private System.Windows.Forms.Label LblAvatarConstellation;
|
||||
private System.Windows.Forms.NumericUpDown NUDAvatarConstellation;
|
||||
private System.Windows.Forms.Label LblConstellationTip;
|
||||
@@ -2293,5 +2292,7 @@ namespace GrasscutterTools.Forms
|
||||
private System.Windows.Forms.Label LblGOODHelp;
|
||||
private System.Windows.Forms.LinkLabel LnkGOODHelp;
|
||||
private System.Windows.Forms.LinkLabel LnkLinks;
|
||||
private System.Windows.Forms.Button BtnUnlockStat;
|
||||
private System.Windows.Forms.Button BtnLockStat;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ using GrasscutterTools.GOOD;
|
||||
using GrasscutterTools.OpenCommand;
|
||||
using GrasscutterTools.Properties;
|
||||
using GrasscutterTools.Utils;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace GrasscutterTools.Forms
|
||||
@@ -137,11 +138,12 @@ namespace GrasscutterTools.Forms
|
||||
private void LoadUpdate()
|
||||
{
|
||||
#if !DEBUG
|
||||
Task.Run(() =>
|
||||
Task.Run(async () =>
|
||||
{
|
||||
try
|
||||
{
|
||||
var info = Github.ReleaseAPI.GetReleasesLastest("jie65535", "GrasscutterCommandGenerator").Result;
|
||||
await Task.Delay(5000);
|
||||
var info = await ReleaseAPI.GetReleasesLastest("jie65535", "GrasscutterCommandGenerator");
|
||||
if (Version.TryParse(info.TagName.Substring(1), out Version lastestVersion) && AppVersion < lastestVersion)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Settings.Default.CheckedLastVersion)
|
||||
@@ -617,37 +619,44 @@ namespace GrasscutterTools.Forms
|
||||
var id = GameData.Artifacts.Ids[Array.LastIndexOf(GameData.Artifacts.Names, name)];
|
||||
id = id / 1000 * 1000 + (int)NUDArtifactStars.Value * 100 + id % 100;
|
||||
if (CmbMainAttribution.SelectedIndex < 0)
|
||||
return;
|
||||
|
||||
var t = CmbMainAttribution.SelectedItem as string;
|
||||
var mainAttr = t.Substring(0, t.IndexOf(':')).Trim();
|
||||
|
||||
var subAttrs = "";
|
||||
if (ListSubAttributionChecked.Items.Count > 0)
|
||||
{
|
||||
var subAttrDir = new Dictionary<string, int>(ListSubAttributionChecked.Items.Count);
|
||||
foreach (string item in ListSubAttributionChecked.Items)
|
||||
{
|
||||
var subId = item.Substring(0, item.IndexOf(':')).Trim();
|
||||
var times = int.Parse(item.Substring(item.LastIndexOf('x') + 1));
|
||||
if (subAttrDir.ContainsKey(subId))
|
||||
subAttrDir[subId] += times;
|
||||
else
|
||||
subAttrDir[subId] = times;
|
||||
}
|
||||
|
||||
foreach (var kv in subAttrDir)
|
||||
{
|
||||
if (kv.Value > 1)
|
||||
subAttrs += $"{kv.Key},{kv.Value} ";
|
||||
else
|
||||
subAttrs += $"{kv.Key} ";
|
||||
}
|
||||
if (ChkNewCommand.Checked)
|
||||
SetCommand("/give", $"{id} lv{NUDArtifactLevel.Value}");
|
||||
else
|
||||
SetCommand("/giveart", $"{id} {NUDArtifactLevel.Value}");
|
||||
}
|
||||
if (ChkNewCommand.Checked)
|
||||
SetCommand("/give", $"{id} lv{NUDArtifactLevel.Value} {mainAttr} {subAttrs}");
|
||||
else
|
||||
SetCommand("/giveart", $"{id} {mainAttr} {subAttrs}{NUDArtifactLevel.Value}");
|
||||
{
|
||||
var t = CmbMainAttribution.SelectedItem as string;
|
||||
var mainAttr = t.Substring(0, t.IndexOf(':')).Trim();
|
||||
|
||||
var subAttrs = "";
|
||||
if (ListSubAttributionChecked.Items.Count > 0)
|
||||
{
|
||||
var subAttrDir = new Dictionary<string, int>(ListSubAttributionChecked.Items.Count);
|
||||
foreach (string item in ListSubAttributionChecked.Items)
|
||||
{
|
||||
var subId = item.Substring(0, item.IndexOf(':')).Trim();
|
||||
var times = int.Parse(item.Substring(item.LastIndexOf('x') + 1));
|
||||
if (subAttrDir.ContainsKey(subId))
|
||||
subAttrDir[subId] += times;
|
||||
else
|
||||
subAttrDir[subId] = times;
|
||||
}
|
||||
|
||||
foreach (var kv in subAttrDir)
|
||||
{
|
||||
if (kv.Value > 1)
|
||||
subAttrs += $"{kv.Key},{kv.Value} ";
|
||||
else
|
||||
subAttrs += $"{kv.Key} ";
|
||||
}
|
||||
}
|
||||
if (ChkNewCommand.Checked)
|
||||
SetCommand("/give", $"{id} lv{NUDArtifactLevel.Value} {mainAttr} {subAttrs}");
|
||||
else
|
||||
SetCommand("/giveart", $"{id} {mainAttr} {subAttrs}{NUDArtifactLevel.Value}");
|
||||
}
|
||||
}
|
||||
|
||||
private void ListSubAttributionChecked_SelectedIndexChanged(object sender, EventArgs e)
|
||||
@@ -662,6 +671,7 @@ namespace GrasscutterTools.Forms
|
||||
|
||||
private void LblClearSubAttrCheckedList_Click(object sender, EventArgs e)
|
||||
{
|
||||
CmbMainAttribution.SelectedIndex = -1;
|
||||
ListSubAttributionChecked.Items.Clear();
|
||||
ArtifactInputChanged(null, EventArgs.Empty);
|
||||
}
|
||||
@@ -1090,6 +1100,8 @@ namespace GrasscutterTools.Forms
|
||||
{
|
||||
if (CmbStat.SelectedIndex < 0)
|
||||
return;
|
||||
else
|
||||
BtnLockStat.Enabled = BtnUnlockStat.Enabled = true;
|
||||
|
||||
var stat = SetStatsCommand.Stats[CmbStat.SelectedIndex];
|
||||
LblStatPercent.Visible = stat.Percent;
|
||||
@@ -1098,16 +1110,23 @@ namespace GrasscutterTools.Forms
|
||||
SetCommand("/setstats", $"{stat.ArgName} {NUDStat.Value}{(stat.Percent ? "%" : "")}");
|
||||
}
|
||||
|
||||
private void BtnLockStat_Click(object sender, EventArgs e)
|
||||
{
|
||||
var stat = SetStatsCommand.Stats[CmbStat.SelectedIndex];
|
||||
SetCommand("/setstats", $"lock {stat.ArgName} {NUDStat.Value}{(stat.Percent ? "%" : "")}");
|
||||
}
|
||||
|
||||
private void BtnUnlockStat_Click(object sender, EventArgs e)
|
||||
{
|
||||
var stat = SetStatsCommand.Stats[CmbStat.SelectedIndex];
|
||||
SetCommand("/setstats", $"unlock {stat.ArgName}");
|
||||
}
|
||||
|
||||
private void LnkSetTalentClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
SetCommand("/talent", $"{(sender as LinkLabel).Tag} {NUDTalentLevel.Value}");
|
||||
}
|
||||
|
||||
private void LblResetStatsCommand_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||
{
|
||||
SetCommand("/give 101");
|
||||
}
|
||||
|
||||
#endregion - 数据 -
|
||||
|
||||
#region - 管理 -
|
||||
@@ -1225,35 +1244,41 @@ namespace GrasscutterTools.Forms
|
||||
}
|
||||
|
||||
ExpandCommandRunLog();
|
||||
BtnInvokeOpenCommand.Enabled = false;
|
||||
BtnInvokeOpenCommand.Cursor = Cursors.WaitCursor;
|
||||
int i = 0;
|
||||
foreach (var command in commands)
|
||||
try
|
||||
{
|
||||
TxtCommandRunLog.AppendText(">");
|
||||
TxtCommandRunLog.AppendText(command);
|
||||
if (commands.Length > 1)
|
||||
TxtCommandRunLog.AppendText($" ({++i}/{commands.Length})");
|
||||
TxtCommandRunLog.AppendText(Environment.NewLine);
|
||||
var cmd = command.Substring(1);
|
||||
try
|
||||
BtnInvokeOpenCommand.Enabled = false;
|
||||
BtnInvokeOpenCommand.Cursor = Cursors.WaitCursor;
|
||||
int i = 0;
|
||||
foreach (var command in commands)
|
||||
{
|
||||
var msg = await OC.Invoke(cmd);
|
||||
TxtCommandRunLog.AppendText(string.IsNullOrEmpty(msg) ? "OK" : msg);
|
||||
TxtCommandRunLog.AppendText(">");
|
||||
TxtCommandRunLog.AppendText(command);
|
||||
if (commands.Length > 1)
|
||||
TxtCommandRunLog.AppendText($" ({++i}/{commands.Length})");
|
||||
TxtCommandRunLog.AppendText(Environment.NewLine);
|
||||
var cmd = command.Substring(1);
|
||||
try
|
||||
{
|
||||
var msg = await OC.Invoke(cmd);
|
||||
TxtCommandRunLog.AppendText(string.IsNullOrEmpty(msg) ? "OK" : msg);
|
||||
TxtCommandRunLog.AppendText(Environment.NewLine);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TxtCommandRunLog.AppendText("Error: ");
|
||||
TxtCommandRunLog.AppendText(ex.Message);
|
||||
TxtCommandRunLog.AppendText(Environment.NewLine);
|
||||
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return false;
|
||||
}
|
||||
TxtCommandRunLog.ScrollToCaret();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
TxtCommandRunLog.AppendText("Error: ");
|
||||
TxtCommandRunLog.AppendText(ex.Message);
|
||||
TxtCommandRunLog.AppendText(Environment.NewLine);
|
||||
MessageBox.Show(ex.Message, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return false;
|
||||
}
|
||||
TxtCommandRunLog.ScrollToCaret();
|
||||
}
|
||||
BtnInvokeOpenCommand.Cursor = Cursors.Default;
|
||||
BtnInvokeOpenCommand.Enabled = true;
|
||||
finally
|
||||
{
|
||||
BtnInvokeOpenCommand.Cursor = Cursors.Default;
|
||||
BtnInvokeOpenCommand.Enabled = true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -217,6 +217,9 @@
|
||||
<data name="BtnSendVerificationCode.Text" xml:space="preserve">
|
||||
<value>Send Code</value>
|
||||
</data>
|
||||
<data name="TPConsoleCheck.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>296, 111</value>
|
||||
</data>
|
||||
<data name="TPConsoleCheck.Text" xml:space="preserve">
|
||||
<value>Console</value>
|
||||
</data>
|
||||
@@ -518,27 +521,15 @@ Tip: Most of the scenes have no effect and cannot be entered.</value>
|
||||
<data name="TPStats.Text" xml:space="preserve">
|
||||
<value>Stats</value>
|
||||
</data>
|
||||
<data name="LblResetStatsCommand.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>126, 135</value>
|
||||
</data>
|
||||
<data name="LblResetStatsCommand.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>112, 17</value>
|
||||
</data>
|
||||
<data name="LblResetStatsCommand.Text" xml:space="preserve">
|
||||
<value>When getting CEP</value>
|
||||
</data>
|
||||
<data name="LblResetStatsTip.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>235, 135</value>
|
||||
</data>
|
||||
<data name="LblResetStatsTip.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>243, 17</value>
|
||||
</data>
|
||||
<data name="LblResetStatsTip.Text" xml:space="preserve">
|
||||
<value>the current character's stats will be reset</value>
|
||||
</data>
|
||||
<data name="GrpSetStats.Text" xml:space="preserve">
|
||||
<value>Stats</value>
|
||||
</data>
|
||||
<data name="BtnUnlockStat.Text" xml:space="preserve">
|
||||
<value>Unlock</value>
|
||||
</data>
|
||||
<data name="BtnLockStat.Text" xml:space="preserve">
|
||||
<value>Lock</value>
|
||||
</data>
|
||||
<data name="LblStatTip.Text" xml:space="preserve">
|
||||
<value>Tip</value>
|
||||
</data>
|
||||
@@ -865,4 +856,8 @@ Therefore, the quest can be added and finished, but not necessarily work.</value
|
||||
<data name="ChkIncludeUID.Text" xml:space="preserve">
|
||||
<value>Include UID</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>Inherit</value>
|
||||
</data>
|
||||
</root>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -220,6 +220,9 @@
|
||||
<data name="BtnSendVerificationCode.Text" xml:space="preserve">
|
||||
<value>Отправить код</value>
|
||||
</data>
|
||||
<data name="TPConsoleCheck.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>296, 111</value>
|
||||
</data>
|
||||
<data name="TPConsoleCheck.Text" xml:space="preserve">
|
||||
<value>консоль</value>
|
||||
</data>
|
||||
@@ -567,27 +570,15 @@
|
||||
<data name="TPStats.Text" xml:space="preserve">
|
||||
<value>Статы</value>
|
||||
</data>
|
||||
<data name="LblResetStatsCommand.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>88, 135</value>
|
||||
</data>
|
||||
<data name="LblResetStatsCommand.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>130, 17</value>
|
||||
</data>
|
||||
<data name="LblResetStatsCommand.Text" xml:space="preserve">
|
||||
<value>При получении CEP</value>
|
||||
</data>
|
||||
<data name="LblResetStatsTip.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>214, 135</value>
|
||||
</data>
|
||||
<data name="LblResetStatsTip.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>301, 17</value>
|
||||
</data>
|
||||
<data name="LblResetStatsTip.Text" xml:space="preserve">
|
||||
<value>атрибуты текущего персонажа будут сброшены</value>
|
||||
</data>
|
||||
<data name="GrpSetStats.Text" xml:space="preserve">
|
||||
<value>Статистика</value>
|
||||
</data>
|
||||
<data name="BtnUnlockStat.Text" xml:space="preserve">
|
||||
<value>разморозить</value>
|
||||
</data>
|
||||
<data name="BtnLockStat.Text" xml:space="preserve">
|
||||
<value>заморозить</value>
|
||||
</data>
|
||||
<data name="LblStatTip.Text" xml:space="preserve">
|
||||
<value>Совет</value>
|
||||
</data>
|
||||
@@ -986,6 +977,10 @@
|
||||
<data name="ChkIncludeUID.Text" xml:space="preserve">
|
||||
<value>Включить UID</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>Inherit</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>GrasscutterTools - перевод Юрий Дворецкий</value>
|
||||
</data>
|
||||
|
||||
@@ -123,11 +123,14 @@
|
||||
<data name="ChkAutoCopy.Text" xml:space="preserve">
|
||||
<value>自動</value>
|
||||
</data>
|
||||
<data name="GrpCommand.Text" xml:space="preserve">
|
||||
<value>命令(按住 Ctrl 自動執行)</value>
|
||||
</data>
|
||||
<data name="BtnInvokeOpenCommand.Text" xml:space="preserve">
|
||||
<value>執行(F5)</value>
|
||||
</data>
|
||||
<data name="GrpCommand.Text" xml:space="preserve">
|
||||
<value>命令(按住 Ctrl 自動執行)</value>
|
||||
<data name="TPRemoteCall.Text" xml:space="preserve">
|
||||
<value>遠程</value>
|
||||
</data>
|
||||
<data name="LnkInventoryKamera.Text" xml:space="preserve">
|
||||
<value>存檔掃描開源工具</value>
|
||||
@@ -145,6 +148,9 @@
|
||||
<data name="LblHostTip.Text" xml:space="preserve">
|
||||
<value>請確保地址中包含 http:// 或 https://</value>
|
||||
</data>
|
||||
<data name="GrpServerStatus.Text" xml:space="preserve">
|
||||
<value>伺服器狀態</value>
|
||||
</data>
|
||||
<data name="LnkOpenCommandLabel.Text" xml:space="preserve">
|
||||
<value>遠程執行插件</value>
|
||||
</data>
|
||||
@@ -154,8 +160,11 @@
|
||||
<data name="LblPlayerCountLabel.Text" xml:space="preserve">
|
||||
<value>當前玩家數</value>
|
||||
</data>
|
||||
<data name="GrpServerStatus.Text" xml:space="preserve">
|
||||
<value>伺服器狀態</value>
|
||||
<data name="GrpRemoteCommand.Text" xml:space="preserve">
|
||||
<value>遠程執行</value>
|
||||
</data>
|
||||
<data name="TPPlayerCheck.Text" xml:space="preserve">
|
||||
<value>玩家驗證</value>
|
||||
</data>
|
||||
<data name="LnkRCHelp.Text" xml:space="preserve">
|
||||
<value>幫助</value>
|
||||
@@ -169,8 +178,8 @@
|
||||
<data name="BtnSendVerificationCode.Text" xml:space="preserve">
|
||||
<value>發送驗證碼</value>
|
||||
</data>
|
||||
<data name="TPPlayerCheck.Text" xml:space="preserve">
|
||||
<value>玩家驗證</value>
|
||||
<data name="TPConsoleCheck.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>296, 111</value>
|
||||
</data>
|
||||
<data name="BtnConsoleConnect.Text" xml:space="preserve">
|
||||
<value>連接</value>
|
||||
@@ -179,17 +188,14 @@
|
||||
<value>請注意,控制台狀態下普通命令必須指定目標
|
||||
(即設置包含UID)</value>
|
||||
</data>
|
||||
<data name="GrpRemoteCommand.Text" xml:space="preserve">
|
||||
<value>遠程執行</value>
|
||||
</data>
|
||||
<data name="BtnQueryServerStatus.Text" xml:space="preserve">
|
||||
<value>查詢</value>
|
||||
</data>
|
||||
<data name="LblHost.Text" xml:space="preserve">
|
||||
<value>伺服器地址</value>
|
||||
</data>
|
||||
<data name="TPRemoteCall.Text" xml:space="preserve">
|
||||
<value>遠程</value>
|
||||
<data name="TPAbout.Text" xml:space="preserve">
|
||||
<value>關於</value>
|
||||
</data>
|
||||
<data name="LblSupportDescription.Text" xml:space="preserve">
|
||||
<value>割草機工具箱
|
||||
@@ -199,15 +205,15 @@
|
||||
如果願意請我喝一杯奶茶,那就更好了 : )
|
||||
指令生成有問題,或者有新的功能請求,都可以來Github提出</value>
|
||||
</data>
|
||||
<data name="TPAbout.Text" xml:space="preserve">
|
||||
<value>關於</value>
|
||||
</data>
|
||||
<data name="BtnBan.Text" xml:space="preserve">
|
||||
<value>封號</value>
|
||||
</data>
|
||||
<data name="LblBanUID.Text" xml:space="preserve">
|
||||
<value>目標UID</value>
|
||||
</data>
|
||||
<data name="GrpAccount.Text" xml:space="preserve">
|
||||
<value>賬號管理</value>
|
||||
</data>
|
||||
<data name="BtnDeleteAccount.Text" xml:space="preserve">
|
||||
<value>- 刪除</value>
|
||||
</data>
|
||||
@@ -217,8 +223,8 @@
|
||||
<data name="LblAccountUserName.Text" xml:space="preserve">
|
||||
<value>用戶名</value>
|
||||
</data>
|
||||
<data name="GrpAccount.Text" xml:space="preserve">
|
||||
<value>賬號管理</value>
|
||||
<data name="GrpPermission.Text" xml:space="preserve">
|
||||
<value>權限管理</value>
|
||||
</data>
|
||||
<data name="LblPerm.Text" xml:space="preserve">
|
||||
<value>權限</value>
|
||||
@@ -226,8 +232,8 @@
|
||||
<data name="LblPermUID.Text" xml:space="preserve">
|
||||
<value>目標UID</value>
|
||||
</data>
|
||||
<data name="GrpPermission.Text" xml:space="preserve">
|
||||
<value>權限管理</value>
|
||||
<data name="TPScene.Text" xml:space="preserve">
|
||||
<value>場景</value>
|
||||
</data>
|
||||
<data name="ChkIncludeSceneId.Text" xml:space="preserve">
|
||||
<value>含場景ID</value>
|
||||
@@ -248,9 +254,6 @@
|
||||
|
||||
提示:大部分場景沒有作用,無法進入。</value>
|
||||
</data>
|
||||
<data name="TPScene.Text" xml:space="preserve">
|
||||
<value>場景</value>
|
||||
</data>
|
||||
<data name="BtnSaveGiveItemLog.Text" xml:space="preserve">
|
||||
<value>√ 記錄</value>
|
||||
</data>
|
||||
@@ -290,27 +293,27 @@
|
||||
<data name="LblWeaponLevel.Text" xml:space="preserve">
|
||||
<value>等級</value>
|
||||
</data>
|
||||
<data name="LblResetStatsCommand.Text" xml:space="preserve">
|
||||
<value>獲得角色經驗時</value>
|
||||
</data>
|
||||
<data name="LblResetStatsTip.Text" xml:space="preserve">
|
||||
<value>當前角色屬性將會重置</value>
|
||||
<data name="TPStats.Text" xml:space="preserve">
|
||||
<value>數據</value>
|
||||
</data>
|
||||
<data name="GrpSetStats.Text" xml:space="preserve">
|
||||
<value>角色屬性</value>
|
||||
</data>
|
||||
<data name="LnkTalentNormalATK.Text" xml:space="preserve">
|
||||
<value>普通攻擊</value>
|
||||
<data name="BtnUnlockStat.Text" xml:space="preserve">
|
||||
<value>解鎖</value>
|
||||
</data>
|
||||
<data name="BtnLockStat.Text" xml:space="preserve">
|
||||
<value>鎖定</value>
|
||||
</data>
|
||||
<data name="GrpTalentLevel.Text" xml:space="preserve">
|
||||
<value>技能等級</value>
|
||||
</data>
|
||||
<data name="LnkTalentNormalATK.Text" xml:space="preserve">
|
||||
<value>普通攻擊</value>
|
||||
</data>
|
||||
<data name="LblStatsDescription.Text" xml:space="preserve">
|
||||
<value>設置當前活躍角色數據</value>
|
||||
</data>
|
||||
<data name="TPStats.Text" xml:space="preserve">
|
||||
<value>數據</value>
|
||||
</data>
|
||||
<data name="BtnGiveAllChar.Text" xml:space="preserve">
|
||||
<value>一鍵獲得所有角色</value>
|
||||
</data>
|
||||
@@ -326,15 +329,15 @@
|
||||
<data name="GrpSpawnRecord.Text" xml:space="preserve">
|
||||
<value>生成記錄本</value>
|
||||
</data>
|
||||
<data name="GrpEntityType.Text" xml:space="preserve">
|
||||
<value>列表分類</value>
|
||||
</data>
|
||||
<data name="RbEntityAnimal.Text" xml:space="preserve">
|
||||
<value>生物誌</value>
|
||||
</data>
|
||||
<data name="RbEntityMonster.Text" xml:space="preserve">
|
||||
<value>討伐對象</value>
|
||||
</data>
|
||||
<data name="GrpEntityType.Text" xml:space="preserve">
|
||||
<value>列表分類</value>
|
||||
</data>
|
||||
<data name="LblSpawnDescription.Text" xml:space="preserve">
|
||||
<value>在玩家附近召喚生物</value>
|
||||
</data>
|
||||
@@ -344,6 +347,12 @@
|
||||
<data name="LblEntityLevel.Text" xml:space="preserve">
|
||||
<value>等級</value>
|
||||
</data>
|
||||
<data name="TPQuest.Text" xml:space="preserve">
|
||||
<value>任務</value>
|
||||
</data>
|
||||
<data name="GrpQuestFilters.Text" xml:space="preserve">
|
||||
<value>列表過濾</value>
|
||||
</data>
|
||||
<data name="ChkQuestFilterTEST.Text" xml:space="preserve">
|
||||
<value>測試任務</value>
|
||||
</data>
|
||||
@@ -353,9 +362,6 @@
|
||||
<data name="ChkQuestFilterHIDDEN.Text" xml:space="preserve">
|
||||
<value>隱藏的任務</value>
|
||||
</data>
|
||||
<data name="GrpQuestFilters.Text" xml:space="preserve">
|
||||
<value>列表過濾</value>
|
||||
</data>
|
||||
<data name="BtnFinishQuest.Text" xml:space="preserve">
|
||||
<value>完成任務</value>
|
||||
</data>
|
||||
@@ -367,8 +373,8 @@
|
||||
提示:許多任務需要服務端腳本支持
|
||||
囙此任務可以接,可以完成,但是不一定可以做</value>
|
||||
</data>
|
||||
<data name="TPQuest.Text" xml:space="preserve">
|
||||
<value>任務</value>
|
||||
<data name="TPArtifact.Text" xml:space="preserve">
|
||||
<value>聖遺物</value>
|
||||
</data>
|
||||
<data name="LblArtifactSet.Text" xml:space="preserve">
|
||||
<value>套裝</value>
|
||||
@@ -385,8 +391,8 @@
|
||||
<data name="LblArtifactStars.Text" xml:space="preserve">
|
||||
<value>星級</value>
|
||||
</data>
|
||||
<data name="TPArtifact.Text" xml:space="preserve">
|
||||
<value>聖遺物</value>
|
||||
<data name="TPCustom.Text" xml:space="preserve">
|
||||
<value>自定義</value>
|
||||
</data>
|
||||
<data name="BtnExportCustomCommands.Text" xml:space="preserve">
|
||||
<value>導出</value>
|
||||
@@ -400,8 +406,8 @@
|
||||
<data name="BtnRemoveCustomCommand.Text" xml:space="preserve">
|
||||
<value>× 刪除</value>
|
||||
</data>
|
||||
<data name="TPCustom.Text" xml:space="preserve">
|
||||
<value>自定義</value>
|
||||
<data name="TPHome.Text" xml:space="preserve">
|
||||
<value>主頁</value>
|
||||
</data>
|
||||
<data name="BtnOpenTextMap.Text" xml:space="preserve">
|
||||
<value>文本瀏覽器</value>
|
||||
@@ -412,7 +418,8 @@
|
||||
<data name="ChkTopMost.Text" xml:space="preserve">
|
||||
<value>置頂</value>
|
||||
</data>
|
||||
<data name="TPHome.Text" xml:space="preserve">
|
||||
<value>主頁</value>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="$this.ImeMode" type="System.Windows.Forms.ImeMode, System.Windows.Forms">
|
||||
<value>Inherit</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -18,7 +18,6 @@
|
||||
**/
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Windows.Forms;
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
**/
|
||||
using System.ComponentModel;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props" Condition="Exists('..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props')" />
|
||||
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
@@ -40,160 +38,18 @@
|
||||
<PropertyGroup>
|
||||
<ApplicationIcon>Resources\IconGrasscutter.ico</ApplicationIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup />
|
||||
<ItemGroup>
|
||||
<Reference Include="Costura, Version=5.7.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Costura.Fody.5.7.0\lib\netstandard1.0\Costura.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Build.Framework" />
|
||||
<Reference Include="Microsoft.Build.Utilities.v4.0" />
|
||||
<Reference Include="Microsoft.Win32.Primitives, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Win32.Primitives.4.3.0\lib\net46\Microsoft.Win32.Primitives.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>Resources\Newtonsoft.Json.dll</HintPath>
|
||||
<EmbedInteropTypes>False</EmbedInteropTypes>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.AppContext, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.AppContext.4.3.0\lib\net463\System.AppContext.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.Composition" />
|
||||
<Reference Include="System.Console, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Console.4.3.0\lib\net46\System.Console.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.4.3.0\lib\net46\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Diagnostics.Tracing, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.Tracing.4.3.0\lib\net462\System.Diagnostics.Tracing.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Globalization.Calendars, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Globalization.Calendars.4.3.0\lib\net46\System.Globalization.Calendars.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.IO, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.4.3.0\lib\net462\System.IO.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Compression, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Compression.FileSystem" />
|
||||
<Reference Include="System.IO.Compression.ZipFile, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.ZipFile.4.3.0\lib\net46\System.IO.Compression.ZipFile.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.FileSystem, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.FileSystem.4.3.0\lib\net46\System.IO.FileSystem.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.FileSystem.Primitives, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.FileSystem.Primitives.4.3.0\lib\net46\System.IO.FileSystem.Primitives.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Linq, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Linq.4.3.0\lib\net463\System.Linq.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Linq.Expressions, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Linq.Expressions.4.3.0\lib\net463\System.Linq.Expressions.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Http, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Net.Http.4.3.0\lib\net46\System.Net.Http.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Net.Sockets, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Net.Sockets.4.3.0\lib\net46\System.Net.Sockets.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Reflection, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Reflection.4.3.0\lib\net462\System.Reflection.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.4.3.0\lib\net462\System.Runtime.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Extensions, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.Extensions.4.3.0\lib\net462\System.Runtime.Extensions.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.4.3.0\lib\net463\System.Runtime.InteropServices.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.0\lib\net463\System.Security.Cryptography.Algorithms.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Encoding, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Encoding.4.3.0\lib\net46\System.Security.Cryptography.Encoding.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.X509Certificates, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.X509Certificates.4.3.0\lib\net461\System.Security.Cryptography.X509Certificates.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Text.RegularExpressions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.RegularExpressions.4.3.0\lib\net463\System.Text.RegularExpressions.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Forms.DataVisualization" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Xml.ReaderWriter, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Xml.ReaderWriter.4.3.0\lib\net46\System.Xml.ReaderWriter.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controls\TextBoxXP.cs">
|
||||
@@ -233,7 +89,6 @@
|
||||
<Compile Include="Game\ItemMap.cs" />
|
||||
<Compile Include="Game\SetStatsCommand.cs" />
|
||||
<Compile Include="Game\TextMapData.cs" />
|
||||
<Compile Include="Github\ReleaseAPI.cs" />
|
||||
<Compile Include="GOOD\GOOD.cs" />
|
||||
<Compile Include="GOOD\Artifact.cs" />
|
||||
<Compile Include="GOOD\Character.cs" />
|
||||
@@ -250,6 +105,7 @@
|
||||
</Compile>
|
||||
<Compile Include="Utils\ArtifactUtils.cs" />
|
||||
<Compile Include="Utils\HttpHelper.cs" />
|
||||
<Compile Include="Utils\ReleaseAPI.cs" />
|
||||
<EmbeddedResource Include="Forms\FormGachaBannerEditor2.en-us.resx">
|
||||
<DependentUpon>FormGachaBannerEditor2.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
@@ -287,6 +143,7 @@
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\FormMain.zh-TW.resx">
|
||||
<DependentUpon>FormMain.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\FormTextMapBrowser.en-US.resx">
|
||||
<DependentUpon>FormTextMapBrowser.cs</DependentUpon>
|
||||
@@ -335,8 +192,6 @@
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\app.manifest" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
@@ -369,6 +224,7 @@
|
||||
<Content Include="Resources\en-us\Quest.txt" />
|
||||
<Content Include="Resources\en-us\Scene.txt" />
|
||||
<Content Include="Resources\en-us\Weapon.txt" />
|
||||
<None Include="Resources\Newtonsoft.Json.dll" />
|
||||
<Content Include="Resources\ru-ru\Animal.txt" />
|
||||
<Content Include="Resources\ru-ru\Artifact.txt" />
|
||||
<Content Include="Resources\ru-ru\ArtifactCat.txt" />
|
||||
@@ -425,24 +281,11 @@
|
||||
<ProductName>Microsoft .NET Framework 4.8 %28x86 和 x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Resource.Embedder">
|
||||
<Version>2.2.0</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>这台计算机上缺少此项目引用的 NuGet 程序包。使用“NuGet 程序包还原”可下载这些程序包。有关更多信息,请参见 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.props'))" />
|
||||
<Error Condition="!Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Fody.6.6.1\build\Fody.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Fody.6.6.1\build\Fody.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Resource.Embedder.2.2.0\build\Resource.Embedder.props'))" />
|
||||
<Error Condition="!Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets" Condition="Exists('..\packages\Costura.Fody.5.7.0\build\Costura.Fody.targets')" />
|
||||
<Import Project="..\packages\Fody.6.6.1\build\Fody.targets" Condition="Exists('..\packages\Fody.6.6.1\build\Fody.targets')" />
|
||||
<Import Project="..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('..\packages\NETStandard.Library.2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
|
||||
</Project>
|
||||
@@ -17,6 +17,8 @@
|
||||
*
|
||||
**/
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading;
|
||||
using System.Windows.Forms;
|
||||
@@ -27,6 +29,33 @@ namespace GrasscutterTools
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
static Program()
|
||||
{
|
||||
AppDomain.CurrentDomain.AssemblyResolve += OnResolveAssembly;
|
||||
}
|
||||
|
||||
private static Assembly OnResolveAssembly(object sender, ResolveEventArgs args)
|
||||
{
|
||||
//var executingAssembly = Assembly.GetExecutingAssembly();
|
||||
//var assemblyName = new AssemblyName(args.Name);
|
||||
|
||||
//var path = assemblyName.Name + ".dll";
|
||||
//if (assemblyName.CultureInfo.Equals(CultureInfo.InvariantCulture) == false)
|
||||
// path = $@"{assemblyName.CultureInfo}\{path}";
|
||||
//using (var stream = executingAssembly.GetManifestResourceStream(path))
|
||||
//{
|
||||
// if (stream == null) return null;
|
||||
// var assemblyRawBytes = new byte[stream.Length];
|
||||
// stream.Read(assemblyRawBytes, 0, assemblyRawBytes.Length);
|
||||
// return Assembly.Load(assemblyRawBytes);
|
||||
//}
|
||||
|
||||
// 手工加载嵌入的dll文件
|
||||
if (new AssemblyName(args.Name).Name == "Newtonsoft.Json")
|
||||
return Assembly.Load(Resources.Newtonsoft_Json);
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 应用程序的主入口点。
|
||||
/// </summary>
|
||||
|
||||
@@ -5,12 +5,12 @@ using System.Runtime.InteropServices;
|
||||
// 控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("GrasscutterTools")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyDescription("Grasscutter Command Generator")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyCompany("jie65535")]
|
||||
[assembly: AssemblyProduct("GrasscutterTools")]
|
||||
[assembly: AssemblyCopyright("Copyright © jie65535 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyTrademark("jie65535")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
|
||||
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
|
||||
//通过使用 "*",如下所示:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.6.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0")]
|
||||
[assembly: AssemblyVersion("1.6.2")]
|
||||
[assembly: AssemblyFileVersion("1.6.2")]
|
||||
772
Source/GrasscutterTools/Properties/Resources.Designer.cs
generated
772
Source/GrasscutterTools/Properties/Resources.Designer.cs
generated
@@ -61,40 +61,43 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 28010101: 黄金蟹
|
||||
///28010102: 太阳蟹
|
||||
///28010103: 海蓝蟹
|
||||
///28010104: 将军蟹
|
||||
///28010105: 薄红蟹
|
||||
///28010106: 螃蟹
|
||||
///28010201: 蓝角蜥
|
||||
///28010202: 红角蜥
|
||||
///28010203: 绿角蜥
|
||||
///28010204: 落日鳅鳅
|
||||
///28010205: 金鳅鳅
|
||||
///28010206: 晴天鳅鳅
|
||||
///28010207: 嗜髓蜥
|
||||
///28010301: 青蛙
|
||||
///28010302: 泥蛙
|
||||
///28010303: 蓝蛙
|
||||
///28010401: 藤纹陆鳗鳗
|
||||
///28010402: 深海鳗鳗
|
||||
///28010403: 赤鳍陆鳗鳗
|
||||
///28020101: 雪狐
|
||||
///28020102: 红狐
|
||||
///28020103: 送礼雪狐
|
||||
///28020104: 送大礼雪狐
|
||||
///28020105: 雪狐
|
||||
///28020106: 红狐
|
||||
///28020201: 松鼠
|
||||
///28020301: 野林猪
|
||||
///28020302: 小野林猪
|
||||
///28020303: 雪猪
|
||||
///28020304: 「大雪猪王」
|
||||
///28020305: 冰冻雪猪
|
||||
///28020306: 雪猪
|
||||
///28020307: 野林猪
|
||||
///28020308: 冰冻雪 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// 查找类似 28010101:黄金蟹
|
||||
///28010102:太阳蟹
|
||||
///28010103:海蓝蟹
|
||||
///28010104:将军蟹
|
||||
///28010105:薄红蟹
|
||||
///28010106:螃蟹
|
||||
///28010201:蓝角蜥
|
||||
///28010202:红角蜥
|
||||
///28010203:绿角蜥
|
||||
///28010204:落日鳅鳅
|
||||
///28010205:金鳅鳅
|
||||
///28010206:晴天鳅鳅
|
||||
///28010207:嗜髓蜥
|
||||
///28010301:青蛙
|
||||
///28010302:泥蛙
|
||||
///28010303:蓝蛙
|
||||
///28010401:藤纹陆鳗鳗
|
||||
///28010402:深海鳗鳗
|
||||
///28010403:赤鳍陆鳗鳗
|
||||
///28020101:雪狐
|
||||
///28020102:红狐
|
||||
///28020103:送礼雪狐
|
||||
///28020104:送大礼雪狐
|
||||
///28020105:雪狐
|
||||
///28020106:红狐
|
||||
///28020201:松鼠
|
||||
///28020301:野林猪
|
||||
///28020302:小野林猪
|
||||
///28020303:雪猪
|
||||
///28020304:「大雪猪王」
|
||||
///28020305:冰冻雪猪
|
||||
///28020306:雪猪
|
||||
///28020307:野林猪
|
||||
///28020308:冰冻雪猪
|
||||
///28020309:「大雪猪王」
|
||||
///28020401:北地犬
|
||||
/// [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Animal {
|
||||
get {
|
||||
@@ -103,46 +106,46 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 51110: 异国之盏
|
||||
///51111: 异国之盏
|
||||
///51112: 异国之盏
|
||||
///51113: 异国之盏
|
||||
///51114: 异国之盏
|
||||
///51120: 归乡之羽
|
||||
///51121: 归乡之羽
|
||||
///51122: 归乡之羽
|
||||
///51123: 归乡之羽
|
||||
///51124: 归乡之羽
|
||||
///51130: 感别之冠
|
||||
///51131: 感别之冠
|
||||
///51132: 感别之冠
|
||||
///51133: 感别之冠
|
||||
///51134: 感别之冠
|
||||
///51140: 故人之心
|
||||
///51141: 故人之心
|
||||
///51142: 故人之心
|
||||
///51143: 故人之心
|
||||
///51144: 故人之心
|
||||
///51150: 逐光之石
|
||||
///51151: 逐光之石
|
||||
///51152: 逐光之石
|
||||
///51153: 逐光之石
|
||||
///51154: 逐光之石
|
||||
///51210: 异国之盏
|
||||
///51211: 异国之盏
|
||||
///51212: 异国之盏
|
||||
///51213: 异国之盏
|
||||
///51214: 异国之盏
|
||||
///51220: 归乡之羽
|
||||
///51221: 归乡之羽
|
||||
///51222: 归乡之羽
|
||||
///51223: 归乡之羽
|
||||
///51224: 归乡之羽
|
||||
///51230: 感别之冠
|
||||
///51231: 感别之冠
|
||||
///51232: 感别之冠
|
||||
///51233: 感别之冠
|
||||
///51234 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// 查找类似 20412:迷误者之灯
|
||||
///20413:迷误者之灯
|
||||
///20422:翠蔓的智者
|
||||
///20423:翠蔓的智者
|
||||
///20432:月桂的宝冠
|
||||
///20433:月桂的宝冠
|
||||
///20442:迷宫的游人
|
||||
///20443:迷宫的游人
|
||||
///20452:贤智的定期
|
||||
///20453:贤智的定期
|
||||
///20513:迷误者之灯
|
||||
///20514:迷误者之灯
|
||||
///20523:翠蔓的智者
|
||||
///20524:翠蔓的智者
|
||||
///20533:月桂的宝冠
|
||||
///20534:月桂的宝冠
|
||||
///20543:迷宫的游人
|
||||
///20544:迷宫的游人
|
||||
///20553:贤智的定期
|
||||
///20554:贤智的定期
|
||||
///21412:如蜜的终宴
|
||||
///21413:如蜜的终宴
|
||||
///21422:裁断的翎羽
|
||||
///21423:裁断的翎羽
|
||||
///21432:沙王的投影
|
||||
///21433:沙王的投影
|
||||
///21442:梦中的铁花
|
||||
///21443:梦中的铁花
|
||||
///21452:沉金的岁月
|
||||
///21453:沉金的岁月
|
||||
///21513:如蜜的终宴
|
||||
///21514:如蜜的终宴
|
||||
///21523:裁断的翎羽
|
||||
///21524:裁断的翎羽
|
||||
///21533:沙王的投影
|
||||
///21534:沙王的投影
|
||||
///21543:梦中的铁花
|
||||
///21544:梦中的铁花
|
||||
///21553:沉金的岁月
|
||||
///21554 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Artifact {
|
||||
get {
|
||||
@@ -151,48 +154,50 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 51: 行者之心
|
||||
///52: 勇士之心
|
||||
///53: 守护之心
|
||||
///54: 奇迹
|
||||
///55: 战狂
|
||||
///56: 武人
|
||||
///57: 教官
|
||||
///58: 赌徒
|
||||
///59: 流放者
|
||||
///60: 冒险家
|
||||
///61: 幸运儿
|
||||
///62: 学士
|
||||
///63: 游医
|
||||
///71: 冰风迷途的勇士
|
||||
///72: 平息鸣雷的尊者
|
||||
///73: 渡过烈火的贤人
|
||||
///74: 被怜爱的少女
|
||||
///75: 角斗士的终幕礼
|
||||
///76: 翠绿之影
|
||||
///77: 流浪大地的乐团
|
||||
///78: 冰之川与雪之砂
|
||||
///79: 如雷的盛怒
|
||||
///80: 炽烈的炎之魔女
|
||||
///81: 昔日宗室之仪
|
||||
///82: 染血的骑士道
|
||||
///83: 祭火之人
|
||||
///84: 祭水之人
|
||||
///85: 祭雷之人
|
||||
///86: 祭风之人
|
||||
///87: 祭冰之人
|
||||
///88: 悠古的磐岩
|
||||
///89: 逆飞的流星
|
||||
///90: 沉沦之心
|
||||
///91: 千岩牢固
|
||||
///92: 苍白之火
|
||||
///93: 追忆之注连
|
||||
///94: 绝缘之旗印
|
||||
///95: 华馆梦醒形骸记
|
||||
///96: 海染砗磲
|
||||
///97: 辰砂往生录
|
||||
///98: 来歆余响
|
||||
///99: 高天的风之主 的本地化字符串。
|
||||
/// 查找类似 20:深林的记忆
|
||||
///21:饰金之梦
|
||||
///51:行者之心
|
||||
///52:勇士之心
|
||||
///53:守护之心
|
||||
///54:奇迹
|
||||
///55:战狂
|
||||
///56:武人
|
||||
///57:教官
|
||||
///58:赌徒
|
||||
///59:流放者
|
||||
///60:冒险家
|
||||
///61:幸运儿
|
||||
///62:学士
|
||||
///63:游医
|
||||
///71:冰风迷途的勇士
|
||||
///72:平息鸣雷的尊者
|
||||
///73:渡过烈火的贤人
|
||||
///74:被怜爱的少女
|
||||
///75:角斗士的终幕礼
|
||||
///76:翠绿之影
|
||||
///77:流浪大地的乐团
|
||||
///78:冰之川与雪之砂
|
||||
///79:如雷的盛怒
|
||||
///80:炽烈的炎之魔女
|
||||
///81:昔日宗室之仪
|
||||
///82:染血的骑士道
|
||||
///83:祭火之人
|
||||
///84:祭水之人
|
||||
///85:祭雷之人
|
||||
///86:祭风之人
|
||||
///87:祭冰之人
|
||||
///88:悠古的磐岩
|
||||
///89:逆飞的流星
|
||||
///90:沉沦之心
|
||||
///91:千岩牢固
|
||||
///92:苍白之火
|
||||
///93:追忆之注连
|
||||
///94:绝缘之旗印
|
||||
///95:华馆梦醒形骸记
|
||||
///96:海染砗磲
|
||||
///97:辰砂往生录
|
||||
///98:来歆余响
|
||||
///99:高天的风之主 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string ArtifactCat {
|
||||
get {
|
||||
@@ -301,55 +306,60 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 1002: 神里绫华
|
||||
///1003: 琴
|
||||
///1005: 空
|
||||
///1006: 丽莎
|
||||
///1007: 荧
|
||||
///1014: 芭芭拉
|
||||
///1015: 凯亚
|
||||
///1016: 迪卢克
|
||||
///1020: 雷泽
|
||||
///1021: 安柏
|
||||
///1022: 温迪
|
||||
///1023: 香菱
|
||||
///1024: 北斗
|
||||
///1025: 行秋
|
||||
///1026: 魈
|
||||
///1027: 凝光
|
||||
///1029: 可莉
|
||||
///1030: 钟离
|
||||
///1031: 菲谢尔
|
||||
///1032: 班尼特
|
||||
///1033: 达达利亚
|
||||
///1034: 诺艾尔
|
||||
///1035: 七七
|
||||
///1036: 重云
|
||||
///1037: 甘雨
|
||||
///1038: 阿贝多
|
||||
///1039: 迪奥娜
|
||||
///1041: 莫娜
|
||||
///1042: 刻晴
|
||||
///1043: 砂糖
|
||||
///1044: 辛焱
|
||||
///1045: 罗莎莉亚
|
||||
///1046: 胡桃
|
||||
///1047: 枫原万叶
|
||||
///1048: 烟绯
|
||||
///1049: 宵宫
|
||||
///1050: 托马
|
||||
///1051: 优菈
|
||||
///1052: 雷电将军
|
||||
///1053: 早柚
|
||||
///1054: 珊瑚宫心海
|
||||
///1055: 五郎
|
||||
///1056: 九条裟罗
|
||||
///1057: 荒泷一斗
|
||||
///1058: 八重神子
|
||||
///1060: 夜兰
|
||||
///1062: 埃洛伊
|
||||
///1063: 申鹤
|
||||
///1064: 云堇
|
||||
/// 查找类似 1002:神里绫华
|
||||
///1003:琴
|
||||
///1005:空
|
||||
///1006:丽莎
|
||||
///1007:荧
|
||||
///1014:芭芭拉
|
||||
///1015:凯亚
|
||||
///1016:迪卢克
|
||||
///1020:雷泽
|
||||
///1021:安柏
|
||||
///1022:温迪
|
||||
///1023:香菱
|
||||
///1024:北斗
|
||||
///1025:行秋
|
||||
///1026:魈
|
||||
///1027:凝光
|
||||
///1029:可莉
|
||||
///1030:钟离
|
||||
///1031:菲谢尔
|
||||
///1032:班尼特
|
||||
///1033:达达利亚
|
||||
///1034:诺艾尔
|
||||
///1035:七七
|
||||
///1036:重云
|
||||
///1037:甘雨
|
||||
///1038:阿贝多
|
||||
///1039:迪奥娜
|
||||
///1041:莫娜
|
||||
///1042:刻晴
|
||||
///1043:砂糖
|
||||
///1044:辛焱
|
||||
///1045:罗莎莉亚
|
||||
///1046:胡桃
|
||||
///1047:枫原万叶
|
||||
///1048:烟绯
|
||||
///1049:宵宫
|
||||
///1050:托马
|
||||
///1051:优菈
|
||||
///1052:雷电将军
|
||||
///1053:早柚
|
||||
///1054:珊瑚宫心海
|
||||
///1055:五郎
|
||||
///1056:九条裟罗
|
||||
///1057:荒泷一斗
|
||||
///1058:八重神子
|
||||
///1059:鹿野院平藏
|
||||
///1060:夜兰
|
||||
///1062:埃洛伊
|
||||
///1063:申鹤
|
||||
///1064:云堇
|
||||
///1065:久岐忍
|
||||
///1066:神里绫人
|
||||
///1067:柯莱
|
||||
///1068:多 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Avatar {
|
||||
get {
|
||||
@@ -507,6 +517,8 @@ namespace GrasscutterTools.Properties {
|
||||
////give 102 x1880200
|
||||
///设置世界等级
|
||||
////prop wl 8
|
||||
///点亮地图
|
||||
////prop unlockmap 1
|
||||
///一键解锁深渊
|
||||
////prop ut 12
|
||||
///设置纪行等级
|
||||
@@ -529,8 +541,8 @@ namespace GrasscutterTools.Properties {
|
||||
////give 224 x10000
|
||||
///十万原石
|
||||
////give 201 x100000
|
||||
////give 201 x100000
|
||||
///十万摩拉
|
||||
///一亿摩拉
|
||||
////give 202 x100000000
|
||||
///重载配置
|
||||
////reload
|
||||
///重登
|
||||
@@ -542,9 +554,7 @@ namespace GrasscutterTools.Properties {
|
||||
///清空背包
|
||||
////clear all lv90 r5 5*
|
||||
///清空武器
|
||||
///清空武器
|
||||
////clear wp lv90 r5 5*
|
||||
///清空圣遗物
|
||||
//// [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string CustomCommands {
|
||||
get {
|
||||
@@ -562,43 +572,45 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 查找类似 007: 初行者推荐祈愿
|
||||
///008: 奔行世间
|
||||
///009: 杯装之诗
|
||||
///010: 黎明巡礼
|
||||
///011: 南风之眷
|
||||
///012: 靖妖傩舞
|
||||
///013: 神铸赋形
|
||||
///015: 闪焰的驻足
|
||||
///016: 初行者推荐祈愿
|
||||
///017: 奔行世间
|
||||
///018: 闪焰的驻足
|
||||
///019: 杯装之诗
|
||||
///020: 神铸赋形
|
||||
///021: 神铸赋形
|
||||
///022: 奔行世间
|
||||
///023: 暂别冬都
|
||||
///024: 陵薮市朝
|
||||
///027: 深秘之息
|
||||
///028: 浮生孰来
|
||||
///031: 烟火之邀
|
||||
///032: 鱼龙灯昼
|
||||
///033: 赤团开时
|
||||
///036: 杯装之诗
|
||||
///037: 暂别冬都
|
||||
///040: 陵薮市朝
|
||||
///041: 浪涌之瞬
|
||||
///045: 叶落风随
|
||||
///048: 白鹭之庭
|
||||
///049: 焰色天河
|
||||
///052: 影寂天下人
|
||||
///053: 浮岳虹珠
|
||||
///061: 鬼门斗宴
|
||||
///065: 出尘入世
|
||||
///071: 华紫樱绯
|
||||
///076: 苍流踏花
|
||||
///081: 素霓伣天
|
||||
/// 查找类似 007:初行者推荐祈愿
|
||||
///008:奔行世间
|
||||
///009:杯装之诗
|
||||
///010:黎明巡礼
|
||||
///011:南风之眷
|
||||
///012:靖妖傩舞
|
||||
///013:神铸赋形
|
||||
///015:闪焰的驻足
|
||||
///016:初行者推荐祈愿
|
||||
///017:奔行世间
|
||||
///018:闪焰的驻足
|
||||
///019:杯装之诗
|
||||
///020:神铸赋形
|
||||
///021:神铸赋形
|
||||
///022:奔行世间
|
||||
///023:暂别冬都
|
||||
///024:陵薮市朝
|
||||
///027:深秘之息
|
||||
///028:浮生孰来
|
||||
///031:烟火之邀
|
||||
///032:鱼龙灯昼
|
||||
///033:赤团开时
|
||||
///036:杯装之诗
|
||||
///037:暂别冬都
|
||||
///040:陵薮市朝
|
||||
///041:浪涌之瞬
|
||||
///045:叶落风随
|
||||
///048:白鹭之庭
|
||||
///049:焰色天河
|
||||
///052:影寂天下人
|
||||
///053:浮岳虹珠
|
||||
///061:鬼门斗宴
|
||||
///065:出尘入世
|
||||
///071:华紫樱绯
|
||||
///076:苍流踏花
|
||||
///081:素霓伣天
|
||||
///091:提纳里池(非原名)
|
||||
///092:钟离池(非原名)
|
||||
///093:猎人之径池(非原名) 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string GachaBennerPrefab {
|
||||
get {
|
||||
@@ -683,52 +695,56 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 查找类似 101: 角色经验
|
||||
///102: 冒险阅历
|
||||
///103: 星尘
|
||||
///104: 星辉
|
||||
///105: 好感经验
|
||||
///106: 原粹树脂
|
||||
///107: 传说钥匙
|
||||
///108: (test)天体推演
|
||||
///109: 熄星能量
|
||||
///110: 熄星精粹
|
||||
///111: 微光精粹
|
||||
///112: 温暖精粹
|
||||
///113: 奇迹精粹
|
||||
///114: 铁钱
|
||||
///115: 平安玉符
|
||||
///116: 节庆热度
|
||||
///117: 奇术符
|
||||
///118: 庆典巡回券
|
||||
///119: 奇趣协力券
|
||||
///120: 纯水真心
|
||||
///121: 信任值
|
||||
///122: 碎果数据
|
||||
///123: 迷踪币
|
||||
///124: 亮闪闪的漂流物
|
||||
///125: 迷你「羽球」
|
||||
///126: 神秘齿轮
|
||||
///127: 鸣雷霰子
|
||||
///128: 鸣雷纯晶
|
||||
///129: 弈棋术经验
|
||||
///130: 灵妙玉符
|
||||
///131: 逐月节节庆热度
|
||||
///132: 残悴之式札
|
||||
///133: 虚损之拓本
|
||||
///134: 朽裂之庚牌
|
||||
///135: 踏雪章
|
||||
///136: 克险章
|
||||
///137: 逢福玉符
|
||||
///138: 完璧玉符
|
||||
///139: 降魔玉符
|
||||
///140: 幽蕴砺石
|
||||
///142: 战策碎珀
|
||||
///201: 原石
|
||||
///202: 摩拉
|
||||
///203: 创世结晶
|
||||
///204: 洞天宝钱
|
||||
/// 查找类似 101:角色经验
|
||||
///102:冒险阅历
|
||||
///105:好感经验
|
||||
///106:原粹树脂
|
||||
///107:传说钥匙
|
||||
///108:(test)天体推演
|
||||
///109:熄星能量
|
||||
///110:熄星精粹
|
||||
///111:微光精粹
|
||||
///112:温暖精粹
|
||||
///113:奇迹精粹
|
||||
///114:铁钱
|
||||
///115:平安玉符
|
||||
///116:节庆热度
|
||||
///117:奇术符
|
||||
///118:庆典巡回券
|
||||
///119:奇趣协力券
|
||||
///120:纯水真心
|
||||
///121:信任值
|
||||
///122:碎果数据
|
||||
///123:迷踪币
|
||||
///124:亮闪闪的漂流物
|
||||
///125:迷你「羽球」
|
||||
///126:神秘齿轮
|
||||
///127:鸣雷霰子
|
||||
///128:鸣雷纯晶
|
||||
///129:弈棋术经验
|
||||
///130:灵妙玉符
|
||||
///131:逐月节节庆热度
|
||||
///132:残悴之式札
|
||||
///133:虚损之拓本
|
||||
///134:朽裂之庚牌
|
||||
///135:踏雪章
|
||||
///136:克险章
|
||||
///137:逢福玉符
|
||||
///138:完璧玉符
|
||||
///139:降魔玉符
|
||||
///140:幽蕴砺石
|
||||
///141:花簇簇的漂流物
|
||||
///142:战策碎珀
|
||||
///143:巧思手记
|
||||
///144:随想草稿
|
||||
///145:古铁钱
|
||||
///201:原石
|
||||
///202:摩拉
|
||||
///203:创世结晶
|
||||
///204:洞天宝钱
|
||||
///314:声望经验·稻妻
|
||||
///315:声望经验·蒙德
|
||||
///316:声 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Item {
|
||||
get {
|
||||
@@ -737,36 +753,38 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 查找类似 21010101: 丘丘人
|
||||
///21020101: 木盾丘丘暴徒
|
||||
///21020201: 火斧丘丘暴徒
|
||||
///21020202: 火斧丘丘暴徒
|
||||
///21020301: 岩盾丘丘暴徒
|
||||
///21020401: 丘丘霜铠王
|
||||
///21020501: 丘丘岩盔王
|
||||
///21020601: 冰盾丘丘暴徒
|
||||
///21020701: 雷斧丘丘暴徒
|
||||
///21020703: 雷斧丘丘暴徒
|
||||
///21020801: 丘丘雷兜王
|
||||
///20010101: 草史莱姆
|
||||
///20010201: 大型草史莱姆
|
||||
///20010202: 大型草史莱姆
|
||||
///20010301: 风史莱姆
|
||||
///20010401: 大型风史莱姆
|
||||
///20010403: 大型风史莱姆
|
||||
///29010101: 裂空的魔龙
|
||||
///29010102: 裂空的魔龙
|
||||
///29010103: 裂空的魔龙
|
||||
///29010104: 裂空的魔龙
|
||||
///29020101: 北风的王狼,奔狼的领主
|
||||
///29020102: 北风的王狼,奔狼的领主
|
||||
///29030103: 「公子」
|
||||
///29030106: 「公子」
|
||||
///29040101: 若陀龙王
|
||||
///29040102: 若陀龙王
|
||||
///29040103: 若陀龙王
|
||||
///29040104: 若陀龙王
|
||||
/// 查找类似 20010101:草史莱姆
|
||||
///20010201:大型草史莱姆
|
||||
///20010202:大型草史莱姆
|
||||
///20010301:风史莱姆
|
||||
///20010302:风史莱姆
|
||||
///20010401:大型风史莱姆
|
||||
///20010402:大型风史莱姆
|
||||
///20010403:大型风史莱姆
|
||||
///20010501:雷史莱姆
|
||||
///20010502:雷史莱姆
|
||||
///20010601:大型雷史莱姆
|
||||
///20010602:大型雷史莱姆
|
||||
///20010604:大型雷史莱姆
|
||||
///20010701:变异雷史莱姆
|
||||
///20010702:变异雷史莱姆
|
||||
///20010703:变异雷史莱姆
|
||||
///20010801:冰史莱姆
|
||||
///20010802:冰史莱姆
|
||||
///20010803:冰史莱姆
|
||||
///20010901:大型冰史莱姆
|
||||
///20010902:大型冰史莱姆
|
||||
///20010903:大型冰史莱姆
|
||||
///20010904:大型冰史莱姆
|
||||
///20011001:水史莱姆
|
||||
///20011002:水史莱姆
|
||||
///20011101:大型水史莱姆
|
||||
///20011102:大型水史莱姆
|
||||
///20011103:大型水史莱姆
|
||||
///20011201:火史莱姆
|
||||
///20011202:火史莱姆
|
||||
///20011203:火史莱姆
|
||||
///20011301:大型 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Monster {
|
||||
get {
|
||||
@@ -774,6 +792,16 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找 System.Byte[] 类型的本地化资源。
|
||||
/// </summary>
|
||||
internal static byte[] Newtonsoft_Json {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("Newtonsoft_Json", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查找类似 版本名:{0}
|
||||
///更新时间:{1}
|
||||
@@ -841,13 +869,13 @@ namespace GrasscutterTools.Properties {
|
||||
///player.**
|
||||
///server.*
|
||||
///server.**
|
||||
///server.**
|
||||
///player.changescene
|
||||
///permission
|
||||
///player.clearinv
|
||||
///player.clearinv.others
|
||||
///player.enterdungeon
|
||||
///player.enterdungeon.others
|
||||
///player.give
|
||||
///player.give.others
|
||||
///player.give.others
|
||||
///player.heal
|
||||
///player.heal.others
|
||||
///player.killcharacter
|
||||
@@ -863,7 +891,7 @@ namespace GrasscutterTools.Properties {
|
||||
///player.setstats
|
||||
///player.setstats.others
|
||||
///player.settalent
|
||||
///player.settalent
|
||||
///p [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Permissions {
|
||||
get {
|
||||
@@ -881,28 +909,20 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 查找类似 30302: 女神像解锁$HIDDEN -
|
||||
///30303: 女神像解锁$HIDDEN -
|
||||
///30304: 女神像解锁$HIDDEN -
|
||||
///30305: 女神像解锁$HIDDEN -
|
||||
///30306: 女神像解锁$HIDDEN -
|
||||
///30307: 女神像解锁$HIDDEN -
|
||||
///30308: 女神像解锁$HIDDEN -
|
||||
///30309: 女神像解锁$HIDDEN -
|
||||
///30310: 女神像解锁$HIDDEN -
|
||||
///30311: 女神像解锁$HIDDEN -
|
||||
///30312: 女神像解锁$HIDDEN -
|
||||
///30313: 女神像解锁$HIDDEN -
|
||||
///30314: 女神像解锁$HIDDEN -
|
||||
///30315: 女神像解锁$HIDDEN -
|
||||
///30316: 女神像解锁$HIDDEN -
|
||||
///30317: 女神像解锁$HIDDEN -
|
||||
///30600: 昔日的风 - 在庙宇门口跟安柏见面
|
||||
///30601: 昔日的风 - 与安柏对话
|
||||
///30602: 昔日的风 - 进入庙宇
|
||||
///30603: 昔日的风 - 探索庙宇深处
|
||||
///30604: 昔日的风 - 退出秘境
|
||||
/// 查找类似 30302:女神像解锁$HIDDEN - [N/A] 362713143
|
||||
///30303:女神像解锁$HIDDEN - [N/A] 715511863
|
||||
///30304:女神像解锁$HIDDEN - [N/A] 163018255
|
||||
///30305:女神像解锁$HIDDEN - [N/A] 3694648119
|
||||
///30306:女神像解锁$HIDDEN - [N/A] 3223799591
|
||||
///30307:女神像解锁$HIDDEN - [N/A] 1232757671
|
||||
///30308:女神像解锁$HIDDEN - [N/A] 3056513767
|
||||
///30309:女神像解锁$HIDDEN - [N/A] 2426653367
|
||||
///30310:女神像解锁$HIDDEN - [N/A] 2003131071
|
||||
///30311:女神像解锁$HIDDEN - [N/A] 105277231
|
||||
///30312:女神像解锁$HIDDEN - [N/A] 3391806215
|
||||
///30313:女神像解锁$HIDDEN - [N/A] 1357500887
|
||||
///30314:女神像解锁$HIDDEN - [N/A] 3054344935
|
||||
///30315:女神像 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Quest {
|
||||
get {
|
||||
@@ -929,38 +949,34 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 查找类似 1: 提瓦特
|
||||
/// 查找类似 1: BigWorld_LevelStreaming
|
||||
///2: BigWorld_LevelStreaming
|
||||
///3: 提瓦特
|
||||
///3: 提瓦特
|
||||
///4: 金苹果群岛(1.6)
|
||||
///5: 渊下宫
|
||||
///6: 层岩巨渊·地下矿区
|
||||
///7: 三界路飨祭
|
||||
///7: 三界路飨祭
|
||||
///2001: 罗浮洞
|
||||
///2002: 翠黛峰
|
||||
///2003: 清琼岛
|
||||
///2004: 绘绮庭
|
||||
///2201: 尘歌壶室内_蒙德
|
||||
///2202: 尘歌壶室内_璃月
|
||||
///2203: 尘歌壶室内_稻妻
|
||||
///20008: 深入狼之殿
|
||||
///20008: 丘丘人大本营(test)
|
||||
///20008: 丘丘人巢穴(test)
|
||||
///20007: 小岩洞据点(test)
|
||||
///20007: 小岩洞据点(test)
|
||||
///20007: 小岩洞秘境(test)
|
||||
///20006: 遗迹遇险点(test)
|
||||
///20006: 丘丘人小据点(test)
|
||||
///20006: 丘丘人大据点(test)
|
||||
///1006: 密林、废墟与龙之泪
|
||||
///1017: 壶中天
|
||||
///1019: 洞天云海地城玩法测试(test)
|
||||
///1011: 角色战斗测试(test)
|
||||
///9: 金苹果群岛(2.8)
|
||||
///1001: 移动平台性能测试(test)
|
||||
///1001: 移动平台性能测试(test)
|
||||
///50003: 战斗性能测试(test)
|
||||
///50004: 电桩电源白盒(test)
|
||||
///1002: ClimbTest2
|
||||
///1003: TheBigWorld
|
||||
///1004: Knight_Inside_Test
|
||||
///1005: ChurchSteal
|
||||
///1006: 密林、废墟与龙之泪
|
||||
///1008: ChurchLobby
|
||||
///1009: AngelShare
|
||||
///1011: 角色战斗测试(test)
|
||||
///1013: SneakAdvancedTest
|
||||
///1015: 飞翔是勇气的奖励
|
||||
///1016: 飞翔是勇气的奖励
|
||||
///1017: 壶中天
|
||||
///1018: Chateau
|
||||
///1019: 洞天云海地城玩法测试(test)
|
||||
///1023: Level_Yurenzhong
|
||||
///1024: 黑夜循环地城(test)
|
||||
///1030: TestIntercept_LiYue
|
||||
///1031: 爬塔丘丘人模板(test)
|
||||
///1032: 云海白 [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Scene {
|
||||
get {
|
||||
@@ -1023,47 +1039,49 @@ namespace GrasscutterTools.Properties {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// <summary>
|
||||
/// 查找类似 11101: 无锋剑
|
||||
///11201: 银剑
|
||||
///11301: 冷刃
|
||||
///11302: 黎明神剑
|
||||
///11303: 旅行剑
|
||||
///11304: 暗铁剑
|
||||
///11305: 吃虎鱼刀
|
||||
///11306: 飞天御剑
|
||||
///11401: 西风剑
|
||||
///11402: 笛剑
|
||||
///11403: 祭礼剑
|
||||
///11404: 宗室长剑
|
||||
///11405: 匣里龙吟
|
||||
///11406: 试作斩岩
|
||||
///11407: 铁蜂刺
|
||||
///11408: 黑岩长剑
|
||||
///11409: 黑剑
|
||||
///11410: 暗巷闪光
|
||||
///11412: 降临之剑
|
||||
///11413: 腐殖之剑
|
||||
///11414: 天目影打刀
|
||||
///11415: 辰砂之纺锤
|
||||
///11501: 风鹰剑
|
||||
///11502: 天空之刃
|
||||
///11503: 苍古自由之誓
|
||||
///11504: 斫峰之刃
|
||||
///11505: 磐岩结绿
|
||||
///11507: 凭虚
|
||||
///11509: 雾切之回光
|
||||
///11510: 波乱月白经津
|
||||
///12101: 训练大剑
|
||||
///12201: 佣兵重剑
|
||||
///12301: 铁影阔剑
|
||||
///12302: 沐浴龙血的剑
|
||||
///12303: 白铁大剑
|
||||
///12304: 石英大剑
|
||||
///12305: 以理服人
|
||||
///12306: 飞天大御剑
|
||||
///12401: 西风大剑
|
||||
///12402: 钟剑
|
||||
/// 查找类似 11101:无锋剑
|
||||
///11201:银剑
|
||||
///11301:冷刃
|
||||
///11302:黎明神剑
|
||||
///11303:旅行剑
|
||||
///11304:暗铁剑
|
||||
///11305:吃虎鱼刀
|
||||
///11306:飞天御剑
|
||||
///11401:西风剑
|
||||
///11402:笛剑
|
||||
///11403:祭礼剑
|
||||
///11404:宗室长剑
|
||||
///11405:匣里龙吟
|
||||
///11406:试作斩岩
|
||||
///11407:铁蜂刺
|
||||
///11408:黑岩长剑
|
||||
///11409:黑剑
|
||||
///11410:暗巷闪光
|
||||
///11412:降临之剑
|
||||
///11413:腐殖之剑
|
||||
///11414:天目影打刀
|
||||
///11415:辰砂之纺锤
|
||||
///11416:笼钓瓶一心
|
||||
///11419:「一心传」名刀
|
||||
///11420:「一心传」名刀
|
||||
///11421:「一心传」名刀
|
||||
///11501:风鹰剑
|
||||
///11502:天空之刃
|
||||
///11503:苍古自由之誓
|
||||
///11504:斫峰之刃
|
||||
///11505:磐岩结绿
|
||||
///11506:磐岩结绿
|
||||
///11507:凭虚
|
||||
///11509:雾切之回光
|
||||
///11510:波乱月白经津
|
||||
///12101:训练大剑
|
||||
///12201:佣兵重剑
|
||||
///12301:铁影阔剑
|
||||
///12302:沐浴龙血的剑
|
||||
///12303:白铁大剑
|
||||
///12304:石英大剑
|
||||
///12305:以理服人
|
||||
///12306: [字符串的其余部分被截断]"; 的本地化字符串。
|
||||
/// </summary>
|
||||
internal static string Weapon {
|
||||
get {
|
||||
|
||||
@@ -273,4 +273,7 @@
|
||||
<data name="GOODImportSuccess" xml:space="preserve">
|
||||
<value>导入成功!</value>
|
||||
</data>
|
||||
<data name="Newtonsoft_Json" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Newtonsoft.Json.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,73 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!-- UAC 清单选项
|
||||
如果想要更改 Windows 用户帐户控制级别,请使用
|
||||
以下节点之一替换 requestedExecutionLevel 节点。
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
指定 requestedExecutionLevel 元素将禁用文件和注册表虚拟化。
|
||||
如果你的应用程序需要此虚拟化来实现向后兼容性,则移除此
|
||||
元素。
|
||||
-->
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
<applicationRequestMinimum>
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
<PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" />
|
||||
</applicationRequestMinimum>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- 设计此应用程序与其一起工作且已针对此应用程序进行测试的
|
||||
Windows 版本的列表。取消评论适当的元素,
|
||||
Windows 将自动选择最兼容的环境。 -->
|
||||
<!-- Windows Vista -->
|
||||
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
|
||||
<!-- Windows 7 -->
|
||||
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
|
||||
<!-- Windows 8 -->
|
||||
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
|
||||
<!-- Windows 8.1 -->
|
||||
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
|
||||
<!-- Windows 10 -->
|
||||
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
||||
</application>
|
||||
</compatibility>
|
||||
<!-- 指示该应用程序可感知 DPI 且 Windows 在 DPI 较高时将不会对其进行
|
||||
自动缩放。Windows Presentation Foundation (WPF)应用程序自动感知 DPI,无需
|
||||
选择加入。选择加入此设置的 Windows 窗体应用程序(面向 .NET Framework 4.6)还应
|
||||
在其 app.config 中将 "EnableWindowsFormsHighDpiAutoResizing" 设置设置为 "true"。
|
||||
|
||||
将应用程序设为感知长路径。请参阅 https://docs.microsoft.com/windows/win32/fileio/maximum-file-path-limitation -->
|
||||
<!--
|
||||
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<windowsSettings>
|
||||
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
||||
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
|
||||
</windowsSettings>
|
||||
</application>
|
||||
-->
|
||||
<!-- 启用 Windows 公共控件和对话框的主题(Windows XP 和更高版本) -->
|
||||
<!--
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
-->
|
||||
</assembly>
|
||||
BIN
Source/GrasscutterTools/Resources/Newtonsoft.Json.dll
Normal file
BIN
Source/GrasscutterTools/Resources/Newtonsoft.Json.dll
Normal file
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
20:Deepwood Memories
|
||||
20:Deepwood Memories
|
||||
21:Gilded Dreams
|
||||
51:Resolution of Sojourner
|
||||
52:Brave Heart
|
||||
|
||||
@@ -8,6 +8,8 @@ Level up to 60
|
||||
/give 102 x1880200
|
||||
Set World Level
|
||||
/prop wl 8
|
||||
Unlock Map
|
||||
/prop unlockmap 1
|
||||
Unlock The Tower
|
||||
/prop ut 12
|
||||
Set BattlePass Level
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
20:Deepwood Memories
|
||||
20:Deepwood Memories
|
||||
21:Gilded Dreams
|
||||
51:Решимость временщика
|
||||
52:Душа храбреца
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
/give 102 x1880200
|
||||
Уровень мира
|
||||
/prop wl 8
|
||||
Разгадка карту
|
||||
/prop unlockmap 1
|
||||
Разгадка бездны
|
||||
/prop ut 12
|
||||
Уровень Боевой пропуск
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
20:深林的记忆
|
||||
20:深林的记忆
|
||||
21:饰金之梦
|
||||
51:行者之心
|
||||
52:勇士之心
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
/give 102 x1880200
|
||||
设置世界等级
|
||||
/prop wl 8
|
||||
点亮地图
|
||||
/prop unlockmap 1
|
||||
一键解锁深渊
|
||||
/prop ut 12
|
||||
设置纪行等级
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
/give 102 x1880200
|
||||
設置世界等級
|
||||
/prop wl 8
|
||||
點亮地圖
|
||||
/prop unlockmap 1
|
||||
一鍵解鎖深淵
|
||||
/prop ut 12
|
||||
設置紀行等級
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
using System.Net.Http.Headers;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
using GrasscutterTools.Utils;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace GrasscutterTools.Github
|
||||
namespace GrasscutterTools.Utils
|
||||
{
|
||||
public static class ReleaseAPI
|
||||
internal class ReleaseAPI
|
||||
{
|
||||
public static async Task<ReleaseInfo> GetReleasesLastest(string username, string repo)
|
||||
{
|
||||
@@ -14,15 +14,14 @@ namespace GrasscutterTools.Github
|
||||
try
|
||||
{
|
||||
HttpHelper.HttpClient.DefaultRequestHeaders.UserAgent.Add(headerValue);
|
||||
var r = await HttpHelper.GetAsync<dynamic>($"https://api.github.com/repos/{username}/{repo}/releases/latest");
|
||||
return new ReleaseInfo
|
||||
{
|
||||
TagName = r.tag_name,
|
||||
Url = r.html_url,
|
||||
CraeteTime = r.created_at,
|
||||
Name = r.name,
|
||||
Body = r.body
|
||||
};
|
||||
return await HttpHelper.GetAsync<ReleaseInfo>($"https://api.github.com/repos/{username}/{repo}/releases/latest");
|
||||
}
|
||||
catch
|
||||
{
|
||||
// 如果Github无法访问,尝试从Gitee获取
|
||||
var release = await HttpHelper.GetAsync<ReleaseInfo>($"https://gitee.com/api/v5/repos/{username}/{repo}/releases/latest");
|
||||
release.Url = $"https://gitee.com/{username}/{repo}/releases";
|
||||
return release;
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -32,14 +31,19 @@ namespace GrasscutterTools.Github
|
||||
|
||||
public class ReleaseInfo
|
||||
{
|
||||
[JsonProperty("tag_name")]
|
||||
public string TagName { get; set; }
|
||||
|
||||
[JsonProperty("html_url")]
|
||||
public string Url { get; set; }
|
||||
|
||||
[JsonProperty("created_at")]
|
||||
public DateTimeOffset CraeteTime { get; set; }
|
||||
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("body")]
|
||||
public string Body { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Costura.Fody" version="5.7.0" targetFramework="net48" developmentDependency="true" />
|
||||
<package id="Fody" version="6.6.1" targetFramework="net48" developmentDependency="true" />
|
||||
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="net48" />
|
||||
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="net48" />
|
||||
<package id="NETStandard.Library" version="2.0.3" targetFramework="net48" />
|
||||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net452" />
|
||||
<package id="Resource.Embedder" version="2.2.0" targetFramework="net48" />
|
||||
<package id="System.AppContext" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Collections" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Console" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Globalization" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Globalization.Calendars" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.IO" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Linq" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Net.Http" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Net.Primitives" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.ObjectModel" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Reflection" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Runtime" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.Handles" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Threading" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Xml.ReaderWriter" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Xml.XDocument" version="4.3.0" targetFramework="net48" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user