From b8cfaf308d86f9029ee0d725e47f8ffbd14f4791 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=AD=B1=E5=82=91?= Date: Sun, 7 May 2023 14:55:50 +0800 Subject: [PATCH] Update page navigation Add Achievement page --- .../Forms/FormMain.Designer.cs | 184 +- Source/GrasscutterTools/Forms/FormMain.cs | 95 +- .../Forms/FormMain.en-us.resx | 48 +- Source/GrasscutterTools/Forms/FormMain.resx | 739 ++--- .../Forms/FormMain.ru-ru.resx | 50 +- .../Forms/FormMain.zh-TW.resx | 29 +- .../GrasscutterTools/Game/CommandVersion.cs | 14 +- .../Game/Gacha/GachaBanner3.cs | 8 +- Source/GrasscutterTools/Game/GameData.cs | 2 + .../GrasscutterTools/GrasscutterTools.csproj | 18 +- Source/GrasscutterTools/Pages/BasePage.cs | 5 +- .../Pages/PageAchievement.Designer.cs | 201 ++ .../GrasscutterTools/Pages/PageAchievement.cs | 101 + .../Pages/PageAchievement.resx | 120 + Source/GrasscutterTools/Pages/PageHome.cs | 6 +- .../Properties/Resources.Designer.cs | 2858 +++++++++-------- .../Properties/Resources.en-us.resx | 51 + .../Properties/Resources.resx | 51 + .../Properties/Resources.ru-ru.resx | 51 + .../Properties/Resources.zh-TW.resx | 51 + .../Utils/{ReleaseAPI.cs => GithubHelper.cs} | 23 +- Source/GrasscutterTools/Utils/HttpHelper.cs | 39 +- 22 files changed, 2599 insertions(+), 2145 deletions(-) create mode 100644 Source/GrasscutterTools/Pages/PageAchievement.Designer.cs create mode 100644 Source/GrasscutterTools/Pages/PageAchievement.cs create mode 100644 Source/GrasscutterTools/Pages/PageAchievement.resx rename Source/GrasscutterTools/Utils/{ReleaseAPI.cs => GithubHelper.cs} (65%) diff --git a/Source/GrasscutterTools/Forms/FormMain.Designer.cs b/Source/GrasscutterTools/Forms/FormMain.Designer.cs index dfb1897..73879c9 100644 --- a/Source/GrasscutterTools/Forms/FormMain.Designer.cs +++ b/Source/GrasscutterTools/Forms/FormMain.Designer.cs @@ -30,31 +30,56 @@ namespace GrasscutterTools.Forms { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain)); + this.NavContainer = new System.Windows.Forms.SplitContainer(); + this.ListPages = new System.Windows.Forms.ListBox(); + this.TCMain = new System.Windows.Forms.TabControl(); this.CmbCommand = new System.Windows.Forms.ComboBox(); this.BtnCopy = new System.Windows.Forms.Button(); this.ChkAutoCopy = new System.Windows.Forms.CheckBox(); this.GrpCommand = new System.Windows.Forms.GroupBox(); this.BtnInvokeOpenCommand = new System.Windows.Forms.Button(); - this.TPRemoteCall = new System.Windows.Forms.TabPage(); - this.TPAbout = new System.Windows.Forms.TabPage(); - this.TPManage = new System.Windows.Forms.TabPage(); - this.TPScene = new System.Windows.Forms.TabPage(); - this.TPItem = new System.Windows.Forms.TabPage(); - this.TPWeapon = new System.Windows.Forms.TabPage(); - this.TPAvatar = new System.Windows.Forms.TabPage(); - this.TPSpawn = new System.Windows.Forms.TabPage(); - this.TPQuest = new System.Windows.Forms.TabPage(); - this.TPArtifact = new System.Windows.Forms.TabPage(); - this.TPCustom = new System.Windows.Forms.TabPage(); - this.TPHome = new System.Windows.Forms.TabPage(); - this.TCMain = new System.Windows.Forms.TabControl(); - this.TPMail = new System.Windows.Forms.TabPage(); - this.TPLoopTasks = new System.Windows.Forms.TabPage(); this.MenuSpawnEntityFilter = new System.Windows.Forms.ContextMenuStrip(this.components); + ((System.ComponentModel.ISupportInitialize)(this.NavContainer)).BeginInit(); + this.NavContainer.Panel1.SuspendLayout(); + this.NavContainer.Panel2.SuspendLayout(); + this.NavContainer.SuspendLayout(); this.GrpCommand.SuspendLayout(); - this.TCMain.SuspendLayout(); this.SuspendLayout(); // + // NavContainer + // + resources.ApplyResources(this.NavContainer, "NavContainer"); + this.NavContainer.Name = "NavContainer"; + // + // NavContainer.Panel1 + // + resources.ApplyResources(this.NavContainer.Panel1, "NavContainer.Panel1"); + this.NavContainer.Panel1.Controls.Add(this.ListPages); + // + // NavContainer.Panel2 + // + resources.ApplyResources(this.NavContainer.Panel2, "NavContainer.Panel2"); + this.NavContainer.Panel2.Controls.Add(this.TCMain); + // + // ListPages + // + resources.ApplyResources(this.ListPages, "ListPages"); + this.ListPages.BackColor = System.Drawing.Color.WhiteSmoke; + this.ListPages.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.ListPages.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawVariable; + this.ListPages.FormattingEnabled = true; + this.ListPages.Name = "ListPages"; + this.ListPages.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.ListPages_DrawItem); + this.ListPages.SelectedIndexChanged += new System.EventHandler(this.ListPages_SelectedIndexChanged); + // + // TCMain + // + resources.ApplyResources(this.TCMain, "TCMain"); + this.TCMain.Multiline = true; + this.TCMain.Name = "TCMain"; + this.TCMain.SelectedIndex = 0; + this.TCMain.SizeMode = System.Windows.Forms.TabSizeMode.Fixed; + // // CmbCommand // resources.ApplyResources(this.CmbCommand, "CmbCommand"); @@ -93,110 +118,6 @@ namespace GrasscutterTools.Forms this.BtnInvokeOpenCommand.UseVisualStyleBackColor = true; this.BtnInvokeOpenCommand.Click += new System.EventHandler(this.BtnInvokeOpenCommand_Click); // - // TPRemoteCall - // - resources.ApplyResources(this.TPRemoteCall, "TPRemoteCall"); - this.TPRemoteCall.Name = "TPRemoteCall"; - this.TPRemoteCall.UseVisualStyleBackColor = true; - // - // TPAbout - // - resources.ApplyResources(this.TPAbout, "TPAbout"); - this.TPAbout.Name = "TPAbout"; - this.TPAbout.UseVisualStyleBackColor = true; - // - // TPManage - // - resources.ApplyResources(this.TPManage, "TPManage"); - this.TPManage.Name = "TPManage"; - this.TPManage.UseVisualStyleBackColor = true; - // - // TPScene - // - resources.ApplyResources(this.TPScene, "TPScene"); - this.TPScene.Name = "TPScene"; - this.TPScene.UseVisualStyleBackColor = true; - // - // TPItem - // - resources.ApplyResources(this.TPItem, "TPItem"); - this.TPItem.Name = "TPItem"; - this.TPItem.UseVisualStyleBackColor = true; - // - // TPWeapon - // - resources.ApplyResources(this.TPWeapon, "TPWeapon"); - this.TPWeapon.Name = "TPWeapon"; - this.TPWeapon.UseVisualStyleBackColor = true; - // - // TPAvatar - // - resources.ApplyResources(this.TPAvatar, "TPAvatar"); - this.TPAvatar.Name = "TPAvatar"; - this.TPAvatar.UseVisualStyleBackColor = true; - // - // TPSpawn - // - resources.ApplyResources(this.TPSpawn, "TPSpawn"); - this.TPSpawn.Name = "TPSpawn"; - this.TPSpawn.UseVisualStyleBackColor = true; - // - // TPQuest - // - resources.ApplyResources(this.TPQuest, "TPQuest"); - this.TPQuest.Name = "TPQuest"; - this.TPQuest.UseVisualStyleBackColor = true; - // - // TPArtifact - // - resources.ApplyResources(this.TPArtifact, "TPArtifact"); - this.TPArtifact.Name = "TPArtifact"; - this.TPArtifact.UseVisualStyleBackColor = true; - // - // TPCustom - // - resources.ApplyResources(this.TPCustom, "TPCustom"); - this.TPCustom.Name = "TPCustom"; - this.TPCustom.UseVisualStyleBackColor = true; - // - // TPHome - // - resources.ApplyResources(this.TPHome, "TPHome"); - this.TPHome.Name = "TPHome"; - this.TPHome.UseVisualStyleBackColor = true; - // - // TCMain - // - resources.ApplyResources(this.TCMain, "TCMain"); - this.TCMain.Controls.Add(this.TPHome); - this.TCMain.Controls.Add(this.TPRemoteCall); - this.TCMain.Controls.Add(this.TPCustom); - this.TCMain.Controls.Add(this.TPArtifact); - this.TCMain.Controls.Add(this.TPSpawn); - this.TCMain.Controls.Add(this.TPItem); - this.TCMain.Controls.Add(this.TPAvatar); - this.TCMain.Controls.Add(this.TPWeapon); - this.TCMain.Controls.Add(this.TPManage); - this.TCMain.Controls.Add(this.TPMail); - this.TCMain.Controls.Add(this.TPLoopTasks); - this.TCMain.Controls.Add(this.TPQuest); - this.TCMain.Controls.Add(this.TPScene); - this.TCMain.Controls.Add(this.TPAbout); - this.TCMain.Name = "TCMain"; - this.TCMain.SelectedIndex = 0; - // - // TPMail - // - resources.ApplyResources(this.TPMail, "TPMail"); - this.TPMail.Name = "TPMail"; - this.TPMail.UseVisualStyleBackColor = true; - // - // TPLoopTasks - // - resources.ApplyResources(this.TPLoopTasks, "TPLoopTasks"); - this.TPLoopTasks.Name = "TPLoopTasks"; - this.TPLoopTasks.UseVisualStyleBackColor = true; - // // MenuSpawnEntityFilter // resources.ApplyResources(this.MenuSpawnEntityFilter, "MenuSpawnEntityFilter"); @@ -206,16 +127,19 @@ namespace GrasscutterTools.Forms // resources.ApplyResources(this, "$this"); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.Controls.Add(this.TCMain); + this.Controls.Add(this.NavContainer); this.Controls.Add(this.GrpCommand); this.KeyPreview = true; this.Name = "FormMain"; this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormMain_FormClosed); this.Load += new System.EventHandler(this.FormMain_Load); this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.FormMain_KeyDown); + this.NavContainer.Panel1.ResumeLayout(false); + this.NavContainer.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.NavContainer)).EndInit(); + this.NavContainer.ResumeLayout(false); this.GrpCommand.ResumeLayout(false); this.GrpCommand.PerformLayout(); - this.TCMain.ResumeLayout(false); this.ResumeLayout(false); } @@ -227,21 +151,9 @@ namespace GrasscutterTools.Forms private System.Windows.Forms.CheckBox ChkAutoCopy; private System.Windows.Forms.GroupBox GrpCommand; private System.Windows.Forms.Button BtnInvokeOpenCommand; - private System.Windows.Forms.TabPage TPRemoteCall; - private System.Windows.Forms.TabPage TPAbout; - private System.Windows.Forms.TabPage TPManage; - private System.Windows.Forms.TabPage TPScene; - private System.Windows.Forms.TabPage TPItem; - private System.Windows.Forms.TabPage TPWeapon; - private System.Windows.Forms.TabPage TPAvatar; - private System.Windows.Forms.TabPage TPSpawn; - private System.Windows.Forms.TabPage TPQuest; - private System.Windows.Forms.TabPage TPArtifact; - private System.Windows.Forms.TabPage TPCustom; - private System.Windows.Forms.TabPage TPHome; private System.Windows.Forms.TabControl TCMain; - private System.Windows.Forms.TabPage TPMail; private System.Windows.Forms.ContextMenuStrip MenuSpawnEntityFilter; - private System.Windows.Forms.TabPage TPLoopTasks; + private System.Windows.Forms.ListBox ListPages; + private System.Windows.Forms.SplitContainer NavContainer; } } diff --git a/Source/GrasscutterTools/Forms/FormMain.cs b/Source/GrasscutterTools/Forms/FormMain.cs index 8a5b11e..114d74f 100644 --- a/Source/GrasscutterTools/Forms/FormMain.cs +++ b/Source/GrasscutterTools/Forms/FormMain.cs @@ -85,27 +85,69 @@ namespace GrasscutterTools.Forms TCMain.SuspendLayout(); var ph = CreatePage(); ph.OnLanguageChanged = () => FormMain_Load(this, EventArgs.Empty); - TPHome.Controls.Add(ph); var poc = CreatePage(); poc.ShowTipInRunButton = msg => ShowTip(msg, BtnInvokeOpenCommand); - TPRemoteCall.Controls.Add(poc); - TPCustom.Controls.Add(CreatePage()); - TPArtifact.Controls.Add(CreatePage()); - TPSpawn.Controls.Add(CreatePage()); - TPItem.Controls.Add(CreatePage()); - TPAvatar.Controls.Add(CreatePage()); - TPWeapon.Controls.Add(CreatePage()); - TPManage.Controls.Add(CreatePage()); - TPMail.Controls.Add(CreatePage()); - TPLoopTasks.Controls.Add(CreatePage()); - TPQuest.Controls.Add(CreatePage()); - TPScene.Controls.Add(CreatePage()); - TPAbout.Controls.Add(CreatePage()); - //TPAbout.Controls.Add(CreatePage()); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + CreatePage(); + //AddPageToGui(CreatePage("Tools")); TCMain.ResumeLayout(); Logger.I(TAG, "InitPages completed"); } + /// + /// 初始化页面导航 + /// + private void InitPagesNav() + { + ListPages.Items.Clear(); + ListPages.Items.AddRange(new object[] + { + Resources.PageHomeTitle, + Resources.PageOpenCommandTitle, + Resources.PageCustomCommandsTitle, + Resources.PageGetArtifactTitle, + Resources.PageSpawnTitle, + Resources.PageGiveItemTitle, + Resources.PageAvatarTitle, + Resources.PageGiveWeaponTitle, + Resources.PageManagementTitle, + Resources.PageMailTitle, + Resources.PageTasksTitle, + Resources.PageQuestTitle, + Resources.PageSceneTitle, + Resources.PageAchievementTitle, + Resources.PageAboutTitle, + }); + } + + /// + /// 导航列表项居中绘制 + /// + /// + /// + private void ListPages_DrawItem(object sender, DrawItemEventArgs e) + { + e.DrawBackground(); + e.DrawFocusRectangle(); + var strFmt = new StringFormat + { + Alignment = StringAlignment.Center, //文本垂直居中 + LineAlignment = StringAlignment.Center //文本水平居中 + }; + e.Graphics.DrawString(ListPages.Items[e.Index].ToString(), e.Font, new SolidBrush(e.ForeColor), e.Bounds, strFmt); + } + /// /// 创建指定类型页面 /// @@ -121,8 +163,16 @@ namespace GrasscutterTools.Forms Dock = DockStyle.Fill, Name = typeof(T).Name, }; + var tp = new TabPage(); + TCMain.TabPages.Add(tp); + tp.Controls.Add(page); return page; } + + private void ListPages_SelectedIndexChanged(object sender, EventArgs e) + { + TCMain.SelectedIndex = ListPages.SelectedIndex; + } /// /// 窗体载入时触发(切换语言时会重新载入) @@ -136,6 +186,9 @@ namespace GrasscutterTools.Forms #endif if (DesignMode) return; + // 加载页面导航 + InitPagesNav(); + // 加载游戏ID资源 GameData.LoadResources(); @@ -326,7 +379,16 @@ namespace GrasscutterTools.Forms if (Common.OC == null || !Common.OC.CanInvoke) { ShowTip(Resources.RequireOpenCommandTip, BtnInvokeOpenCommand); - TCMain.SelectedTab = TPRemoteCall; + //TCMain.SelectedTab = TPRemoteCall; + for (var i = 0; i < TCMain.Controls.Count; i++) + { + if (TCMain.Controls[i].Controls[0] is PageOpenCommand) + { + ListPages.SelectedIndex = i; + break; + } + } + return false; } @@ -447,5 +509,6 @@ namespace GrasscutterTools.Forms } #endregion - 通用 General - + } } \ No newline at end of file diff --git a/Source/GrasscutterTools/Forms/FormMain.en-us.resx b/Source/GrasscutterTools/Forms/FormMain.en-us.resx index b1654b1..0248f4d 100644 --- a/Source/GrasscutterTools/Forms/FormMain.en-us.resx +++ b/Source/GrasscutterTools/Forms/FormMain.en-us.resx @@ -127,52 +127,14 @@ Auto - - Command - [Ctrl] Autorun - [Shift] Append - [Alt] Only run - [|] Split multiple commands - Run(F5) - - Remote + + Command - [Ctrl] Autorun - [Shift] Append - [Alt] Only run - [|] Split multiple commands - - About - - - Manage - - - Scene - - - Items - - - Weapons - - - Avatar - - - Spawn - - - Quest - - - Artifacts - - - Custom - - - Home - - - Mail - - - Loop + + + Inherit \ No newline at end of file diff --git a/Source/GrasscutterTools/Forms/FormMain.resx b/Source/GrasscutterTools/Forms/FormMain.resx index c5183a1..3714c13 100644 --- a/Source/GrasscutterTools/Forms/FormMain.resx +++ b/Source/GrasscutterTools/Forms/FormMain.resx @@ -118,397 +118,139 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 652, 245 + + 600, 25 - - 652, 245 + + System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 652, 245 + + System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 命令 - [Ctrl] 自动执行 - [Shift] 拼接命令 - [Alt] 仅执行 - [|] 分割多条命令 + + + FlatButtons + + + 51, 21 + + + System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 656, 275 + + + GrpCommand + + + 850, 400 + + + 61, 4 + + + GrpCommand $this - - + + 0, 0 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 0 + + NoControl - - 652, 245 - - - 管理 - - - 660, 275 - - - System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - TPSpawn - - - 2 - - - TPAbout - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4, 26 - - - TCMain - - - 11 - - - 循环 - - - TCMain - - - TPHome - - - 0 + + 610, 56 3 - - 1 + + 87, 21 - - TCMain + + 150, 275 - - 1 + + NavContainer - - 652, 245 + + System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - 7, 17 + + 12, 293 - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - GrpCommand - - - 生成 - - - 6 - - - TPAvatar + + System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 执行(F5) - - 16 + + 2 - - 3, 3, 3, 3 - - - 3, 3, 3, 3 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 660, 56 - - - 4, 26 - - - 3, 3, 3, 3 - - - 50, 23 - - - TCMain - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 13 - - - 3, 3, 3, 3 - - + 6 - + + System.Windows.Forms.SplitContainer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + GrpCommand - - TCMain - - - Top, Bottom, Left, Right - - - 场景 - - - TCMain - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4, 26 - - - 3, 3, 3, 3 - - - System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 3, 3, 3, 3 - - - CenterScreen - - - 17 - - - 3, 3, 3, 3 - - - ChkAutoCopy - - - 10 - - - 3 - - - 角色 - - - 4, 26 - - - 75, 23 - - - FormMain - - - TCMain - - - 远程 - - - TCMain - - - TCMain - - - 4, 26 - - - 610, 275 - - - 12 - - - 652, 245 - - - NoControl - - - 物品 - - - Microsoft YaHei UI, 9pt + + 3, 4, 3, 4 自动 - - GrasscutterTools + + Fill - - TCMain - - - 4, 26 - - - 5 - - - 15 - - - 543, 22 - - - GrpCommand - - - 2 - - - 9 - - - 7 - - - 700, 400 - - - 0 - - - 14 - - - 652, 245 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 610, 56 + + 22 3 - - System.Windows.Forms.GroupBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - + Top, Right - - 4, 26 - - - TPArtifact - - - TCMain - - - 邮件 + + ChkAutoCopy NoControl - - 0 + + Bottom, Left, Right - - 12 + + System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - TPItem - - - System.Windows.Forms.Form, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - TPQuest - - - 1 - - - TCMain - - - 0, 0, 0, 0 - - - 652, 245 - - - 3, 3, 3, 3 - - - 12, 12 - - - 51, 21 - - - 复制 - - - 599, 24 - - - TPScene - - - 652, 245 - - + 2 - - 4 + + 6, 22 - - $this + + 0, 0 - - TPRemoteCall - - - 3, 3, 3, 3 - - - 武器 - - - 3 - - - Top, Left, Right - - - 圣遗物 - - - 主页 + + True BtnCopy @@ -516,197 +258,170 @@ BtnInvokeOpenCommand - - 任务 + + 75, 23 - - 684, 361 + + NavContainer - - 1 + + GrasscutterTools - - 3, 3, 3, 3 - - - 4, 26 - - - 自定义 - - - 3, 3, 3, 3 - - - 1 - - - 2 - - - 4, 26 - - - 3, 3, 3, 3 - - - TPWeapon - - - 4, 26 - - - TPManage - - - 3, 3, 3, 3 - - - 652, 245 - - - 3, 4, 3, 4 - - - 关于 - - - GrpCommand - - - TCMain - - - 87, 21 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Top, Right - - - 13 - - - 6, 22 - - - True - - - 5 - - - 4, 26 - - - GrpCommand - - - 3, 3, 3, 3 - - - 4, 26 - - + 0 - - TCMain + + 5 - - 652, 245 - - - 4 - - - 61, 4 - - - 2 - - - 12, 293 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Bottom, Left, Right - - - 4, 26 - - - System.Windows.Forms.TabControl, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - TPCustom - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 652, 245 - - - CmbCommand - - - MenuSpawnEntityFilter - - - System.Windows.Forms.ComboBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - 4, 26 + + 610, 275 3 - - TPMail + + NavContainer - - 652, 245 + + Top, Right - - 652, 245 + + TCMain - - TPLoopTasks + + GrpCommand - - System.Windows.Forms.TabPage, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + Top, Bottom, Left, Right - - 8 + + NavContainer.Panel2 - - 9 + + Microsoft YaHei UI, 10pt - - 450, 25 + + 50, 23 - + + $this + + + 0 + + + Microsoft YaHei UI, 9pt + + + 834, 361 + + + NavContainer.Panel1 + + + CenterScreen + + + 1 + + + 150 + + + 693, 22 + + + NoControl + + + ListPages + + + 12, 12 + + + System.Windows.Forms.ListBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + GrpCommand + + + 0, 1 + + + 命令 - [Ctrl] 自动执行 - [Shift] 拼接命令 - [Alt] 仅执行 - [|] 分割多条命令 + + + 0 + + + 610 + + + System.Windows.Forms.SplitterPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 1 + + + FormMain + + + 1 + + + Fill + + + System.Windows.Forms.CheckBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Top, Left, Right + + + 80 + + + 810, 275 + + + MenuSpawnEntityFilter + + + 749, 24 + + + NoControl + + + 复制 + + 4 - - System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 810, 56 - - TCMain + + 7, 17 + + + 0 + + + NavContainer.Panel2 + + + NavContainer.Panel1 + + + 1 + + + 2 + + + CmbCommand 17, 17 diff --git a/Source/GrasscutterTools/Forms/FormMain.ru-ru.resx b/Source/GrasscutterTools/Forms/FormMain.ru-ru.resx index c7a6146..5f5e9f5 100644 --- a/Source/GrasscutterTools/Forms/FormMain.ru-ru.resx +++ b/Source/GrasscutterTools/Forms/FormMain.ru-ru.resx @@ -122,10 +122,10 @@ 132, 21 - 359, 25 + 513, 25 - 497, 22 + 651, 21 92, 23 @@ -134,7 +134,7 @@ Копировать - 595, 24 + 749, 23 55, 21 @@ -151,46 +151,8 @@ Выполнить (F5) - - OpenCommand - - - Справка - - - Аккаунты - - - Сцена - - - Предметы - - - Оружие - - - Персонаж - - - Спавн - - - Квест - - - Артефакт - - - Кастомное - - - Главная - - - Почта - - - Циклы + + + Inherit \ No newline at end of file diff --git a/Source/GrasscutterTools/Forms/FormMain.zh-TW.resx b/Source/GrasscutterTools/Forms/FormMain.zh-TW.resx index 7a1549e..e9a08f0 100644 --- a/Source/GrasscutterTools/Forms/FormMain.zh-TW.resx +++ b/Source/GrasscutterTools/Forms/FormMain.zh-TW.resx @@ -129,31 +129,8 @@ 命令 - [Ctrl] 自動執行 - [Shift] 拼接命令 - [Alt] 僅執行 - [|] 分割多條命令 - - 遠程 - - - 關於 - - - 場景 - - - 任務 - - - 聖遺物 - - - 自定義 - - - 主頁 - - - 郵件 - - - 循環 + + + Inherit \ No newline at end of file diff --git a/Source/GrasscutterTools/Game/CommandVersion.cs b/Source/GrasscutterTools/Game/CommandVersion.cs index 005fede..bbf4b38 100644 --- a/Source/GrasscutterTools/Game/CommandVersion.cs +++ b/Source/GrasscutterTools/Game/CommandVersion.cs @@ -132,6 +132,16 @@ namespace GrasscutterTools.Game /// public static readonly Version V1_4_3 = new Version(1, 4, 3); + /// + /// 2023/4/1 + /// + public static readonly Version V1_4_7 = new Version(1, 4, 7); + + /// + /// 2023/4/1 + /// + public static readonly Version V1_5_0 = new Version(1, 5, 0); + // More... /// /// Date @@ -148,7 +158,9 @@ namespace GrasscutterTools.Game V1_4_1, V1_4_2, V1_4_3, - //V1_4_4, + V1_4_7, + V1_5_0, + //V1_5_1, }; #endregion - 版本列表 Version List - diff --git a/Source/GrasscutterTools/Game/Gacha/GachaBanner3.cs b/Source/GrasscutterTools/Game/Gacha/GachaBanner3.cs index 4714071..fafc1b8 100644 --- a/Source/GrasscutterTools/Game/Gacha/GachaBanner3.cs +++ b/Source/GrasscutterTools/Game/Gacha/GachaBanner3.cs @@ -37,8 +37,12 @@ namespace GrasscutterTools.Game.Gacha public string Comment { get; set; } /// - /// 添加卡池请从400开始增加id数值进行添加,这个id需要每个池子不一样, - /// 如果你想添加大量卡池,请按照每次增加固定数值的id进行添加,比如:411,412,413.... + /// 卡池类型 + /// 100 初行祈愿 + /// 200 常驻祈愿 + /// 301 角色活动祈愿1 + /// 302 武器活动祈愿 + /// 400 角色活动祈愿2 /// [JsonProperty("gachaType")] public int GachaType { get; set; } = 400; diff --git a/Source/GrasscutterTools/Game/GameData.cs b/Source/GrasscutterTools/Game/GameData.cs index 9cd9980..ee0fa6c 100644 --- a/Source/GrasscutterTools/Game/GameData.cs +++ b/Source/GrasscutterTools/Game/GameData.cs @@ -25,6 +25,7 @@ namespace GrasscutterTools.Game { public static void LoadResources() { + Achievements = new ItemMap(Resources.Achievement); Artifacts = new ItemMap(Resources.Artifact); ArtifactCats = new ItemMap(Resources.ArtifactCat); ArtifactMainAttribution = new ItemMap(Resources.ArtifactMainAttribution); @@ -44,6 +45,7 @@ namespace GrasscutterTools.Game ShopType = new ItemMap(Resources.ShopType); } + public static ItemMap Achievements { get; private set; } public static ItemMap Artifacts { get; private set; } public static ItemMap ArtifactCats { get; private set; } diff --git a/Source/GrasscutterTools/GrasscutterTools.csproj b/Source/GrasscutterTools/GrasscutterTools.csproj index bb0d440..dcb9cb8 100644 --- a/Source/GrasscutterTools/GrasscutterTools.csproj +++ b/Source/GrasscutterTools/GrasscutterTools.csproj @@ -166,6 +166,12 @@ PageAbout.cs + + UserControl + + + PageAchievement.cs + UserControl @@ -261,7 +267,7 @@ - + FormDropEditor.cs @@ -364,6 +370,9 @@ PageAbout.cs + + PageAchievement.cs + PageAvatar.cs @@ -577,6 +586,7 @@ + @@ -595,6 +605,7 @@ + @@ -616,6 +627,7 @@ + @@ -633,6 +645,7 @@ + @@ -665,6 +678,9 @@ 2.2.0 + + 4.3.0 + \ No newline at end of file diff --git a/Source/GrasscutterTools/Pages/BasePage.cs b/Source/GrasscutterTools/Pages/BasePage.cs index da6108c..e7064d0 100644 --- a/Source/GrasscutterTools/Pages/BasePage.cs +++ b/Source/GrasscutterTools/Pages/BasePage.cs @@ -34,6 +34,7 @@ namespace GrasscutterTools.Pages { Font = new Font("Microsoft YaHei UI", 9, GraphicsUnit.Point); //Size = new Size(652, 245); + Dock = DockStyle.Fill; Size = new Size(646, 239); BackColor = Color.FromArgb(0xF9, 0xF9, 0xF9); Margin = new Padding(0); @@ -74,7 +75,7 @@ namespace GrasscutterTools.Pages if (commands.IndexOf('|') == -1) return await RunCommands(FormatCommand(commands)); else - return await RunCommands(commands.Split('|').Select(it => FormatCommand(it)).ToArray()); + return await RunCommands(commands.Split('|').Select(FormatCommand).ToArray()); } /// @@ -83,7 +84,7 @@ namespace GrasscutterTools.Pages /// /// 原始输入 /// 格式化后可执行命令 - private string FormatCommand(string raw) + private static string FormatCommand(string raw) { return raw.Trim().Replace("\\r", "\r").Replace("\\n", "\n"); } diff --git a/Source/GrasscutterTools/Pages/PageAchievement.Designer.cs b/Source/GrasscutterTools/Pages/PageAchievement.Designer.cs new file mode 100644 index 0000000..4578a93 --- /dev/null +++ b/Source/GrasscutterTools/Pages/PageAchievement.Designer.cs @@ -0,0 +1,201 @@ +namespace GrasscutterTools.Pages +{ + partial class PageAchievement + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region 组件设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要修改 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.ListAchievements = new System.Windows.Forms.ListBox(); + this.GrpAchievements = new System.Windows.Forms.GroupBox(); + this.TxtAchievementFilter = new System.Windows.Forms.TextBox(); + this.LnkRevokeAll = new System.Windows.Forms.LinkLabel(); + this.LnkGrantAll = new System.Windows.Forms.LinkLabel(); + this.GrpAchievementCommands = new System.Windows.Forms.GroupBox(); + this.NUDProgress = new System.Windows.Forms.NumericUpDown(); + this.BtnProgress = new System.Windows.Forms.Button(); + this.BtnRevoke = new System.Windows.Forms.Button(); + this.BtnGrant = new System.Windows.Forms.Button(); + this.GrpAchievements.SuspendLayout(); + this.GrpAchievementCommands.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.NUDProgress)).BeginInit(); + this.SuspendLayout(); + // + // ListAchievements + // + this.ListAchievements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.ListAchievements.FormattingEnabled = true; + this.ListAchievements.ItemHeight = 17; + this.ListAchievements.Location = new System.Drawing.Point(6, 51); + this.ListAchievements.Name = "ListAchievements"; + this.ListAchievements.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; + this.ListAchievements.Size = new System.Drawing.Size(628, 106); + this.ListAchievements.TabIndex = 0; + // + // GrpAchievements + // + this.GrpAchievements.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.GrpAchievements.Controls.Add(this.TxtAchievementFilter); + this.GrpAchievements.Controls.Add(this.LnkRevokeAll); + this.GrpAchievements.Controls.Add(this.ListAchievements); + this.GrpAchievements.Controls.Add(this.LnkGrantAll); + this.GrpAchievements.Location = new System.Drawing.Point(3, 3); + this.GrpAchievements.Name = "GrpAchievements"; + this.GrpAchievements.Size = new System.Drawing.Size(640, 167); + this.GrpAchievements.TabIndex = 1; + this.GrpAchievements.TabStop = false; + this.GrpAchievements.Text = "成就列表(GC v1.4.7 起)"; + // + // TxtAchievementFilter + // + this.TxtAchievementFilter.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.TxtAchievementFilter.Location = new System.Drawing.Point(6, 22); + this.TxtAchievementFilter.Name = "TxtAchievementFilter"; + this.TxtAchievementFilter.Size = new System.Drawing.Size(628, 23); + this.TxtAchievementFilter.TabIndex = 8; + this.TxtAchievementFilter.TextChanged += new System.EventHandler(this.TxtAchievementFilter_TextChanged); + // + // LnkRevokeAll + // + this.LnkRevokeAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.LnkRevokeAll.AutoSize = true; + this.LnkRevokeAll.Location = new System.Drawing.Point(578, 0); + this.LnkRevokeAll.Name = "LnkRevokeAll"; + this.LnkRevokeAll.Size = new System.Drawing.Size(56, 17); + this.LnkRevokeAll.TabIndex = 7; + this.LnkRevokeAll.TabStop = true; + this.LnkRevokeAll.Text = "全部撤销"; + this.LnkRevokeAll.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkRevokeAll_LinkClicked); + // + // LnkGrantAll + // + this.LnkGrantAll.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.LnkGrantAll.AutoSize = true; + this.LnkGrantAll.Location = new System.Drawing.Point(516, 0); + this.LnkGrantAll.Name = "LnkGrantAll"; + this.LnkGrantAll.Size = new System.Drawing.Size(56, 17); + this.LnkGrantAll.TabIndex = 6; + this.LnkGrantAll.TabStop = true; + this.LnkGrantAll.Text = "全部达成"; + this.LnkGrantAll.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LnkGrantAll_LinkClicked); + // + // GrpAchievementCommands + // + this.GrpAchievementCommands.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.GrpAchievementCommands.Controls.Add(this.NUDProgress); + this.GrpAchievementCommands.Controls.Add(this.BtnProgress); + this.GrpAchievementCommands.Controls.Add(this.BtnRevoke); + this.GrpAchievementCommands.Controls.Add(this.BtnGrant); + this.GrpAchievementCommands.Location = new System.Drawing.Point(3, 176); + this.GrpAchievementCommands.Name = "GrpAchievementCommands"; + this.GrpAchievementCommands.Size = new System.Drawing.Size(640, 60); + this.GrpAchievementCommands.TabIndex = 2; + this.GrpAchievementCommands.TabStop = false; + this.GrpAchievementCommands.Text = "成就控制(在列表中选择目标项)"; + // + // NUDProgress + // + this.NUDProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.NUDProgress.Location = new System.Drawing.Point(579, 25); + this.NUDProgress.Maximum = new decimal(new int[] { + 2147483647, + 0, + 0, + 0}); + this.NUDProgress.Name = "NUDProgress"; + this.NUDProgress.Size = new System.Drawing.Size(55, 23); + this.NUDProgress.TabIndex = 5; + this.NUDProgress.Value = new decimal(new int[] { + 10, + 0, + 0, + 0}); + // + // BtnProgress + // + this.BtnProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.BtnProgress.Location = new System.Drawing.Point(473, 25); + this.BtnProgress.Name = "BtnProgress"; + this.BtnProgress.Size = new System.Drawing.Size(100, 23); + this.BtnProgress.TabIndex = 4; + this.BtnProgress.Text = "修改进度"; + this.BtnProgress.UseVisualStyleBackColor = true; + this.BtnProgress.Click += new System.EventHandler(this.BtnProgress_Click); + // + // BtnRevoke + // + this.BtnRevoke.Location = new System.Drawing.Point(112, 25); + this.BtnRevoke.Name = "BtnRevoke"; + this.BtnRevoke.Size = new System.Drawing.Size(100, 23); + this.BtnRevoke.TabIndex = 1; + this.BtnRevoke.Text = "撤销"; + this.BtnRevoke.UseVisualStyleBackColor = true; + this.BtnRevoke.Click += new System.EventHandler(this.BtnRevoke_Click); + // + // BtnGrant + // + this.BtnGrant.Location = new System.Drawing.Point(6, 25); + this.BtnGrant.Name = "BtnGrant"; + this.BtnGrant.Size = new System.Drawing.Size(100, 23); + this.BtnGrant.TabIndex = 0; + this.BtnGrant.Text = "达成"; + this.BtnGrant.UseVisualStyleBackColor = true; + this.BtnGrant.Click += new System.EventHandler(this.BtnGrant_Click); + // + // PageAchievement + // + this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.GrpAchievementCommands); + this.Controls.Add(this.GrpAchievements); + this.Name = "PageAchievement"; + this.GrpAchievements.ResumeLayout(false); + this.GrpAchievements.PerformLayout(); + this.GrpAchievementCommands.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.NUDProgress)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.ListBox ListAchievements; + private System.Windows.Forms.GroupBox GrpAchievements; + private System.Windows.Forms.GroupBox GrpAchievementCommands; + private System.Windows.Forms.Button BtnProgress; + private System.Windows.Forms.Button BtnRevoke; + private System.Windows.Forms.Button BtnGrant; + private System.Windows.Forms.NumericUpDown NUDProgress; + private System.Windows.Forms.TextBox TxtAchievementFilter; + private System.Windows.Forms.LinkLabel LnkRevokeAll; + private System.Windows.Forms.LinkLabel LnkGrantAll; + } +} diff --git a/Source/GrasscutterTools/Pages/PageAchievement.cs b/Source/GrasscutterTools/Pages/PageAchievement.cs new file mode 100644 index 0000000..4d0a021 --- /dev/null +++ b/Source/GrasscutterTools/Pages/PageAchievement.cs @@ -0,0 +1,101 @@ +using System; +using System.Linq; +using System.Windows.Forms; +using GrasscutterTools.Game; +using GrasscutterTools.Properties; +using GrasscutterTools.Utils; + +namespace GrasscutterTools.Pages +{ + internal partial class PageAchievement : BasePage + { + public PageAchievement() + { + InitializeComponent(); + } + + public override void OnLoad() + { + base.OnLoad(); + + UpdateList(); + } + + /// + /// 点击全部达成时触发 + /// + private void LnkGrantAll_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + SetCommand("/achievement grantall"); + } + + /// + /// 点击全部撤销时触发 + /// + private void LnkRevokeAll_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) + { + SetCommand("/achievement revokeall"); + } + + /// + /// 更新列表显示内容 + /// + private void UpdateList() + { + UIUtil.ListBoxFilter(ListAchievements, GameData.Achievements.Lines, TxtAchievementFilter.Text); + } + + /// + /// 过滤器输入改变时触发 + /// + private void TxtAchievementFilter_TextChanged(object sender, EventArgs e) + { + UpdateList(); + } + + /// + /// 获取所有选中项ID + /// + /// 所有选中项ID,如未选中返回 null + private int[] GetSelectedIds() + { + if (ListAchievements.SelectedItems.Count == 0) + return null; + var selectedIds = new int[ListAchievements.SelectedItems.Count]; + var i = 0; + foreach (string item in ListAchievements.SelectedItems) + selectedIds[i++] = int.Parse(item.Substring(0, item.IndexOf(':'))); + return selectedIds; + } + + private void GenSelected(string command, string args = "") + { + var selectedIds = GetSelectedIds(); + if (selectedIds == null) + { + MessageBox.Show(Resources.SelectAnyItem, Resources.Error, MessageBoxButtons.OK, MessageBoxIcon.Error); + return; + } + + if (selectedIds.Length == 1) + SetCommand(args == "" ? $"{command} {selectedIds[0]}" : $"{command} {selectedIds[0]} {args}"); + else + SetCommand(string.Join(" | ", selectedIds.Select(it => args == "" ? $"{command} {it}" : $"{command} {it} {args}"))); + } + + private void BtnGrant_Click(object sender, EventArgs e) + { + GenSelected("/achievement grant"); + } + + private void BtnRevoke_Click(object sender, EventArgs e) + { + GenSelected("/achievement revoke"); + } + + private void BtnProgress_Click(object sender, EventArgs e) + { + GenSelected("/achievement progress", NUDProgress.Text); + } + } +} diff --git a/Source/GrasscutterTools/Pages/PageAchievement.resx b/Source/GrasscutterTools/Pages/PageAchievement.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/Source/GrasscutterTools/Pages/PageAchievement.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/Source/GrasscutterTools/Pages/PageHome.cs b/Source/GrasscutterTools/Pages/PageHome.cs index 4e23b7e..96c9a26 100644 --- a/Source/GrasscutterTools/Pages/PageHome.cs +++ b/Source/GrasscutterTools/Pages/PageHome.cs @@ -85,12 +85,12 @@ namespace GrasscutterTools.Pages #region - 检查更新 Check update - - private ReleaseAPI.ReleaseInfo LastestInfo = null; + private GithubHelper.ReleaseInfo LastestInfo = null; private Version lastestVersion = null; private async Task LoadUpdate() { - var info = await ReleaseAPI.GetReleasesLastest("jie65535", "GrasscutterCommandGenerator"); + var info = await GithubHelper.GetReleasesLatest("jie65535", "GrasscutterCommandGenerator"); if (Version.TryParse(info.TagName.Substring(1), out lastestVersion) && Common.AppVersion < lastestVersion) { if (!string.IsNullOrEmpty(Settings.Default.CheckedLastVersion) @@ -179,7 +179,7 @@ namespace GrasscutterTools.Pages if (LastestInfo != null) { var r = MessageBox.Show( - string.Format(Resources.NewVersionInfo, LastestInfo.Name, LastestInfo.CraeteTime.ToLocalTime(), LastestInfo.Body), + string.Format(Resources.NewVersionInfo, LastestInfo.Name, LastestInfo.CreateTime.ToLocalTime(), LastestInfo.Body), Resources.CheckToNewVersion, MessageBoxButtons.YesNo, MessageBoxIcon.Information); diff --git a/Source/GrasscutterTools/Properties/Resources.Designer.cs b/Source/GrasscutterTools/Properties/Resources.Designer.cs index 422b46c..cb70edd 100644 --- a/Source/GrasscutterTools/Properties/Resources.Designer.cs +++ b/Source/GrasscutterTools/Properties/Resources.Designer.cs @@ -1,1340 +1,1518 @@ -//------------------------------------------------------------------------------ -// -// 此代码由工具生成。 -// 运行时版本:4.0.30319.42000 -// -// 对此文件的更改可能会导致不正确的行为,并且如果 -// 重新生成代码,这些更改将会丢失。 -// -//------------------------------------------------------------------------------ - -namespace GrasscutterTools.Properties { - using System; - - - /// - /// 一个强类型的资源类,用于查找本地化的字符串等。 - /// - // 此类是由 StronglyTypedResourceBuilder - // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen - // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// 返回此类使用的缓存的 ResourceManager 实例。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GrasscutterTools.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// 重写当前线程的 CurrentUICulture 属性,对 - /// 使用此强类型资源类的所有资源查找执行重写。 - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - /// - /// 查找类似 全部 的本地化字符串。 - /// - internal static string All { - get { - return ResourceManager.GetString("All", resourceCulture); - } - } - - /// - /// 查找类似 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 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Artifact { - get { - return ResourceManager.GetString("Artifact", resourceCulture); - } - } - - /// - /// 查找类似 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:高天的风之主 的本地化字符串。 - /// - internal static string ArtifactCat { - get { - return ResourceManager.GetString("ArtifactCat", resourceCulture); - } - } - - /// - /// 查找类似 10001: 生命值 - ///10002: 生命值百分比 - ///10003: 攻击力 - ///10004: 攻击力百分比 - ///10005: 防御力 - ///10006: 防御力百分比 - ///10007: 元素充能效率 - ///10008: 元素精通 - ///10009: 火元素抗性 - ///10010: 雷元素抗性 - ///10011: 冰元素抗性 - ///10012: 水元素抗性 - ///10013: 风元素抗性 - ///10014: 岩元素抗性 - ///10015: 草元素抗性 - ///12001: 攻击力 - ///13001: 生命值 - ///13002: 生命值百分比 - ///13003: 攻击力 - ///13004: 攻击力百分比 - ///13005: 防御力 - ///13006: 防御力百分比 - ///13007: 暴击率 - ///13008: 暴击伤害 - ///13009: 治疗加成 - ///13010: 元素精通 - ///14001: 生命值 - ///15001: 生命值 - ///15002: 生命值百分比 - ///15003: 攻击力 - ///15004: 攻击力百分比 - ///15005: 防御力 - ///15006: 防御力百分比 - ///15007: 元素精通 - ///15008: 火元素伤害加成 - ///15009: 雷元素伤害加成 - ///15010: 冰元素伤害加成 - ///15011: [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string ArtifactMainAttribution { - get { - return ResourceManager.GetString("ArtifactMainAttribution", resourceCulture); - } - } - - /// - /// 查找类似 空之杯,死之羽,理之冠,生之花,时之沙 的本地化字符串。 - /// - internal static string ArtifactPartLabels { - get { - return ResourceManager.GetString("ArtifactPartLabels", resourceCulture); - } - } - - /// - /// 查找类似 101021: 生命值+24 - ///101022: 生命值+30 - ///201021: 生命值+50 - ///201022: 生命值+61 - ///201023: 生命值+72 - ///301021: 生命值+100 - ///301022: 生命值+115 - ///301023: 生命值+129 - ///301024: 生命值+143 - ///401021: 生命值+167 - ///401022: 生命值+191 - ///401023: 生命值+215 - ///401024: 生命值+239 - ///501021: 生命值+209 - ///501022: 生命值+239 - ///501023: 生命值+269 - ///501024: 生命值+299 - ///101031: 生命值百分比+1.2% - ///101032: 生命值百分比+1.5% - ///201031: 生命值百分比+1.6% - ///201032: 生命值百分比+2.0% - ///201033: 生命值百分比+2.3% - ///301031: 生命值百分比+2.4% - ///301032: 生命值百分比+2.8% - ///301033: 生命值百分比+3.2% - ///301034: 生命值百分比+3.5% - ///401031: 生命值百分比+3.3% - ///401032: 生命值百分比+3.7 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string ArtifactSubAttribution { - get { - return ResourceManager.GetString("ArtifactSubAttribution", resourceCulture); - } - } - - /// - /// 查找类似 确认删除? 的本地化字符串。 - /// - internal static string AskConfirmDeletion { - get { - return ResourceManager.GetString("AskConfirmDeletion", resourceCulture); - } - } - - /// - /// 查找类似 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:多 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Avatar { - get { - return ResourceManager.GetString("Avatar", resourceCulture); - } - } - - /// - /// 查找类似 1001:4 - ///1002:5 - ///1003:5 - ///1005:5 - ///1006:4 - ///1007:5 - ///1014:4 - ///1015:4 - ///1016:5 - ///1020:4 - ///1021:4 - ///1022:5 - ///1023:4 - ///1024:4 - ///1025:4 - ///1026:5 - ///1027:4 - ///1029:5 - ///1030:5 - ///1031:4 - ///1032:4 - ///1033:5 - ///1034:4 - ///1035:5 - ///1036:4 - ///1037:5 - ///1038:5 - ///1039:4 - ///1041:5 - ///1042:5 - ///1043:4 - ///1044:4 - ///1045:4 - ///1046:5 - ///1047:5 - ///1048:4 - ///1049:5 - ///1050:4 - ///1051:5 - ///1052:5 - ///1053:4 - ///1054:5 - ///1055:4 - ///1056:4 - ///1057:5 - ///1058:5 - ///1059:4 - ///1060:5 - ///1062:5 - ///1063:5 - ///1064:4 - ///1065:4 - ///1066:5 - ///1067:4 - ///1068:4 - ///1069:5 - ///1070:5 - ///1071:5 - ///1072:4 - ///1073:5 - ///1074:4 的本地化字符串。 - /// - internal static string AvatarColor { - get { - return ResourceManager.GetString("AvatarColor", resourceCulture); - } - } - - /// - /// 查找 System.Byte[] 类型的本地化资源。 - /// - internal static byte[] AvatarStats { - get { - object obj = ResourceManager.GetObject("AvatarStats", resourceCulture); - return ((byte[])(obj)); - } - } - - /// - /// 查找 System.Byte[] 类型的本地化资源。 - /// - internal static byte[] Banners { - get { - object obj = ResourceManager.GetObject("Banners", resourceCulture); - return ((byte[])(obj)); - } - } - - /// - /// 查找类似 浏览器打开失败,你可以通过以下链接手动访问: 的本地化字符串。 - /// - internal static string BrowserOpenFailedTip { - get { - return ResourceManager.GetString("BrowserOpenFailedTip", resourceCulture); - } - } - - /// - /// 查找类似 检查到新版本 的本地化字符串。 - /// - internal static string CheckToNewVersion { - get { - return ResourceManager.GetString("CheckToNewVersion", resourceCulture); - } - } - - /// - /// 查找类似 无,晴天,多云,雨天,雷暴,雪天,雾天 的本地化字符串。 - /// - internal static string ClimateType { - get { - return ResourceManager.GetString("ClimateType", resourceCulture); - } - } - - /// - /// 查找类似 {0} 秒后可重发 的本地化字符串。 - /// - internal static string CodeResendTip { - get { - return ResourceManager.GetString("CodeResendTip", resourceCulture); - } - } - - /// - /// 查找类似 发送中... 的本地化字符串。 - /// - internal static string CodeSending { - get { - return ResourceManager.GetString("CodeSending", resourceCulture); - } - } - - /// - /// 查找类似 命令内容不能为空 的本地化字符串。 - /// - internal static string CommandContentCannotBeEmpty { - get { - return ResourceManager.GetString("CommandContentCannotBeEmpty", resourceCulture); - } - } - - /// - /// 查找类似 未找到该命令 的本地化字符串。 - /// - internal static string CommandNotFound { - get { - return ResourceManager.GetString("CommandNotFound", resourceCulture); - } - } - - /// - /// 查找类似 命令标签不能为空 的本地化字符串。 - /// - internal static string CommandTagCannotBeEmpty { - get { - return ResourceManager.GetString("CommandTagCannotBeEmpty", resourceCulture); - } - } - - /// - /// 查找类似 现在你可以远程执行命令了哦! 的本地化字符串。 - /// - internal static string ConnectedTip { - get { - return ResourceManager.GetString("ConnectedTip", resourceCulture); - } - } - - /// - /// 查找类似 无敌 - ////prop god on - ///无限体力 - ////prop ns on - ///无限能量 - ////prop ue on - ///冒险等阶升60级 - ////give 102 x1880200 - ///设置世界等级8 - ////prop wl 8 - ///点亮地图 - ////prop unlockmap 1 - ///一键解锁深渊12层 - ////prop ut 12 - ///设置纪行等级50 - ////prop bp 50 - ///设置好感等级10 - ////setfetterlevel 10 - ///回血 - ////h - ///自杀 - ////kill 0 - ///全队充能 - ////spawn 2008 x25 - ///查看坐标 - ////pos - ///获取全部物品 - ////give all x9999 lv90 c6 r5 sl10 - ///一万纠缠 - ////give 223 x10000 - ///一万相遇 - ////give 224 x10000 - ///十万原石 - ////give 201 x100000 - ///一亿摩拉 - ////give 202 x100000000 - ///重载配置 - ////reload - ///重登 - ////kick - ///清空当前角色命之座(需重登) - ////resetconst - ///清空全部角色命之座(需重登) - ////resetconst all - ///清空背包 - ////clear all [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string CustomCommands { - get { - return ResourceManager.GetString("CustomCommands", resourceCulture); - } - } - - /// - /// 查找类似 1:深入狼之殿 - ///2:丘丘人大本营(test) - ///3:丘丘人巢穴(test) - ///4:小岩洞据点(test) - ///5:小岩洞据点(test) - ///6:小岩洞秘境(test) - ///7:遗迹遇险点(test) - ///8:丘丘人小据点(test) - ///9:丘丘人大据点(test) - ///10:密林、废墟与龙之泪 - ///11:壶中天 - ///12:洞天云海地城玩法测试(test) - ///13:角色战斗测试(test) - ///15:低温关卡白盒(test) - ///16:移动平台性能测试(test) - ///17:战斗性能测试(test) - ///18:电桩电源白盒(test) - ///19:圣遗物新因子测试关卡3(test) - ///20:圣遗物新因子测试关卡1(test) - ///21:圣遗物新因子测试关卡2(test) - ///24:黑夜循环地城(test) - ///25:关卡玩法白盒CX(test) - ///26:机关玩法白盒(test) - ///27:怪物元素对抗地城(test) - ///28:地城功能白盒测试(test) - ///29:守护玩法白盒测试(test) - ///30:夺回宝物 - ///31:岩元素白盒测试(test) - ///32:蒙德圣遗物挑战1白盒测试(test) - ///33:爬塔丘丘人模板(test) - ///34:云海白 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Dungeon { - get { - return ResourceManager.GetString("Dungeon", resourceCulture); - } - } - - /// - /// 查找类似 输入不能为空! 的本地化字符串。 - /// - internal static string EmptyInputTip { - get { - return ResourceManager.GetString("EmptyInputTip", resourceCulture); - } - } - - /// - /// 查找类似 错误 的本地化字符串。 - /// - internal static string Error { - get { - return ResourceManager.GetString("Error", resourceCulture); - } - } - - /// - /// 查找类似 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:神铸赋形-猎人贯虹 - ///097:雳裁冥昭-赛诺 - ///098:杯装之诗-温迪 - ///099:神铸赋形-赤沙终末 - /////100:翩舞歈莲-妮露 // Error - ///101:深秘之息-阿贝多 - ///101:神铸赋形-圣显绿箭 的本地化字符串。 - /// - internal static string GachaBannerTitle { - get { - return ResourceManager.GetString("GachaBannerTitle", resourceCulture); - } - } - - /// - /// 查找类似 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:神铸赋形-猎人贯虹 - ///097:雳裁冥昭-赛诺 - ///098:杯装之诗-温迪 - ///099:神铸赋形-赤沙终末 - /////100:翩舞歈莲-妮露 // Error - ///101:深秘之息-阿贝多 - ///101:神铸赋形-圣显绿箭 的本地化字符串。 - /// - internal static string GachaBennerPrefab { - get { - return ResourceManager.GetString("GachaBennerPrefab", resourceCulture); - } - } - - /// - /// 查找类似 // 特殊能力 - ///44000001:使用冲刺后会在原地留下一个n秒后爆炸的能量波 - ///44000002:飞行挑战玩法:空中冲刺 前冲 - ///44000003:飞行挑战玩法:空中冲刺 上冲1 - ///44000004:飞行挑战玩法:空中冲刺 上冲2 - ///44000005:使用冲刺后会在原地留下一个n秒后爆炸的能量波 - ///44000006:范围内回复生命、能量、复活 - ///44000007:使用冲刺后会在原地留下一个n秒后爆炸的能量波 - ///44000008:没有敌人时提升输出 - ///44000009:没有敌人时提升输出 - ///44000010:范围伤害 - ///44000100:备用02 - ///44000101:吐泡泡子弹(远) - ///44000102:吐泡泡子弹(近) - ///44000103:备用02 - ///44000104:备用02 - ///44000105:捉迷藏能量球 - ///44000106:捉迷藏-技能-引导 - ///44000107:捉迷藏-技能-诱饵 - ///44000108:捉迷藏-牢 - ///44000109:捉迷藏-牢 - ///44000110:羽球节 - ///44000111:羽球节 - ///44000112:羽球节 - ///44000113:羽球节 - ///44000114:羽球节 - ///440001 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Gadget { - get { - return ResourceManager.GetString("Gadget", resourceCulture); - } - } - - /// - /// 查找类似 导入成功! 的本地化字符串。 - /// - internal static string GOODImportSuccess { - get { - return ResourceManager.GetString("GOODImportSuccess", resourceCulture); - } - } - - /// - /// 查找类似 是否导入 的本地化字符串。 - /// - internal static string GOODImportText { - get { - return ResourceManager.GetString("GOODImportText", resourceCulture); - } - } - - /// - /// 查找类似 导入GOOD档案 的本地化字符串。 - /// - internal static string GOODImportTitle { - get { - return ResourceManager.GetString("GOODImportTitle", resourceCulture); - } - } - - /// - /// 查找类似 当前商品ID与其它商店中的ID存在冲突,请更换其它ID或自动生成ID 的本地化字符串。 - /// - internal static string GoodsIDConflictPrompt { - get { - return ResourceManager.GetString("GoodsIDConflictPrompt", resourceCulture); - } - } - - /// - /// 查找类似 帮助 的本地化字符串。 - /// - internal static string Help { - get { - return ResourceManager.GetString("Help", resourceCulture); - } - } - - /// - /// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。 - /// - internal static System.Drawing.Icon IconGrasscutter { - get { - object obj = ResourceManager.GetObject("IconGrasscutter", resourceCulture); - return ((System.Drawing.Icon)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap ImgIconGrasscutter { - get { - object obj = ResourceManager.GetObject("ImgIconGrasscutter", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找 System.Drawing.Bitmap 类型的本地化资源。 - /// - internal static System.Drawing.Bitmap ImgSupport { - get { - object obj = ResourceManager.GetObject("ImgSupport", resourceCulture); - return ((System.Drawing.Bitmap)(obj)); - } - } - - /// - /// 查找类似 // Items - /// - /// - ///// ITEM_VIRTUAL - ///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:古铁钱 - ///146:牌手经验 - ///147:节庆热度 - ///148:营业收入 - ///149:可用 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Item { - get { - return ResourceManager.GetString("Item", resourceCulture); - } - } - - /// - /// 查找类似 将邮件发送给所有人在当前(v1.4.2)或更早版本可能导致服务器卡顿甚至耗尽资源而崩溃! - ///实测在4H8G机器中向3k+账号发送邮件导致服务端卡死,在32H80G中仅获取所有玩家(2k+)就耗时40秒。 - ///目前已经提交了改进建议,在优化完成之前,请谨慎使用向所有玩家发送邮件! 的本地化字符串。 - /// - internal static string MailSendToAllWarning { - get { - return ResourceManager.GetString("MailSendToAllWarning", resourceCulture); - } - } - - /// - /// 查找类似 // 普通怪物 - ///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:大型水史莱 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Monsters { - get { - return ResourceManager.GetString("Monsters", resourceCulture); - } - } - - /// - /// 查找 System.Byte[] 类型的本地化资源。 - /// - internal static byte[] Newtonsoft_Json { - get { - object obj = ResourceManager.GetObject("Newtonsoft_Json", resourceCulture); - return ((byte[])(obj)); - } - } - - /// - /// 查找类似 版本名:{0} - ///更新时间:{1} - ///更新内容: - ///{2} - ///-------------------------------------------- - ///是否查看更新?选择否将不再提醒该版本。 的本地化字符串。 - /// - internal static string NewVersionInfo { - get { - return ResourceManager.GetString("NewVersionInfo", resourceCulture); - } - } - - /// - /// 查找类似 1. 填写正确的UID - ///2. 向玩家发送验证码 - ///3. 输入正确的验证码 - ///4. 连接 - ///5. 享受 的本地化字符串。 - /// - internal static string OpenCommandHelp { - get { - return ResourceManager.GetString("OpenCommandHelp", resourceCulture); - } - } - - /// - /// 查找类似 要设置的权限不能为空! 的本地化字符串。 - /// - internal static string PermissionCannotBeEmpty { - get { - return ResourceManager.GetString("PermissionCannotBeEmpty", resourceCulture); - } - } - - /// - /// 查找类似 * - ///player.* - ///player.** - ///server.* - ///server.** - ///permission - ///player.clearinv - ///player.clearinv.others - ///player.enterdungeon - ///player.enterdungeon.others - ///player.give - ///player.give.others - ///player.heal - ///player.heal.others - ///player.killcharacter - ///player.killcharacter.others - ///player.quest - ///player.quest.others - ///player.resetconstellation - ///player.resetconstellation.others - ///player.setfetterlevel - ///player.setfetterlevel.others - ///player.setprop - ///player.setprop.others - ///player.setstats - ///player.setstats.others - ///player.settalent - ///p [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Permissions { - get { - return ResourceManager.GetString("Permissions", resourceCulture); - } - } - - /// - /// 查找类似 查询服务端状态失败: 的本地化字符串。 - /// - internal static string QueryServerStatusFailed { - get { - return ResourceManager.GetString("QueryServerStatusFailed", resourceCulture); - } - } - - /// - /// 查找类似 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:女神像 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Quest { - get { - return ResourceManager.GetString("Quest", resourceCulture); - } - } - - /// - /// 查找类似 请先连接到支持[OpenCommand]的服务器 的本地化字符串。 - /// - internal static string RequireOpenCommandTip { - get { - return ResourceManager.GetString("RequireOpenCommandTip", resourceCulture); - } - } - - /// - /// 查找类似 确认将自定义命令恢复到默认值? 的本地化字符串。 - /// - internal static string RestoreCustomCommands { - get { - return ResourceManager.GetString("RestoreCustomCommands", resourceCulture); - } - } - - /// - /// 查找类似 1:BigWorld_LevelStreaming - ///2:BigWorld_LevelStreaming - ///3:提瓦特 - ///4:金苹果群岛(1.6) - ///5:渊下宫 - ///6:层岩巨渊·地下矿区 - ///7:三界路飨祭 - ///9:金苹果群岛(2.8) - ///1001:移动平台性能测试(test) - ///1002:攀爬测试2 - ///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:云海白盒测试(test) - ///1033:Indoor_Ly_Bank - ///1 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Scene { - get { - return ResourceManager.GetString("Scene", resourceCulture); - } - } - - /// - /// 查找类似 加载设置时异常: 的本地化字符串。 - /// - internal static string SettingLoadError { - get { - return ResourceManager.GetString("SettingLoadError", resourceCulture); - } - } - - /// - /// 查找类似 保存设置时异常: 的本地化字符串。 - /// - internal static string SettingSaveError { - get { - return ResourceManager.GetString("SettingSaveError", resourceCulture); - } - } - - /// - /// 查找类似 仅允许以 Shop.json 格式保存!确定要覆盖当前指定文件吗? 的本地化字符串。 - /// - internal static string ShopJsonOverrideWarning { - get { - return ResourceManager.GetString("ShopJsonOverrideWarning", resourceCulture); - } - } - - /// - /// 查找类似 900:派蒙 - ///902:礼包商城 - ///903:礼包商城 - ///1001:尘辉兑换 - ///1002:荣光之风1 - ///1003:铁匠武器店 - ///1004:蒙德杂货铺 - ///1005:猎鹿人 - ///1006:海灯 - ///1007:原萃树脂 - ///1008:东升 - ///1009:岩之印商店 - ///1010:卯师傅 - ///1011:芙萝拉 - ///1012:查尔斯 - ///1013:石榴 - ///1014:舒茨 - ///1015:布洛克 - ///1016:神奇的霍普金斯 - ///1017:杜拉夫 - ///1018:克罗丽丝 - ///1019:璃彩 - ///1020:月疏 - ///1021:阿桂 - ///1022:老高 - ///1023:老孙 - ///1024:绮命 - ///1025:张顺 - ///1026:快刀陈 - ///1027:中原杂碎店 - ///1028:石头 - ///1029:纪芳 - ///1030:朱老板 - ///1031:小白 - ///1032:老周叔?或者凯叔? - ///1033:琳琅 - ///1034:菲尔戈黛特 - ///1035:老周叔?或者凯叔? - ///1036:一大袋摩拉(北国银行) - ///1037:熄星活动 - ///1038:叶卡捷琳娜(存疑) - ///1039:哈里斯雪山前营地 - ///1040:「白垩与黑龙」活动商店兑换 - ///1041:迷你仙灵活动 - ///1042:宜年 海灯节 - ///1043:某之印商店 - /// [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string ShopType { - get { - return ResourceManager.GetString("ShopType", resourceCulture); - } - } - - /// - /// 查找类似 任务已经启动,无法操作 的本地化字符串。 - /// - internal static string TaskRunningCannotOperated { - get { - return ResourceManager.GetString("TaskRunningCannotOperated", resourceCulture); - } - } - - /// - /// 查找类似 提示 的本地化字符串。 - /// - internal static string Tips { - get { - return ResourceManager.GetString("Tips", resourceCulture); - } - } - - /// - /// 查找类似 Token不能为空 的本地化字符串。 - /// - internal static string TokenCannotBeEmpty { - get { - return ResourceManager.GetString("TokenCannotBeEmpty", resourceCulture); - } - } - - /// - /// 查找类似 已从缓存中恢复Token 的本地化字符串。 - /// - internal static string TokenRestoredFromCache { - get { - return ResourceManager.GetString("TokenRestoredFromCache", resourceCulture); - } - } - - /// - /// 查找类似 用户名不能为空! 的本地化字符串。 - /// - internal static string UsernameCannotBeEmpty { - get { - return ResourceManager.GetString("UsernameCannotBeEmpty", resourceCulture); - } - } - - /// - /// 查找类似 警告 的本地化字符串。 - /// - internal static string Warning { - get { - return ResourceManager.GetString("Warning", resourceCulture); - } - } - - /// - /// 查找类似 11101:无锋剑 - ///11201:银剑 - ///11301:冷刃 - ///11302:黎明神剑 - ///11303:旅行剑 - ///11304:暗铁剑 - ///11305:吃虎鱼刀 - ///11306:飞天御剑 - ///11401:西风剑 - ///11402:笛剑 - ///11403:祭礼剑 - ///11404:宗室长剑 - ///11405:匣里龙吟 - ///11406:试作斩岩 - ///11407:铁蜂刺 - ///11408:黑岩长剑 - ///11409:黑剑 - ///11410:暗巷闪光 - ///11412:降临之剑 - ///11413:腐殖之剑 - ///11414:天目影打刀 - ///11415:辰砂之纺锤 - ///11416:笼钓瓶一心 - ///11417:原木刀 - ///11418:西福斯的月光 - ///11419:「一心传」名刀 - ///11420:「一心传」名刀 - ///11421:「一心传」名刀 - ///11422:东花坊时雨 - ///11501:风鹰剑 - ///11502:天空之刃 - ///11503:苍古自由之誓 - ///11504:斫峰之刃 - ///11505:磐岩结绿 - ///11509:雾切之回光 - ///11510:波乱月白经津 - ///11511:圣显之钥 - ///12101:训练大剑 - ///12201:佣兵重剑 - ///12301:铁影阔剑 - ///12302:沐浴龙血的剑 - ///12303:白铁大剑 - ///12 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string Weapon { - get { - return ResourceManager.GetString("Weapon", resourceCulture); - } - } - - /// - /// 查找类似 11301:blue - ///11302:blue - ///11303:blue - ///11304:blue - ///11305:blue - ///11306:blue - ///11401:purple - ///11402:purple - ///11403:purple - ///11404:purple - ///11405:purple - ///11406:purple - ///11407:purple - ///11408:purple - ///11409:purple - ///11410:purple - ///11411:purple - ///11412:purple - ///11413:purple - ///11414:purple - ///11415:purple - ///11501:yellow - ///11502:yellow - ///11503:yellow - ///11504:yellow - ///11505:yellow - ///11506:yellow - ///11507:yellow - ///11508:yellow - ///11509:yellow - ///11510:yellow - ///12301:blue - ///12302:blue - ///12303:blue - ///12304:blue - ///12305:blue - ///12306:blue - ///12401:purple - ///1240 [字符串的其余部分被截断]"; 的本地化字符串。 - /// - internal static string WeaponColor { - get { - return ResourceManager.GetString("WeaponColor", resourceCulture); - } - } - } -} +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace GrasscutterTools.Properties { + using System; + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 返回此类使用的缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GrasscutterTools.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// 查找类似 80001:風與異鄉人 - 使用風元素吹散一株蒲公英。 + ///80002:千嶂萬仞 - 掌握「岩」的元素力。 + ///80003:流水叮嚀 - 集齊全套《清泉之心》。 + ///80004:神戟狂言凌雲霄 - 集齊全套《神霄折戟錄》。 + ///80005:醉客與狼的相遇 - 集齊全套《醉客軼事》。 + ///80006:清泉、白馬與月光 - 集齊全套《竹林月夜》。 + ///80007:人鑄賦形 - 鍛造一把四星武器。 + ///80008:生存專家 - 掌握10種菜餚的製作方式。 + ///80009:生存專家 - 掌握20種菜餚的製作方式。 + ///80010:生存專家 - 掌握40種菜餚的製作方式。 + ///80011:星級大廚 - 10個料理食譜達到熟練。 + ///80012:星級大廚 - 20個料理食譜達到熟練。 + ///80013:星級大廚 - 40個料理食譜達到熟練。 + ///80014:如日方升的旅程 - 角色首次突破至2階。 + ///80015:如日方升的旅程 - 角色首次突破至4階。 + ///80016:如日方升的旅程 - 角色首次突破至6階。 + ///80017:百錘千鍊 - 將一把武器突破至2階。 + ///80018:百錘千鍊 - 將一把武器突破至4階。 + ///80019:百錘千鍊 - 將一把武器 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Achievement { + get { + return ResourceManager.GetString("Achievement", resourceCulture); + } + } + + /// + /// 查找类似 全部 的本地化字符串。 + /// + internal static string All { + get { + return ResourceManager.GetString("All", resourceCulture); + } + } + + /// + /// 查找类似 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 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Artifact { + get { + return ResourceManager.GetString("Artifact", resourceCulture); + } + } + + /// + /// 查找类似 20:深林的记忆 + ///21:饰金之梦 + ///27:沙上楼阁史话 + ///28:乐园遗落之花 + ///29:水仙之梦 + ///30:花海甘露之光 + ///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:高天的风之主 的本地化字符串。 + /// + internal static string ArtifactCat { + get { + return ResourceManager.GetString("ArtifactCat", resourceCulture); + } + } + + /// + /// 查找类似 10001: 生命值 + ///10002: 生命值百分比 + ///10003: 攻击力 + ///10004: 攻击力百分比 + ///10005: 防御力 + ///10006: 防御力百分比 + ///10007: 元素充能效率 + ///10008: 元素精通 + ///10009: 火元素抗性 + ///10010: 雷元素抗性 + ///10011: 冰元素抗性 + ///10012: 水元素抗性 + ///10013: 风元素抗性 + ///10014: 岩元素抗性 + ///10015: 草元素抗性 + ///12001: 攻击力 + ///13001: 生命值 + ///13002: 生命值百分比 + ///13003: 攻击力 + ///13004: 攻击力百分比 + ///13005: 防御力 + ///13006: 防御力百分比 + ///13007: 暴击率 + ///13008: 暴击伤害 + ///13009: 治疗加成 + ///13010: 元素精通 + ///14001: 生命值 + ///15001: 生命值 + ///15002: 生命值百分比 + ///15003: 攻击力 + ///15004: 攻击力百分比 + ///15005: 防御力 + ///15006: 防御力百分比 + ///15007: 元素精通 + ///15008: 火元素伤害加成 + ///15009: 雷元素伤害加成 + ///15010: 冰元素伤害加成 + ///15011: [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string ArtifactMainAttribution { + get { + return ResourceManager.GetString("ArtifactMainAttribution", resourceCulture); + } + } + + /// + /// 查找类似 空之杯,死之羽,理之冠,生之花,时之沙 的本地化字符串。 + /// + internal static string ArtifactPartLabels { + get { + return ResourceManager.GetString("ArtifactPartLabels", resourceCulture); + } + } + + /// + /// 查找类似 101021: 生命值+24 + ///101022: 生命值+30 + ///201021: 生命值+50 + ///201022: 生命值+61 + ///201023: 生命值+72 + ///301021: 生命值+100 + ///301022: 生命值+115 + ///301023: 生命值+129 + ///301024: 生命值+143 + ///401021: 生命值+167 + ///401022: 生命值+191 + ///401023: 生命值+215 + ///401024: 生命值+239 + ///501021: 生命值+209 + ///501022: 生命值+239 + ///501023: 生命值+269 + ///501024: 生命值+299 + ///101031: 生命值百分比+1.2% + ///101032: 生命值百分比+1.5% + ///201031: 生命值百分比+1.6% + ///201032: 生命值百分比+2.0% + ///201033: 生命值百分比+2.3% + ///301031: 生命值百分比+2.4% + ///301032: 生命值百分比+2.8% + ///301033: 生命值百分比+3.2% + ///301034: 生命值百分比+3.5% + ///401031: 生命值百分比+3.3% + ///401032: 生命值百分比+3.7 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string ArtifactSubAttribution { + get { + return ResourceManager.GetString("ArtifactSubAttribution", resourceCulture); + } + } + + /// + /// 查找类似 确认删除? 的本地化字符串。 + /// + internal static string AskConfirmDeletion { + get { + return ResourceManager.GetString("AskConfirmDeletion", resourceCulture); + } + } + + /// + /// 查找类似 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:多 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Avatar { + get { + return ResourceManager.GetString("Avatar", resourceCulture); + } + } + + /// + /// 查找类似 1001:4 + ///1002:5 + ///1003:5 + ///1005:5 + ///1006:4 + ///1007:5 + ///1014:4 + ///1015:4 + ///1016:5 + ///1020:4 + ///1021:4 + ///1022:5 + ///1023:4 + ///1024:4 + ///1025:4 + ///1026:5 + ///1027:4 + ///1029:5 + ///1030:5 + ///1031:4 + ///1032:4 + ///1033:5 + ///1034:4 + ///1035:5 + ///1036:4 + ///1037:5 + ///1038:5 + ///1039:4 + ///1041:5 + ///1042:5 + ///1043:4 + ///1044:4 + ///1045:4 + ///1046:5 + ///1047:5 + ///1048:4 + ///1049:5 + ///1050:4 + ///1051:5 + ///1052:5 + ///1053:4 + ///1054:5 + ///1055:4 + ///1056:4 + ///1057:5 + ///1058:5 + ///1059:4 + ///1060:5 + ///1062:5 + ///1063:5 + ///1064:4 + ///1065:4 + ///1066:5 + ///1067:4 + ///1068:4 + ///1069:5 + ///1070:5 + ///1071:5 + ///1072:4 + ///1073:5 + ///1074:4 + ///1075:5 + ///1076:4 + ///1077:4 + /// [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string AvatarColor { + get { + return ResourceManager.GetString("AvatarColor", resourceCulture); + } + } + + /// + /// 查找 System.Byte[] 类型的本地化资源。 + /// + internal static byte[] AvatarStats { + get { + object obj = ResourceManager.GetObject("AvatarStats", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// 查找 System.Byte[] 类型的本地化资源。 + /// + internal static byte[] Banners { + get { + object obj = ResourceManager.GetObject("Banners", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// 查找类似 浏览器打开失败,你可以通过以下链接手动访问: 的本地化字符串。 + /// + internal static string BrowserOpenFailedTip { + get { + return ResourceManager.GetString("BrowserOpenFailedTip", resourceCulture); + } + } + + /// + /// 查找类似 检查到新版本 的本地化字符串。 + /// + internal static string CheckToNewVersion { + get { + return ResourceManager.GetString("CheckToNewVersion", resourceCulture); + } + } + + /// + /// 查找类似 无,晴天,多云,雨天,雷暴,雪天,雾天 的本地化字符串。 + /// + internal static string ClimateType { + get { + return ResourceManager.GetString("ClimateType", resourceCulture); + } + } + + /// + /// 查找类似 {0} 秒后可重发 的本地化字符串。 + /// + internal static string CodeResendTip { + get { + return ResourceManager.GetString("CodeResendTip", resourceCulture); + } + } + + /// + /// 查找类似 发送中... 的本地化字符串。 + /// + internal static string CodeSending { + get { + return ResourceManager.GetString("CodeSending", resourceCulture); + } + } + + /// + /// 查找类似 命令内容不能为空 的本地化字符串。 + /// + internal static string CommandContentCannotBeEmpty { + get { + return ResourceManager.GetString("CommandContentCannotBeEmpty", resourceCulture); + } + } + + /// + /// 查找类似 未找到该命令 的本地化字符串。 + /// + internal static string CommandNotFound { + get { + return ResourceManager.GetString("CommandNotFound", resourceCulture); + } + } + + /// + /// 查找类似 命令标签不能为空 的本地化字符串。 + /// + internal static string CommandTagCannotBeEmpty { + get { + return ResourceManager.GetString("CommandTagCannotBeEmpty", resourceCulture); + } + } + + /// + /// 查找类似 现在你可以远程执行命令了哦! 的本地化字符串。 + /// + internal static string ConnectedTip { + get { + return ResourceManager.GetString("ConnectedTip", resourceCulture); + } + } + + /// + /// 查找类似 无敌 + ////prop god on + ///无限体力 + ////prop ns on + ///无限能量 + ////prop ue on + ///冒险等阶升60级 + ////give 102 x1880200 + ///尘歌壶信任值升到10级 + ////give 121 x10900 + ///设置世界等级8 + ////prop wl 8 + ///点亮地图 + ////prop unlockmap 1 + ///一键解锁深渊12层 + ////prop ut 12 + ///设置纪行等级50 + ////prop bp 50 + ///设置好感等级10 + ////setfetterlevel 10 + ///回血 + ////h + ///自杀 + ////kill 0 + ///全队充能 + ////spawn 2008 x25 + ///查看坐标 + ////pos + ///获取全部物品 + ////give all x9999 lv90 c6 r5 sl10 + ///一万纠缠 + ////give 223 x10000 + ///一万相遇 + ////give 224 x10000 + ///十万原石 + ////give 201 x100000 + ///一亿摩拉 + ////give 202 x100000000 + ///重载配置 + ////reload + ///重登 + ////kick + ///清空当前角色命之座(需重登) + ////resetconst + ///清空全部角色命之座(需重登) + ////re [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string CustomCommands { + get { + return ResourceManager.GetString("CustomCommands", resourceCulture); + } + } + + /// + /// 查找类似 1:深入狼之殿 + ///2:丘丘人大本营(test) + ///3:丘丘人巢穴(test) + ///4:小岩洞据点(test) + ///5:小岩洞据点(test) + ///6:小岩洞秘境(test) + ///7:遗迹遇险点(test) + ///8:丘丘人小据点(test) + ///9:丘丘人大据点(test) + ///10:密林、废墟与龙之泪 + ///11:壶中天 + ///12:洞天云海地城玩法测试(test) + ///13:角色战斗测试(test) + ///15:低温关卡白盒(test) + ///16:移动平台性能测试(test) + ///17:战斗性能测试(test) + ///18:电桩电源白盒(test) + ///19:圣遗物新因子测试关卡3(test) + ///20:圣遗物新因子测试关卡1(test) + ///21:圣遗物新因子测试关卡2(test) + ///24:黑夜循环地城(test) + ///25:关卡玩法白盒CX(test) + ///26:机关玩法白盒(test) + ///27:怪物元素对抗地城(test) + ///28:地城功能白盒测试(test) + ///29:守护玩法白盒测试(test) + ///30:夺回宝物 + ///31:岩元素白盒测试(test) + ///32:蒙德圣遗物挑战1白盒测试(test) + ///33:爬塔丘丘人模板(test) + ///34:云海白 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Dungeon { + get { + return ResourceManager.GetString("Dungeon", resourceCulture); + } + } + + /// + /// 查找类似 输入不能为空! 的本地化字符串。 + /// + internal static string EmptyInputTip { + get { + return ResourceManager.GetString("EmptyInputTip", resourceCulture); + } + } + + /// + /// 查找类似 错误 的本地化字符串。 + /// + internal static string Error { + get { + return ResourceManager.GetString("Error", resourceCulture); + } + } + + /// + /// 查找类似 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:神铸赋形-猎人贯虹 + ///097:雳裁冥昭-赛诺 + ///098:杯装之诗-温迪 + ///099:神铸赋形-赤沙终末 + ///0100:翩舞歈莲-妮露 + ///0103:月草的赐慧-纳西妲 + ///0109:余火变相-流浪者 + ///0115:敕诫枢谋-艾尔海森 /// [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string GachaBannerTitle { + get { + return ResourceManager.GetString("GachaBannerTitle", resourceCulture); + } + } + + /// + /// 查找类似 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:神铸赋形-猎人贯虹 + ///097:雳裁冥昭-赛诺 + ///098:杯装之诗-温迪 + ///099:神铸赋形-赤沙终末 + ///100:翩舞歈莲-妮露 + ///101:深秘之息-阿贝多 + ///102:神铸赋形-圣显绿箭 + ///103:月草的赐慧-纳西妲 + ///104 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string GachaBennerPrefab { + get { + return ResourceManager.GetString("GachaBennerPrefab", resourceCulture); + } + } + + /// + /// 查找类似 // 特殊能力 + ///44000001:使用冲刺后会在原地留下一个n秒后爆炸的能量波 + ///44000002:飞行挑战玩法:空中冲刺 前冲 + ///44000003:飞行挑战玩法:空中冲刺 上冲1 + ///44000004:飞行挑战玩法:空中冲刺 上冲2 + ///44000005:使用冲刺后会在原地留下一个n秒后爆炸的能量波 + ///44000006:范围内回复生命、能量、复活 + ///44000007:使用冲刺后会在原地留下一个n秒后爆炸的能量波 + ///44000008:没有敌人时提升输出 + ///44000009:没有敌人时提升输出 + ///44000010:范围伤害 + ///44000100:备用02 + ///44000101:吐泡泡子弹(远) + ///44000102:吐泡泡子弹(近) + ///44000103:备用02 + ///44000104:备用02 + ///44000105:捉迷藏能量球 + ///44000106:捉迷藏-技能-引导 + ///44000107:捉迷藏-技能-诱饵 + ///44000108:捉迷藏-牢 + ///44000109:捉迷藏-牢 + ///44000110:羽球节 + ///44000111:羽球节 + ///44000112:羽球节 + ///44000113:羽球节 + ///44000114:羽球节 + ///440001 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Gadget { + get { + return ResourceManager.GetString("Gadget", resourceCulture); + } + } + + /// + /// 查找类似 导入成功! 的本地化字符串。 + /// + internal static string GOODImportSuccess { + get { + return ResourceManager.GetString("GOODImportSuccess", resourceCulture); + } + } + + /// + /// 查找类似 是否导入 的本地化字符串。 + /// + internal static string GOODImportText { + get { + return ResourceManager.GetString("GOODImportText", resourceCulture); + } + } + + /// + /// 查找类似 导入GOOD档案 的本地化字符串。 + /// + internal static string GOODImportTitle { + get { + return ResourceManager.GetString("GOODImportTitle", resourceCulture); + } + } + + /// + /// 查找类似 当前商品ID与其它商店中的ID存在冲突,请更换其它ID或自动生成ID 的本地化字符串。 + /// + internal static string GoodsIDConflictPrompt { + get { + return ResourceManager.GetString("GoodsIDConflictPrompt", resourceCulture); + } + } + + /// + /// 查找类似 帮助 的本地化字符串。 + /// + internal static string Help { + get { + return ResourceManager.GetString("Help", resourceCulture); + } + } + + /// + /// 查找类似于 (图标) 的 System.Drawing.Icon 类型的本地化资源。 + /// + internal static System.Drawing.Icon IconGrasscutter { + get { + object obj = ResourceManager.GetObject("IconGrasscutter", resourceCulture); + return ((System.Drawing.Icon)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap ImgIconGrasscutter { + get { + object obj = ResourceManager.GetObject("ImgIconGrasscutter", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap ImgSupport { + get { + object obj = ResourceManager.GetObject("ImgSupport", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找类似 // Items + /// + /// + ///// 虚拟物品 + ///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:古铁钱 + ///146:牌手经验 + ///147:节庆热度 + ///148:营业收入 + ///149:可用资金 + ///150: [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Item { + get { + return ResourceManager.GetString("Item", resourceCulture); + } + } + + /// + /// 查找类似 将邮件发送给所有人在当前(v1.4.2)或更早版本可能导致服务器卡顿甚至耗尽资源而崩溃! + ///实测在4H8G机器中向3k+账号发送邮件导致服务端卡死,在32H80G中仅获取所有玩家(2k+)就耗时40秒。 + ///目前已经提交了改进建议,在优化完成之前,请谨慎使用向所有玩家发送邮件! 的本地化字符串。 + /// + internal static string MailSendToAllWarning { + get { + return ResourceManager.GetString("MailSendToAllWarning", resourceCulture); + } + } + + /// + /// 查找类似 // 普通怪物 + ///20010101:草史莱姆 + ///20010201:大型草史莱姆 + ///20010202:大型草史莱姆-强攻强化 + ///20010301:风史莱姆 + ///20010302:风史莱姆(塔防) + ///20010401:大型风史莱姆 + ///20010402:大型风史莱姆(塔防) + ///20010403:大型风史莱姆-强攻强化 + ///20010501:雷史莱姆 + ///20010502:雷史莱姆(塔防) + ///20010503:Slime_Electric_02_SimpleStick - [N/A] 1834387465 + ///20010601:大型雷史莱姆 + ///20010602:大型雷史莱姆(塔防) + ///20010604:大型雷史莱姆-强攻强化 + ///20010605:Slime_Electric_03_SimpleStick - [N/A] 3051091649 + ///20010701:变异雷史莱姆 + ///20010702:变异雷史莱姆-强攻强化 + ///20010703:变异雷史莱姆(塔防) + ///20010801:冰史莱姆 + ///20010802:冰史莱姆-雪山活动 + ///20010803:冰史莱姆(塔防) + ///20010901:大型冰史莱姆 + ///20010902:大型冰 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Monsters { + get { + return ResourceManager.GetString("Monsters", resourceCulture); + } + } + + /// + /// 查找 System.Byte[] 类型的本地化资源。 + /// + internal static byte[] Newtonsoft_Json { + get { + object obj = ResourceManager.GetObject("Newtonsoft_Json", resourceCulture); + return ((byte[])(obj)); + } + } + + /// + /// 查找类似 版本名:{0} + ///更新时间:{1} + ///更新内容: + ///{2} + ///-------------------------------------------- + ///是否查看更新?选择否将不再提醒该版本。 的本地化字符串。 + /// + internal static string NewVersionInfo { + get { + return ResourceManager.GetString("NewVersionInfo", resourceCulture); + } + } + + /// + /// 查找类似 1. 填写正确的UID + ///2. 向玩家发送验证码 + ///3. 输入正确的验证码 + ///4. 连接 + ///5. 享受 的本地化字符串。 + /// + internal static string OpenCommandHelp { + get { + return ResourceManager.GetString("OpenCommandHelp", resourceCulture); + } + } + + /// + /// 查找类似 关于 的本地化字符串。 + /// + internal static string PageAboutTitle { + get { + return ResourceManager.GetString("PageAboutTitle", resourceCulture); + } + } + + /// + /// 查找类似 成就 的本地化字符串。 + /// + internal static string PageAchievementTitle { + get { + return ResourceManager.GetString("PageAchievementTitle", resourceCulture); + } + } + + /// + /// 查找类似 角色 的本地化字符串。 + /// + internal static string PageAvatarTitle { + get { + return ResourceManager.GetString("PageAvatarTitle", resourceCulture); + } + } + + /// + /// 查找类似 自定义 的本地化字符串。 + /// + internal static string PageCustomCommandsTitle { + get { + return ResourceManager.GetString("PageCustomCommandsTitle", resourceCulture); + } + } + + /// + /// 查找类似 圣遗物 的本地化字符串。 + /// + internal static string PageGetArtifactTitle { + get { + return ResourceManager.GetString("PageGetArtifactTitle", resourceCulture); + } + } + + /// + /// 查找类似 物品 的本地化字符串。 + /// + internal static string PageGiveItemTitle { + get { + return ResourceManager.GetString("PageGiveItemTitle", resourceCulture); + } + } + + /// + /// 查找类似 武器 的本地化字符串。 + /// + internal static string PageGiveWeaponTitle { + get { + return ResourceManager.GetString("PageGiveWeaponTitle", resourceCulture); + } + } + + /// + /// 查找类似 主页 的本地化字符串。 + /// + internal static string PageHomeTitle { + get { + return ResourceManager.GetString("PageHomeTitle", resourceCulture); + } + } + + /// + /// 查找类似 邮件 的本地化字符串。 + /// + internal static string PageMailTitle { + get { + return ResourceManager.GetString("PageMailTitle", resourceCulture); + } + } + + /// + /// 查找类似 管理 的本地化字符串。 + /// + internal static string PageManagementTitle { + get { + return ResourceManager.GetString("PageManagementTitle", resourceCulture); + } + } + + /// + /// 查找类似 远程 的本地化字符串。 + /// + internal static string PageOpenCommandTitle { + get { + return ResourceManager.GetString("PageOpenCommandTitle", resourceCulture); + } + } + + /// + /// 查找类似 任务 的本地化字符串。 + /// + internal static string PageQuestTitle { + get { + return ResourceManager.GetString("PageQuestTitle", resourceCulture); + } + } + + /// + /// 查找类似 场景 的本地化字符串。 + /// + internal static string PageSceneTitle { + get { + return ResourceManager.GetString("PageSceneTitle", resourceCulture); + } + } + + /// + /// 查找类似 生成 的本地化字符串。 + /// + internal static string PageSpawnTitle { + get { + return ResourceManager.GetString("PageSpawnTitle", resourceCulture); + } + } + + /// + /// 查找类似 循环 的本地化字符串。 + /// + internal static string PageTasksTitle { + get { + return ResourceManager.GetString("PageTasksTitle", resourceCulture); + } + } + + /// + /// 查找类似 要设置的权限不能为空! 的本地化字符串。 + /// + internal static string PermissionCannotBeEmpty { + get { + return ResourceManager.GetString("PermissionCannotBeEmpty", resourceCulture); + } + } + + /// + /// 查找类似 * + ///player.* + ///player.** + ///server.* + ///server.** + ///permission + ///player.clearinv + ///player.clearinv.others + ///player.enterdungeon + ///player.enterdungeon.others + ///player.give + ///player.give.others + ///player.heal + ///player.heal.others + ///player.killcharacter + ///player.killcharacter.others + ///player.quest + ///player.quest.others + ///player.resetconstellation + ///player.resetconstellation.others + ///player.setfetterlevel + ///player.setfetterlevel.others + ///player.setprop + ///player.setprop.others + ///player.setstats + ///player.setstats.others + ///player.settalent + ///p [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Permissions { + get { + return ResourceManager.GetString("Permissions", resourceCulture); + } + } + + /// + /// 查找类似 查询服务端状态失败: 的本地化字符串。 + /// + internal static string QueryServerStatusFailed { + get { + return ResourceManager.GetString("QueryServerStatusFailed", resourceCulture); + } + } + + /// + /// 查找类似 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:女神像 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Quest { + get { + return ResourceManager.GetString("Quest", resourceCulture); + } + } + + /// + /// 查找类似 请先连接到支持[OpenCommand]的服务器 的本地化字符串。 + /// + internal static string RequireOpenCommandTip { + get { + return ResourceManager.GetString("RequireOpenCommandTip", resourceCulture); + } + } + + /// + /// 查找类似 确认将自定义命令恢复到默认值? 的本地化字符串。 + /// + internal static string RestoreCustomCommands { + get { + return ResourceManager.GetString("RestoreCustomCommands", resourceCulture); + } + } + + /// + /// 查找类似 1:BigWorld_LevelStreaming + ///2:BigWorld_LevelStreaming + ///3:提瓦特 + ///4:金苹果群岛(1.6) + ///5:渊下宫 + ///6:层岩巨渊·地下矿区 + ///7:三界路飨祭 + ///9:金苹果群岛(2.8) + ///1001:移动平台性能测试(test) + ///1002:攀爬测试2 + ///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:云海白盒测试(test) + ///1033:Indoor_Ly_Bank + ///1 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Scene { + get { + return ResourceManager.GetString("Scene", resourceCulture); + } + } + + /// + /// 查找类似 请先选中任意项! 的本地化字符串。 + /// + internal static string SelectAnyItem { + get { + return ResourceManager.GetString("SelectAnyItem", resourceCulture); + } + } + + /// + /// 查找类似 加载设置时异常: 的本地化字符串。 + /// + internal static string SettingLoadError { + get { + return ResourceManager.GetString("SettingLoadError", resourceCulture); + } + } + + /// + /// 查找类似 保存设置时异常: 的本地化字符串。 + /// + internal static string SettingSaveError { + get { + return ResourceManager.GetString("SettingSaveError", resourceCulture); + } + } + + /// + /// 查找类似 仅允许以 Shop.json 格式保存!确定要覆盖当前指定文件吗? 的本地化字符串。 + /// + internal static string ShopJsonOverrideWarning { + get { + return ResourceManager.GetString("ShopJsonOverrideWarning", resourceCulture); + } + } + + /// + /// 查找类似 900:派蒙 + ///902:礼包商城 + ///903:礼包商城 + ///1001:尘辉兑换 + ///1002:荣光之风1 + ///1003:铁匠武器店 + ///1004:蒙德杂货铺 + ///1005:猎鹿人 + ///1006:海灯 + ///1007:原萃树脂 + ///1008:东升 + ///1009:岩之印商店 + ///1010:卯师傅 + ///1011:芙萝拉 + ///1012:查尔斯 + ///1013:石榴 + ///1014:舒茨 + ///1015:布洛克 + ///1016:神奇的霍普金斯 + ///1017:杜拉夫 + ///1018:克罗丽丝 + ///1019:璃彩 + ///1020:月疏 + ///1021:阿桂 + ///1022:老高 + ///1023:老孙 + ///1024:绮命 + ///1025:张顺 + ///1026:快刀陈 + ///1027:中原杂碎店 + ///1028:石头 + ///1029:纪芳 + ///1030:朱老板 + ///1031:小白 + ///1032:老周叔?或者凯叔? + ///1033:琳琅 + ///1034:菲尔戈黛特 + ///1035:老周叔?或者凯叔? + ///1036:一大袋摩拉(北国银行) + ///1037:熄星活动 + ///1038:叶卡捷琳娜(存疑) + ///1039:哈里斯雪山前营地 + ///1040:「白垩与黑龙」活动商店兑换 + ///1041:迷你仙灵活动 + ///1042:宜年 海灯节 + ///1043:某之印商店 + /// [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string ShopType { + get { + return ResourceManager.GetString("ShopType", resourceCulture); + } + } + + /// + /// 查找类似 任务已经启动,无法操作 的本地化字符串。 + /// + internal static string TaskRunningCannotOperated { + get { + return ResourceManager.GetString("TaskRunningCannotOperated", resourceCulture); + } + } + + /// + /// 查找类似 提示 的本地化字符串。 + /// + internal static string Tips { + get { + return ResourceManager.GetString("Tips", resourceCulture); + } + } + + /// + /// 查找类似 Token不能为空 的本地化字符串。 + /// + internal static string TokenCannotBeEmpty { + get { + return ResourceManager.GetString("TokenCannotBeEmpty", resourceCulture); + } + } + + /// + /// 查找类似 已从缓存中恢复Token 的本地化字符串。 + /// + internal static string TokenRestoredFromCache { + get { + return ResourceManager.GetString("TokenRestoredFromCache", resourceCulture); + } + } + + /// + /// 查找类似 用户名不能为空! 的本地化字符串。 + /// + internal static string UsernameCannotBeEmpty { + get { + return ResourceManager.GetString("UsernameCannotBeEmpty", resourceCulture); + } + } + + /// + /// 查找类似 警告 的本地化字符串。 + /// + internal static string Warning { + get { + return ResourceManager.GetString("Warning", resourceCulture); + } + } + + /// + /// 查找类似 11101:无锋剑 + ///11201:银剑 + ///11301:冷刃 + ///11302:黎明神剑 + ///11303:旅行剑 + ///11304:暗铁剑 + ///11305:吃虎鱼刀 + ///11306:飞天御剑 + ///11401:西风剑 + ///11402:笛剑 + ///11403:祭礼剑 + ///11404:宗室长剑 + ///11405:匣里龙吟 + ///11406:试作斩岩 + ///11407:铁蜂刺 + ///11408:黑岩长剑 + ///11409:黑剑 + ///11410:暗巷闪光 + ///11412:降临之剑 + ///11413:腐殖之剑 + ///11414:天目影打刀 + ///11415:辰砂之纺锤 + ///11416:笼钓瓶一心 + ///11417:原木刀 + ///11418:西福斯的月光 + ///11419:「一心传」名刀 + ///11420:「一心传」名刀 + ///11421:「一心传」名刀 + ///11422:东花坊时雨 + ///11501:风鹰剑 + ///11502:天空之刃 + ///11503:苍古自由之誓 + ///11504:斫峰之刃 + ///11505:磐岩结绿 + ///11509:雾切之回光 + ///11510:波乱月白经津 + ///11511:圣显之钥 + ///11512:裁叶萃光 + ///12101:训练大剑 + ///12201:佣兵重剑 + ///12301:铁影阔剑 + ///12302:沐浴龙血的剑 + ///12 [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string Weapon { + get { + return ResourceManager.GetString("Weapon", resourceCulture); + } + } + + /// + /// 查找类似 11301:blue + ///11302:blue + ///11303:blue + ///11304:blue + ///11305:blue + ///11306:blue + ///11401:purple + ///11402:purple + ///11403:purple + ///11404:purple + ///11405:purple + ///11406:purple + ///11407:purple + ///11408:purple + ///11409:purple + ///11410:purple + ///11412:purple + ///11413:purple + ///11414:purple + ///11415:purple + ///11416:purple + ///11417:purple + ///11418:purple + ///11419:purple + ///11420:purple + ///11421:purple + ///11422:purple + ///11501:yellow + ///11502:yellow + ///11503:yellow + ///11504:yellow + ///11505:yellow + ///11509:yellow + ///11510:yellow + ///11511:yellow + ///11512:yellow + ///12301:blue + ///12302:bl [字符串的其余部分被截断]"; 的本地化字符串。 + /// + internal static string WeaponColor { + get { + return ResourceManager.GetString("WeaponColor", resourceCulture); + } + } + } +} diff --git a/Source/GrasscutterTools/Properties/Resources.en-us.resx b/Source/GrasscutterTools/Properties/Resources.en-us.resx index 104159a..23a2457 100644 --- a/Source/GrasscutterTools/Properties/Resources.en-us.resx +++ b/Source/GrasscutterTools/Properties/Resources.en-us.resx @@ -297,4 +297,55 @@ Improvement suggestions have been submitted, please use caution to send emails t The task has already started and cannot be operated + + About + + + Avatar + + + Custom + + + Artifacts + + + Items + + + Weapons + + + Home + + + Mail + + + Manage + + + Remote + + + Quest + + + Scene + + + Spawn + + + Loop + + + ..\Resources\en-us\Achievement.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + + Plase select any item first! + + + Achievement + \ No newline at end of file diff --git a/Source/GrasscutterTools/Properties/Resources.resx b/Source/GrasscutterTools/Properties/Resources.resx index 3e67354..db0b7d9 100644 --- a/Source/GrasscutterTools/Properties/Resources.resx +++ b/Source/GrasscutterTools/Properties/Resources.resx @@ -309,4 +309,55 @@ 任务已经启动,无法操作 + + 关于 + + + 角色 + + + 自定义 + + + 圣遗物 + + + 物品 + + + 武器 + + + 主页 + + + 邮件 + + + 管理 + + + 远程 + + + 任务 + + + 场景 + + + 生成 + + + 循环 + + + ..\Resources\zh-cn\Achievement.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + + 请先选中任意项! + + + 成就 + \ No newline at end of file diff --git a/Source/GrasscutterTools/Properties/Resources.ru-ru.resx b/Source/GrasscutterTools/Properties/Resources.ru-ru.resx index 01eb659..9dedd94 100644 --- a/Source/GrasscutterTools/Properties/Resources.ru-ru.resx +++ b/Source/GrasscutterTools/Properties/Resources.ru-ru.resx @@ -285,4 +285,55 @@ Задача уже запущена и не может быть выполнена + + Справка + + + Персонаж + + + Кастомное + + + Артефакт + + + Предметы + + + Оружие + + + Главная + + + Почта + + + Аккаунты + + + OpenCommand + + + Квест + + + Сцена + + + Спавн + + + Циклы + + + ..\Resources\ru-ru\Achievement.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + + Сначала выберите любой элемент + + + Достижение + \ No newline at end of file diff --git a/Source/GrasscutterTools/Properties/Resources.zh-TW.resx b/Source/GrasscutterTools/Properties/Resources.zh-TW.resx index 896c1f3..a367bdd 100644 --- a/Source/GrasscutterTools/Properties/Resources.zh-TW.resx +++ b/Source/GrasscutterTools/Properties/Resources.zh-TW.resx @@ -291,4 +291,55 @@ 任務已經啟動,無法操作 + + 關於 + + + 角色 + + + 自定義 + + + 聖遺物 + + + 物品 + + + 武器 + + + 主頁 + + + 郵件 + + + 管理 + + + 遠程 + + + 任務 + + + 場景 + + + 生成 + + + 循環 + + + ..\Resources\zh-tw\Achievement.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8 + + + 請先選中任意項! + + + 成就 + \ No newline at end of file diff --git a/Source/GrasscutterTools/Utils/ReleaseAPI.cs b/Source/GrasscutterTools/Utils/GithubHelper.cs similarity index 65% rename from Source/GrasscutterTools/Utils/ReleaseAPI.cs rename to Source/GrasscutterTools/Utils/GithubHelper.cs index 89b671d..ce1c1fa 100644 --- a/Source/GrasscutterTools/Utils/ReleaseAPI.cs +++ b/Source/GrasscutterTools/Utils/GithubHelper.cs @@ -6,9 +6,9 @@ using Newtonsoft.Json; namespace GrasscutterTools.Utils { - internal class ReleaseAPI + internal class GithubHelper { - public static async Task GetReleasesLastest(string username, string repo) + public static async Task GetReleasesLatest(string username, string repo) { var headerValue = new ProductInfoHeaderValue("GrasscutterTools", "1"); try @@ -29,6 +29,23 @@ namespace GrasscutterTools.Utils } } + public static async Task DownloadRepo(string username, string repo, string branch) + { + byte[] zipBytes; + try + { + zipBytes = await HttpHelper.GetDataAsync( + $"https://github.com/{username}/{repo}/archive/refs/heads/{branch}.zip"); + } + catch + { + zipBytes = await HttpHelper.GetDataAsync( + $"https://hub.fastgit.org/{username}/{repo}/archive/refs/heads/{branch}.zip"); + } + + return zipBytes; + } + public class ReleaseInfo { [JsonProperty("tag_name")] @@ -38,7 +55,7 @@ namespace GrasscutterTools.Utils public string Url { get; set; } [JsonProperty("created_at")] - public DateTimeOffset CraeteTime { get; set; } + public DateTimeOffset CreateTime { get; set; } [JsonProperty("name")] public string Name { get; set; } diff --git a/Source/GrasscutterTools/Utils/HttpHelper.cs b/Source/GrasscutterTools/Utils/HttpHelper.cs index bb20ef3..f068a3b 100644 --- a/Source/GrasscutterTools/Utils/HttpHelper.cs +++ b/Source/GrasscutterTools/Utils/HttpHelper.cs @@ -44,15 +44,27 @@ namespace GrasscutterTools.Utils try { var responseMessage = await HttpClient.GetAsync(url); - if (responseMessage.IsSuccessStatusCode) - { - var responseString = await responseMessage.Content.ReadAsStringAsync(); - return JsonConvert.DeserializeObject(responseString); - } - else - { + if (!responseMessage.IsSuccessStatusCode) throw new HttpRequestException(responseMessage.ReasonPhrase); - } + var responseString = await responseMessage.Content.ReadAsStringAsync(); + return JsonConvert.DeserializeObject(responseString); + } + catch (Exception ex) + { + if (ex.InnerException != null) + throw ex.InnerException; + throw; + } + } + + public static async Task GetDataAsync(string url) + { + try + { + var responseMessage = await HttpClient.GetAsync(url); + if (!responseMessage.IsSuccessStatusCode) + throw new HttpRequestException(responseMessage.ReasonPhrase); + return await responseMessage.Content.ReadAsByteArrayAsync(); } catch (Exception ex) { @@ -68,15 +80,10 @@ namespace GrasscutterTools.Utils { var content = new StringContent(JsonConvert.SerializeObject(obj), Encoding.UTF8, "application/json"); var responseMessage = await HttpClient.PostAsync(url, content); - if (responseMessage.IsSuccessStatusCode) - { - var responseString = await responseMessage.Content.ReadAsStringAsync(); - return JsonConvert.DeserializeObject(responseString); - } - else - { + if (!responseMessage.IsSuccessStatusCode) throw new HttpRequestException(responseMessage.ReasonPhrase); - } + var responseString = await responseMessage.Content.ReadAsStringAsync(); + return JsonConvert.DeserializeObject(responseString); } catch (Exception ex) {