diff --git a/Source/GrasscutterTools/Game/GameData.cs b/Source/GrasscutterTools/Game/GameData.cs
index 1863fe5..daedd50 100644
--- a/Source/GrasscutterTools/Game/GameData.cs
+++ b/Source/GrasscutterTools/Game/GameData.cs
@@ -16,8 +16,6 @@
* along with this program. If not, see .
*
**/
-using System.Collections.Generic;
-
using GrasscutterTools.Properties;
namespace GrasscutterTools.Game
@@ -40,6 +38,7 @@ namespace GrasscutterTools.Game
WeaponColors = new ItemMap(Resources.WeaponColor);
GachaBannerPrefabs = new ItemMap(Resources.GachaBennerPrefab);
Quests = new ItemMap(Resources.Quest);
+ ShopType = new ItemMap(Resources.ShopType);
}
@@ -70,5 +69,7 @@ namespace GrasscutterTools.Game
public static ItemMap GachaBannerPrefabs { get; private set; }
public static ItemMap Quests { get; private set; }
+
+ public static ItemMap ShopType { get; private set; }
}
}
diff --git a/Source/GrasscutterTools/Game/Shop/ItemParamData.cs b/Source/GrasscutterTools/Game/Shop/ItemParamData.cs
new file mode 100644
index 0000000..54c3337
--- /dev/null
+++ b/Source/GrasscutterTools/Game/Shop/ItemParamData.cs
@@ -0,0 +1,13 @@
+using Newtonsoft.Json;
+
+namespace GrasscutterTools.Game.Shop
+{
+ public struct ItemParamData
+ {
+ [JsonProperty("id")]
+ public int Id { get; set; }
+
+ [JsonProperty("count")]
+ public int Count { get; set; }
+ }
+}
diff --git a/Source/GrasscutterTools/Game/Shop/ShopInfo.cs b/Source/GrasscutterTools/Game/Shop/ShopInfo.cs
new file mode 100644
index 0000000..e4c236f
--- /dev/null
+++ b/Source/GrasscutterTools/Game/Shop/ShopInfo.cs
@@ -0,0 +1,55 @@
+using System.Collections.Generic;
+
+using Newtonsoft.Json;
+
+namespace GrasscutterTools.Game.Shop
+{
+ public class ShopInfo
+ {
+ [JsonProperty("goodsId")]
+ public int GoodsId { get; set; }
+
+ [JsonProperty("goodsItem")]
+ public ItemParamData GoodsItem { get; set; }
+
+ [JsonProperty("scoin")]
+ public int SCoin { get; set; }
+
+ [JsonProperty("costItemList")]
+ public List CostItemList { get; set; }
+
+ [JsonProperty("boughtNum")]
+ public int BoughtNum { get; set; }
+
+ [JsonProperty("buyLimit")]
+ public int BuyLimit { get; set; }
+
+ [JsonProperty("beginTime")]
+ public int BeginTime { get; set; }
+
+ [JsonProperty("endTime")]
+ public int EndTime { get; set; } = 1924992000;
+
+ [JsonProperty("minLevel")]
+ public int MinLevel { get; set; }
+
+ [JsonProperty("maxLevel")]
+ public int MaxLevel { get; set; } = 61;
+
+ [JsonProperty("preGoodsIdList")]
+ public List PreGoodsIdList { get; set; } = new List();
+
+ [JsonProperty("mcoin")]
+ public int MCoin { get; set; }
+
+ [JsonProperty("hcoin")]
+ public int HCoin { get; set; }
+
+ [JsonProperty("disableType")]
+ public int DisableType { get; set; }
+
+
+ [JsonProperty("secondarySheetId")]
+ public int SecondarySheetId { get; set; }
+ }
+}
diff --git a/Source/GrasscutterTools/Game/Shop/ShopTable.cs b/Source/GrasscutterTools/Game/Shop/ShopTable.cs
new file mode 100644
index 0000000..3f7e583
--- /dev/null
+++ b/Source/GrasscutterTools/Game/Shop/ShopTable.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+
+using Newtonsoft.Json;
+
+namespace GrasscutterTools.Game.Shop
+{
+ public class ShopTable
+ {
+ [JsonProperty("shopId")]
+ public int ShopType { get; set; }
+
+ [JsonProperty("items")]
+ public List Items { get; set; }
+ }
+}
diff --git a/Source/GrasscutterTools/GrasscutterTools.csproj b/Source/GrasscutterTools/GrasscutterTools.csproj
index 904cf3e..8f446d7 100644
--- a/Source/GrasscutterTools/GrasscutterTools.csproj
+++ b/Source/GrasscutterTools/GrasscutterTools.csproj
@@ -134,6 +134,9 @@
+
+
+
@@ -282,6 +285,7 @@
+
@@ -295,6 +299,7 @@
+
@@ -314,6 +319,7 @@
+
@@ -326,6 +332,7 @@
+
diff --git a/Source/GrasscutterTools/Properties/Resources.Designer.cs b/Source/GrasscutterTools/Properties/Resources.Designer.cs
index a32656b..55c4550 100644
--- a/Source/GrasscutterTools/Properties/Resources.Designer.cs
+++ b/Source/GrasscutterTools/Properties/Resources.Designer.cs
@@ -323,46 +323,67 @@ namespace GrasscutterTools.Properties {
}
///
- /// 查找类似 1001:purple
- ///1002:yellow
- ///1003:yellow
- ///1005:yellow
- ///1006:purple
- ///1007:yellow
- ///1014:purple
- ///1015:purple
- ///1016:yellow
- ///1020:purple
- ///1021:purple
- ///1022:yellow
- ///1023:purple
- ///1024:purple
- ///1025:purple
- ///1026:yellow
- ///1027:purple
- ///1029:yellow
- ///1030:yellow
- ///1031:purple
- ///1032:purple
- ///1033:yellow
- ///1034:purple
- ///1035:yellow
- ///1036:purple
- ///1037:yellow
- ///1038:yellow
- ///1039:purple
- ///1041:yellow
- ///1042:yellow
- ///1043:purple
- ///1044:purple
- ///1045:purple
- ///1046:yellow
- ///1047:yellow
- ///1048:purple
- ///1049:yellow
- ///1050:purple
- ///1051:yellow
- ///1052: [字符串的其余部分被截断]"; 的本地化字符串。
+ /// 查找类似 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 {
@@ -570,9 +591,12 @@ namespace GrasscutterTools.Properties {
///071:华紫樱绯
///076:苍流踏花
///081:素霓伣天
- ///091:提纳里池(非原名)
- ///092:钟离池(非原名)
- ///093:猎人之径池(非原名) 的本地化字符串。
+ ///091:提纳里池
+ ///092:钟离池
+ ///093:猎人之径池
+ ///097:赛诺池
+ ///098:温迪池
+ ///099:终末嗟谈之诗/赤沙之杖池 的本地化字符串。
///
internal static string GachaBennerPrefab {
get {
@@ -973,6 +997,61 @@ namespace GrasscutterTools.Properties {
}
}
+ ///
+ /// 查找类似 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);
+ }
+ }
+
///
/// 查找类似 提示 的本地化字符串。
///
diff --git a/Source/GrasscutterTools/Properties/Resources.en-us.resx b/Source/GrasscutterTools/Properties/Resources.en-us.resx
index 83e3bc6..64bde49 100644
--- a/Source/GrasscutterTools/Properties/Resources.en-us.resx
+++ b/Source/GrasscutterTools/Properties/Resources.en-us.resx
@@ -276,4 +276,7 @@ Improvement suggestions have been submitted, please use caution to send emails t
Warning
+
+ ..\Resources\en-us\ShopType.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.resx b/Source/GrasscutterTools/Properties/Resources.resx
index 249319c..e43dcfd 100644
--- a/Source/GrasscutterTools/Properties/Resources.resx
+++ b/Source/GrasscutterTools/Properties/Resources.resx
@@ -285,4 +285,7 @@
警告
+
+ ..\Resources\zh-cn\ShopType.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 252c5ce..5ed3fbf 100644
--- a/Source/GrasscutterTools/Properties/Resources.ru-ru.resx
+++ b/Source/GrasscutterTools/Properties/Resources.ru-ru.resx
@@ -264,4 +264,7 @@
Предупреждение
+
+ ..\Resources\ru-ru\ShopType.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 2d0dcc1..1e72791 100644
--- a/Source/GrasscutterTools/Properties/Resources.zh-TW.resx
+++ b/Source/GrasscutterTools/Properties/Resources.zh-TW.resx
@@ -270,4 +270,7 @@
警告
+
+ ..\Resources\zh-tw\ShopType.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/Resources/en-us/ShopType.txt b/Source/GrasscutterTools/Resources/en-us/ShopType.txt
new file mode 100644
index 0000000..f73b561
--- /dev/null
+++ b/Source/GrasscutterTools/Resources/en-us/ShopType.txt
@@ -0,0 +1,84 @@
+900:Paimon
+902:Package
+903:Mcoin
+1001:Recommend
+1002:City
+1003:Blacksmith
+1004:Grocery
+1005:Food
+1006:Sea Lamp
+1007:Virtual Shop
+1008:Liyue Grocery
+1009:Liyue Souvenir
+1010:Liyue Restaurant
+1011:Npc Flora
+1012:Npc Charles
+1013:Npc Shiliu
+1014:Npc Schulz
+1015:Npc Brook
+1016:Npc Hopkins
+1017:Npc Draff
+1018:Npc Chloris
+1019:Npc Licai
+1020:Npc Yueshu
+1021:Npc Gui
+1022:Npc Gao
+1023:Npc Sun
+1024:Npc Qiming
+1025:Npc Zhangshun
+1026:Npc Chen
+1027:Npc Erniang
+1028:Npc Shitou
+1029:Npc Jifang
+1030:Npc Zhu
+1031:Npc Bai
+1032:Npc Kai
+1033:Npc Linglang
+1034:Npc Verrgoldet
+1035:Npc Zhou
+1036:Task Ekaterina
+1037:Activity Aster
+1038:Task Tartaglia
+1039:Npc Harris
+1040:Activity Dragon Spine
+1041:Activity Treasure Map
+1042:Npc Yinian
+1043:Activity Sea Lamp
+1044:Activity Fleur Fair
+1045:Npc Changshun
+1046:Npc Bolai
+1047:Npc Ashanpo
+1048:Home
+1049:Home Limit
+1050:Npc Masterlu
+1051:Npc Goth
+1052:Costume
+1053:Npc Obata
+1054:Npc Qiuyue
+1055:Npc Ryouko
+1056:Inazuma Grocery
+1057:Inazuma Souvenir
+1058:Inazuma Restaurant
+1059:Npc Kuroda
+1060:Npc Kiminamianna
+1061:Npc Tomoki
+1062:Npc Karpillia
+1063:Blacksmith Inazuma
+1064:Fish
+1065:Fish Liyue
+1066:Fish Inazuma
+1067:Npc Kiyoko
+1068:Expired Widget Mengde
+1069:Capture Animal Shop
+1070:Npc Yamashirokenta
+15001:Activity Channeller Slab
+16001:Activity Summer Time
+16002:Activity Bounce Conjuring
+20001:Activity Blitz Rush
+20002:Activity Chess
+20004:Activity Winter Camp
+20005:Activity Lantern Rite
+22001:Activity Roguelike Dungeon
+27001:Activity Rogue Diary
+28001:Activity Summer Time V2
+30001:Activity Graven Innocence
\ No newline at end of file
diff --git a/Source/GrasscutterTools/Resources/ru-ru/ShopType.txt b/Source/GrasscutterTools/Resources/ru-ru/ShopType.txt
new file mode 100644
index 0000000..f73b561
--- /dev/null
+++ b/Source/GrasscutterTools/Resources/ru-ru/ShopType.txt
@@ -0,0 +1,84 @@
+900:Paimon
+902:Package
+903:Mcoin
+1001:Recommend
+1002:City
+1003:Blacksmith
+1004:Grocery
+1005:Food
+1006:Sea Lamp
+1007:Virtual Shop
+1008:Liyue Grocery
+1009:Liyue Souvenir
+1010:Liyue Restaurant
+1011:Npc Flora
+1012:Npc Charles
+1013:Npc Shiliu
+1014:Npc Schulz
+1015:Npc Brook
+1016:Npc Hopkins
+1017:Npc Draff
+1018:Npc Chloris
+1019:Npc Licai
+1020:Npc Yueshu
+1021:Npc Gui
+1022:Npc Gao
+1023:Npc Sun
+1024:Npc Qiming
+1025:Npc Zhangshun
+1026:Npc Chen
+1027:Npc Erniang
+1028:Npc Shitou
+1029:Npc Jifang
+1030:Npc Zhu
+1031:Npc Bai
+1032:Npc Kai
+1033:Npc Linglang
+1034:Npc Verrgoldet
+1035:Npc Zhou
+1036:Task Ekaterina
+1037:Activity Aster
+1038:Task Tartaglia
+1039:Npc Harris
+1040:Activity Dragon Spine
+1041:Activity Treasure Map
+1042:Npc Yinian
+1043:Activity Sea Lamp
+1044:Activity Fleur Fair
+1045:Npc Changshun
+1046:Npc Bolai
+1047:Npc Ashanpo
+1048:Home
+1049:Home Limit
+1050:Npc Masterlu
+1051:Npc Goth
+1052:Costume
+1053:Npc Obata
+1054:Npc Qiuyue
+1055:Npc Ryouko
+1056:Inazuma Grocery
+1057:Inazuma Souvenir
+1058:Inazuma Restaurant
+1059:Npc Kuroda
+1060:Npc Kiminamianna
+1061:Npc Tomoki
+1062:Npc Karpillia
+1063:Blacksmith Inazuma
+1064:Fish
+1065:Fish Liyue
+1066:Fish Inazuma
+1067:Npc Kiyoko
+1068:Expired Widget Mengde
+1069:Capture Animal Shop
+1070:Npc Yamashirokenta
+15001:Activity Channeller Slab
+16001:Activity Summer Time
+16002:Activity Bounce Conjuring
+20001:Activity Blitz Rush
+20002:Activity Chess
+20004:Activity Winter Camp
+20005:Activity Lantern Rite
+22001:Activity Roguelike Dungeon
+27001:Activity Rogue Diary
+28001:Activity Summer Time V2
+30001:Activity Graven Innocence
\ No newline at end of file
diff --git a/Source/GrasscutterTools/Resources/zh-cn/ShopType.txt b/Source/GrasscutterTools/Resources/zh-cn/ShopType.txt
new file mode 100644
index 0000000..d4e4440
--- /dev/null
+++ b/Source/GrasscutterTools/Resources/zh-cn/ShopType.txt
@@ -0,0 +1,73 @@
+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:某之印商店
+1044:芙罗拉
+1045:璃月长顺
+1046:万有铺子博来
+1047:阿山婆玩具摊
+1048:尘歌壶
+1049:尘歌壶 限制
+1050:路爷工坊主人
+1051:歌德大酒店
+1052:角色装扮
+1053:小畑
+1054:秋月
+1055:凉子
+1056:葵
+1057:雷之印商店
+1058:「志村屋」店主
+1059:黑田
+1060:木南杏奈
+1061:智树
+1062:卡琵莉亚
+1063:稻妻铁匠铺
+1064:楠塔克钓鱼?
+1065:嘉玮
+1066:鲸井椛
+1067:清子
+1068:荣光之风2
+1069:若紫
+1070:山城健太
\ No newline at end of file
diff --git a/Source/GrasscutterTools/Resources/zh-tw/ShopType.txt b/Source/GrasscutterTools/Resources/zh-tw/ShopType.txt
new file mode 100644
index 0000000..b8e1e49
--- /dev/null
+++ b/Source/GrasscutterTools/Resources/zh-tw/ShopType.txt
@@ -0,0 +1,73 @@
+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:某之印商店
+1044:芙羅拉
+1045:璃月長順
+1046:萬有鋪子博來
+1047:阿山婆玩具攤
+1048:塵歌壺
+1049:塵歌壺 限制
+1050:路爺工坊主人
+1051:歌德大酒店
+1052:角色裝扮
+1053:小畑
+1054:秋月
+1055:涼子
+1056:葵
+1057:雷之印商店
+1058:「志村屋」店主
+1059:黑田
+1060:木南杏奈
+1061:智樹
+1062:卡琵莉亞
+1063:稻妻鐵匠鋪
+1064:楠塔克釣魚?
+1065:嘉瑋
+1066:鯨井椛
+1067:清子
+1068:榮光之風2
+1069:若紫
+1070:山城健太
\ No newline at end of file