Update Banners Editor

Add Default Banners
This commit is contained in:
2022-11-20 14:42:52 +08:00
parent f1eb40bb0d
commit 473163e7c6
23 changed files with 5680 additions and 62 deletions

View File

@@ -401,6 +401,16 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找 System.Byte[] 类型的本地化资源。
/// </summary>
internal static byte[] Banners {
get {
object obj = ResourceManager.GetObject("Banners", resourceCulture);
return ((byte[])(obj));
}
}
/// <summary>
/// 查找类似 浏览器打开失败,你可以通过以下链接手动访问: 的本地化字符串。
/// </summary>
@@ -554,6 +564,59 @@ namespace GrasscutterTools.Properties {
}
}
/// <summary>
/// 查找类似 007:初行者推荐祈愿
///008:奔行世间
///009:杯装之诗
///010:黎明巡礼
///011:南风之眷
///012:靖妖傩舞
///013:神铸赋形
///015:闪焰的驻足
///016:初行者推荐祈愿
///017:奔行世间
///018:闪焰的驻足
///019:杯装之诗
///020:神铸赋形
///021:神铸赋形
///022:奔行世间
///023:暂别冬都
///024:陵薮市朝
///027:深秘之息
///028:浮生孰来
///031:烟火之邀
///032:鱼龙灯昼
///033:赤团开时
///036:杯装之诗
///037:暂别冬都
///040:陵薮市朝
///041:浪涌之瞬
///045:叶落风随
///048:白鹭之庭
///049:焰色天河
///052:影寂天下人
///053:浮岳虹珠
///061:鬼门斗宴
///065:出尘入世
///071:华紫樱绯
///076:苍流踏花
///081:素霓伣天
///091:巡御蘙荟-提纳里
///092:陵薮市朝-钟离
///093:神铸赋形-猎人贯虹
///097:雳裁冥昭-赛诺
///098:杯装之诗-温迪
///099:神铸赋形-赤沙终末
///100:翩舞歈莲-妮露
///101:深秘之息-阿贝多
///101:神铸赋形-圣显绿箭 的本地化字符串。
/// </summary>
internal static string GachaBannerTitle {
get {
return ResourceManager.GetString("GachaBannerTitle", resourceCulture);
}
}
/// <summary>
/// 查找类似 007:初行者推荐祈愿
///008:奔行世间

View File

@@ -285,4 +285,7 @@ Improvement suggestions have been submitted, please use caution to send emails t
<data name="ShopJsonOverrideWarning" xml:space="preserve">
<value>Only allowed to save in Shop.json format! Are you sure you want to overwrite the currently specified file?</value>
</data>
<data name="GachaBennerTitle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\en-us\GachaBennerTitle.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;gb2312</value>
</data>
</root>

View File

@@ -294,4 +294,10 @@
<data name="ShopJsonOverrideWarning" xml:space="preserve">
<value>仅允许以 Shop.json 格式保存!确定要覆盖当前指定文件吗?</value>
</data>
<data name="GachaBannerTitle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-cn\GachaBannerTitle.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
<data name="Banners" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Banners.json;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
</root>

View File

@@ -273,4 +273,7 @@
<data name="ShopJsonOverrideWarning" xml:space="preserve">
<value>Разрешено сохранять только в формате Shop.json! Вы уверены, что хотите перезаписать текущий указанный файл?</value>
</data>
<data name="GachaBennerTitle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\ru-ru\GachaBennerTitle.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
</root>

View File

@@ -279,4 +279,7 @@
<data name="ShopJsonOverrideWarning" xml:space="preserve">
<value>僅允許以 Shop.json 格式保存!確定要覆蓋當前指定文件嗎?</value>
</data>
<data name="GachaBennerTitle" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\zh-tw\GachaBennerTitle.txt;System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089;utf-8</value>
</data>
</root>

View File

@@ -12,7 +12,7 @@ namespace GrasscutterTools.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.4.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -214,5 +214,17 @@ namespace GrasscutterTools.Properties {
this["MainFormSize"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string BannersJsonPath {
get {
return ((string)(this["BannersJsonPath"]));
}
set {
this["BannersJsonPath"] = value;
}
}
}
}

View File

@@ -50,5 +50,8 @@
<Setting Name="MainFormSize" Type="System.Drawing.Size" Scope="User">
<Value Profile="(Default)">0, 0</Value>
</Setting>
<Setting Name="BannersJsonPath" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>