美食馆菜品图鉴激活+功夫塔配置迁移

This commit is contained in:
meixiongfeng 2023-03-27 19:01:06 +08:00
parent 2fa129fceb
commit 7068b0c635
26 changed files with 2206 additions and 664 deletions

View File

@ -1,6 +1,6 @@
[ [
{ {
"delicacies": "99999", "delicacies": "10002",
"recipe": [], "recipe": [],
"Type": 1, "Type": 1,
"flame": 1, "flame": 1,
@ -14,15 +14,15 @@
"delicacies": "10011", "delicacies": "10011",
"recipe": [ "recipe": [
{ {
"a": "1001", "a": "10013",
"n": 5 "n": 5
}, },
{ {
"a": "1003", "a": "30001",
"n": 20 "n": 20
}, },
{ {
"a": "1004", "a": "30002",
"n": 10 "n": 10
} }
], ],
@ -38,7 +38,7 @@
"delicacies": "10012", "delicacies": "10012",
"recipe": [ "recipe": [
{ {
"a": "1001", "a": "10013",
"n": 20 "n": 20
} }
], ],
@ -49,5 +49,25 @@
"t": "diamond", "t": "diamond",
"n": 5 "n": 5
} }
},
{
"delicacies": "10014",
"recipe": [
{
"a": "10013",
"n": 20
},
{
"a": "30002",
"n": 10
}
],
"Type": 2,
"flame": 3,
"unlockreward": {
"a": "attr",
"t": "diamond",
"n": 5
}
} }
] ]

View File

@ -0,0 +1,254 @@
[
{
"KeyId": 1,
"GroupID": 24002,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_1",
"text": "我喜欢你的牙齿!"
}
},
{
"KeyId": 2,
"GroupID": 24002,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_2",
"text": "我这里的东西应有尽有,慢慢挑~"
}
},
{
"KeyId": 3,
"GroupID": 24002,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_3",
"text": "有什么需要帮忙的吗?"
}
},
{
"KeyId": 4,
"GroupID": 24008,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_4",
"text": "啊?找我有什么事?"
}
},
{
"KeyId": 5,
"GroupID": 24008,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_5",
"text": "你这家伙居然敢不理我?"
}
},
{
"KeyId": 6,
"GroupID": 24008,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_6",
"text": "再不说话,小心我凑你!"
}
},
{
"KeyId": 7,
"GroupID": 44006,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_7",
"text": "听说你想成为功夫大师?"
}
},
{
"KeyId": 8,
"GroupID": 44006,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_8",
"text": "今天的晨功又没看见你。"
}
},
{
"KeyId": 9,
"GroupID": 44006,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_9",
"text": "若有差遣,但凭吩咐。"
}
},
{
"KeyId": 10,
"GroupID": 34002,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_10",
"text": "就这样,什么也不用说……"
}
},
{
"KeyId": 11,
"GroupID": 34002,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_11",
"text": "听说你升职了,恭喜你~"
}
},
{
"KeyId": 12,
"GroupID": 34002,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_12",
"text": "我们都如愿以偿了,真好。"
}
},
{
"KeyId": 13,
"GroupID": 13003,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_13",
"text": "啊,呃……哦~"
}
},
{
"KeyId": 14,
"GroupID": 13003,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_14",
"text": "我,我也不知道……"
}
},
{
"KeyId": 15,
"GroupID": 13003,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_15",
"text": "我能理解你,朋友。"
}
},
{
"KeyId": 16,
"GroupID": 34006,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_16",
"text": "你醒了吗?还是还在梦中?"
}
},
{
"KeyId": 17,
"GroupID": 34006,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_17",
"text": "我会指引你的一切行动。"
}
},
{
"KeyId": 18,
"GroupID": 34006,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_18",
"text": "天快亮了,黎明就在前方。"
}
},
{
"KeyId": 19,
"GroupID": 14005,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_19",
"text": "你想去哪儿,我可以载你一程。"
}
},
{
"KeyId": 20,
"GroupID": 14005,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_20",
"text": "不需要闹出太大动静。"
}
},
{
"KeyId": 21,
"GroupID": 14005,
"Type": 1,
"TaskIDMin": 0,
"TaskIDMax": 0,
"weight": 10,
"Text_Bubble": {
"key": "bubblegroup_21",
"text": "别冲动,先屏住呼吸~"
}
}
]

File diff suppressed because it is too large Load Diff

View File

@ -42,7 +42,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 3000
}, },
{ {
"id": 2, "id": 2,
@ -88,7 +89,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2900
}, },
{ {
"id": 3, "id": 3,
@ -135,7 +137,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2800
}, },
{ {
"id": 4, "id": 4,
@ -181,7 +184,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2700
}, },
{ {
"id": 5, "id": 5,
@ -228,7 +232,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2600
}, },
{ {
"id": 6, "id": 6,
@ -274,7 +279,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2500
}, },
{ {
"id": 7, "id": 7,
@ -321,7 +327,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2400
}, },
{ {
"id": 8, "id": 8,
@ -367,7 +374,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2300
}, },
{ {
"id": 9, "id": 9,
@ -414,7 +422,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2200
}, },
{ {
"id": 10, "id": 10,
@ -465,7 +474,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2100
}, },
{ {
"id": 11, "id": 11,
@ -515,7 +525,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 2000
}, },
{ {
"id": 12, "id": 12,
@ -565,7 +576,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1900
}, },
{ {
"id": 13, "id": 13,
@ -615,7 +627,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1800
}, },
{ {
"id": 14, "id": 14,
@ -665,7 +678,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1700
}, },
{ {
"id": 15, "id": 15,
@ -715,7 +729,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1600
}, },
{ {
"id": 16, "id": 16,
@ -765,7 +780,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1500
}, },
{ {
"id": 17, "id": 17,
@ -815,7 +831,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1400
}, },
{ {
"id": 18, "id": 18,
@ -865,7 +882,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1300
}, },
{ {
"id": 19, "id": 19,
@ -915,7 +933,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1200
}, },
{ {
"id": 20, "id": 20,
@ -970,7 +989,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1100
}, },
{ {
"id": 21, "id": 21,
@ -1025,7 +1045,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1000
}, },
{ {
"id": 22, "id": 22,
@ -1080,7 +1101,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 900
}, },
{ {
"id": 23, "id": 23,
@ -1135,7 +1157,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 800
}, },
{ {
"id": 24, "id": 24,
@ -1190,7 +1213,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 700
}, },
{ {
"id": 25, "id": 25,
@ -1245,7 +1269,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 600
}, },
{ {
"id": 26, "id": 26,
@ -1290,7 +1315,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 3000
}, },
{ {
"id": 27, "id": 27,
@ -1336,7 +1362,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2900
}, },
{ {
"id": 28, "id": 28,
@ -1383,7 +1410,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2800
}, },
{ {
"id": 29, "id": 29,
@ -1429,7 +1457,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2700
}, },
{ {
"id": 30, "id": 30,
@ -1476,7 +1505,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2600
}, },
{ {
"id": 31, "id": 31,
@ -1522,7 +1552,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2500
}, },
{ {
"id": 32, "id": 32,
@ -1569,7 +1600,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2400
}, },
{ {
"id": 33, "id": 33,
@ -1615,7 +1647,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2300
}, },
{ {
"id": 34, "id": 34,
@ -1662,7 +1695,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2200
}, },
{ {
"id": 35, "id": 35,
@ -1713,7 +1747,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2100
}, },
{ {
"id": 36, "id": 36,
@ -1763,7 +1798,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 2000
}, },
{ {
"id": 37, "id": 37,
@ -1813,7 +1849,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1900
}, },
{ {
"id": 38, "id": 38,
@ -1863,7 +1900,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1800
}, },
{ {
"id": 39, "id": 39,
@ -1913,7 +1951,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1700
}, },
{ {
"id": 40, "id": 40,
@ -1963,7 +2002,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1600
}, },
{ {
"id": 41, "id": 41,
@ -2013,7 +2053,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1500
}, },
{ {
"id": 42, "id": 42,
@ -2063,7 +2104,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1400
}, },
{ {
"id": 43, "id": 43,
@ -2113,7 +2155,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1300
}, },
{ {
"id": 44, "id": 44,
@ -2163,7 +2206,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1200
}, },
{ {
"id": 45, "id": 45,
@ -2218,7 +2262,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1100
}, },
{ {
"id": 46, "id": 46,
@ -2273,7 +2318,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1000
}, },
{ {
"id": 47, "id": 47,
@ -2328,7 +2374,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 900
}, },
{ {
"id": 48, "id": 48,
@ -2383,7 +2430,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 800
}, },
{ {
"id": 49, "id": 49,
@ -2438,7 +2486,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 700
}, },
{ {
"id": 50, "id": 50,
@ -2493,7 +2542,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 600
}, },
{ {
"id": 51, "id": 51,
@ -2538,7 +2588,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 3000
}, },
{ {
"id": 52, "id": 52,
@ -2584,7 +2635,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2900
}, },
{ {
"id": 53, "id": 53,
@ -2631,7 +2683,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2800
}, },
{ {
"id": 54, "id": 54,
@ -2677,7 +2730,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2700
}, },
{ {
"id": 55, "id": 55,
@ -2724,7 +2778,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2600
}, },
{ {
"id": 56, "id": 56,
@ -2770,7 +2825,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2500
}, },
{ {
"id": 57, "id": 57,
@ -2817,7 +2873,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2400
}, },
{ {
"id": 58, "id": 58,
@ -2863,7 +2920,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2300
}, },
{ {
"id": 59, "id": 59,
@ -2910,7 +2968,8 @@
50, 50,
30, 30,
20 20
] ],
"light_velocity": 2200
}, },
{ {
"id": 60, "id": 60,
@ -2961,7 +3020,8 @@
70, 70,
30, 30,
0 0
] ],
"light_velocity": 2100
}, },
{ {
"id": 61, "id": 61,
@ -3011,7 +3071,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 2000
}, },
{ {
"id": 62, "id": 62,
@ -3061,7 +3122,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1900
}, },
{ {
"id": 63, "id": 63,
@ -3111,7 +3173,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1800
}, },
{ {
"id": 64, "id": 64,
@ -3161,7 +3224,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1700
}, },
{ {
"id": 65, "id": 65,
@ -3211,7 +3275,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1600
}, },
{ {
"id": 66, "id": 66,
@ -3261,7 +3326,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1500
}, },
{ {
"id": 67, "id": 67,
@ -3311,7 +3377,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1400
}, },
{ {
"id": 68, "id": 68,
@ -3361,7 +3428,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1300
}, },
{ {
"id": 69, "id": 69,
@ -3411,7 +3479,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1200
}, },
{ {
"id": 70, "id": 70,
@ -3466,7 +3535,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1100
}, },
{ {
"id": 71, "id": 71,
@ -3521,7 +3591,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 1000
}, },
{ {
"id": 72, "id": 72,
@ -3576,7 +3647,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 900
}, },
{ {
"id": 73, "id": 73,
@ -3631,7 +3703,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 800
}, },
{ {
"id": 74, "id": 74,
@ -3686,7 +3759,8 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 700
}, },
{ {
"id": 75, "id": 75,
@ -3741,6 +3815,7 @@
100, 100,
0, 0,
0 0
] ],
"light_velocity": 600
} }
] ]

View File

@ -157,15 +157,15 @@
}, },
{ {
"id": 114, "id": 114,
"type_sp": 1, "type_sp": 0,
"tasktxt": "招募一次守护者", "tasktxt": "",
"type": 14, "type": 14,
"valid": 0, "valid": 0,
"data1": 1, "data1": 10,
"data2": 0, "data2": 0,
"data3": 0, "data3": 0,
"data4": 0, "data4": 0,
"data5": 101 "data5": 0
}, },
{ {
"id": 115, "id": 115,
@ -721,7 +721,7 @@
}, },
{ {
"id": 161, "id": 161,
"type_sp": 1, "type_sp": 0,
"tasktxt": "", "tasktxt": "",
"type": 61, "type": 61,
"valid": 0, "valid": 0,
@ -729,7 +729,7 @@
"data2": 0, "data2": 0,
"data3": 0, "data3": 0,
"data4": 0, "data4": 0,
"data5": 102 "data5": 0
}, },
{ {
"id": 162, "id": 162,
@ -877,15 +877,15 @@
}, },
{ {
"id": 174, "id": 174,
"type_sp": 1, "type_sp": 0,
"tasktxt": "尝试挑战邦尼兔", "tasktxt": "",
"type": 70, "type": 70,
"valid": 0, "valid": 0,
"data1": 1, "data1": 1,
"data2": 101, "data2": 101,
"data3": 0, "data3": 0,
"data4": 0, "data4": 0,
"data5": 10050 "data5": 0
}, },
{ {
"id": 175, "id": 175,
@ -1211,18 +1211,6 @@
"data4": 0, "data4": 0,
"data5": 0 "data5": 0
}, },
{
"id": 203,
"type_sp": 1,
"tasktxt": "调查这些木桩",
"type": 149,
"valid": 1,
"data1": 1,
"data2": 0,
"data3": 0,
"data4": 0,
"data5": 0
},
{ {
"id": 301, "id": 301,
"type_sp": 1, "type_sp": 1,

View File

@ -0,0 +1,389 @@
[
{
"id": 1,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
401
],
"goto": 0
},
{
"id": 2,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
402
],
"goto": 0
},
{
"id": 3,
"datas": [
"bossfight_pt_02",
"1.新手引导-花朵-中轴城",
"901"
],
"event": [
2,
403
],
"goto": 1
},
{
"id": 4,
"datas": [
"bossfight_pt_02",
"1.新手引导-花朵-中轴城",
"901"
],
"event": [
2,
404
],
"goto": 0
},
{
"id": 5,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
406
],
"goto": 0
},
{
"id": 6,
"datas": [
"bossfight_pt_02",
"3新手引导-波比-正常待机-中轴城",
"901"
],
"event": [
2,
407
],
"goto": 0
},
{
"id": 7,
"datas": [
"bossfight_pt_02",
"2新手引导-邦尼兔-正常待机-中轴城",
"901"
],
"event": [
2,
408
],
"goto": 0
},
{
"id": 8,
"datas": [
"bossfight_pt_02",
"新手引导-波比-右屏圣树1",
"901"
],
"event": [
2,
410
],
"goto": 1
},
{
"id": 9,
"datas": [
"bossfight_pt_02",
"新手引导-波比-右屏圣树2",
"901"
],
"event": [
2,
411
],
"goto": 0
},
{
"id": 10,
"datas": [
"bossfight_pt_02",
"新手引导-豺狼人-右屏圣树",
"901"
],
"event": [
2,
412
],
"goto": 0
},
{
"id": 11,
"datas": [
"bossfight_pt_02",
"新手引导-豺狼人-右屏圣树",
"901"
],
"event": [
2,
413
],
"goto": 0
},
{
"id": 12,
"datas": [
"bossfight_pt_02",
"新手引导-波比-犀牛守卫",
"901"
],
"event": [
4,
166
],
"goto": 0
},
{
"id": 13,
"datas": [
"bossfight_pt_02",
"新手引导-波比-犀牛守卫",
"901"
],
"event": [
2,
416
],
"goto": 0
},
{
"id": 14,
"datas": [
"bossfight_pt_02",
"新手引导-波比-右屏圣树3",
"901"
],
"event": [
9,
1
],
"goto": 0
},
{
"id": 15,
"datas": [
"bossfight_pt_02",
"新手引导-波比-右屏圣树3",
"901"
],
"event": [
2,
420
],
"goto": 0
},
{
"id": 16,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
422
],
"goto": 0
},
{
"id": 17,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
423
],
"goto": 0
},
{
"id": 18,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
425
],
"goto": 0
},
{
"id": 19,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
426
],
"goto": 0
},
{
"id": 20,
"datas": [
"scenes_smithy_01",
"暴夫纳特铁匠铺",
"901"
],
"event": [
2,
427
],
"goto": 0
},
{
"id": 21,
"datas": [
"scenes_smithy_02",
"打造",
"901"
],
"event": [
2,
428
],
"goto": 0
},
{
"id": 22,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
429
],
"goto": 0
},
{
"id": 23,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
430
],
"goto": 0
},
{
"id": 24,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
431
],
"goto": 0
},
{
"id": 25,
"datas": [
"bossfight_pt_02",
"0新手引导-杰克-中轴城常驻待机",
"901"
],
"event": [
2,
432
],
"goto": 0
},
{
"id": 26,
"datas": [
"bossfight_pt_02",
"功能入口-商人",
"901"
],
"event": [
10,
122
],
"goto": 0
},
{
"id": 27,
"datas": [
"scenes_smithy_02",
"打造",
"139"
],
"event": [
2,
500
],
"goto": 0
},
{
"id": 28,
"datas": [
"scenes_smithy_02",
"打造",
"139"
],
"event": [
2,
404
],
"goto": 0
},
{
"id": 29,
"datas": [
"bossfight_pt_02",
"功能入口-主线关卡",
"901"
],
"event": [
2,
500
],
"goto": 0
},
{
"id": 30,
"datas": [
"bossfight_pt_02",
"传送点-铁匠铺",
"901"
],
"event": [],
"goto": 0
}
]

View File

@ -12687,7 +12687,7 @@
"Type": 3, "Type": 3,
"Argu": [ "Argu": [
390001007, 390001007,
500, 1000,
1, 1,
2 2
], ],
@ -12703,7 +12703,7 @@
{ {
"Id": 235005311, "Id": 235005311,
"EmitPR": 1000, "EmitPR": 1000,
"From": 3, "From": 1,
"Where": [], "Where": [],
"Order": "", "Order": "",
"Limit": 10, "Limit": 10,
@ -12727,7 +12727,7 @@
{ {
"Id": 235005312, "Id": 235005312,
"EmitPR": 1000, "EmitPR": 1000,
"From": 3, "From": 1,
"Where": [], "Where": [],
"Order": "", "Order": "",
"Limit": 10, "Limit": 10,
@ -12784,7 +12784,7 @@
"Type": 3, "Type": 3,
"Argu": [ "Argu": [
390001007, 390001007,
500, 1000,
1, 1,
2 2
], ],
@ -12808,7 +12808,7 @@
"Type": 3, "Type": 3,
"Argu": [ "Argu": [
390001325, 390001325,
2500, 1000,
1, 1,
-1 -1
], ],
@ -23098,7 +23098,9 @@
4, 4,
350 350
], ],
"FollowSK": [], "FollowSK": [
234001112
],
"SucFollowSK": [], "SucFollowSK": [],
"FailFollowSK": [], "FailFollowSK": [],
"MustHit": false, "MustHit": false,
@ -23118,7 +23120,7 @@
"Type": 3, "Type": 3,
"Argu": [ "Argu": [
390001101, 390001101,
400, 500,
1, 1,
2 2
], ],
@ -23162,10 +23164,13 @@
"Order": "", "Order": "",
"Limit": 1, "Limit": 1,
"ExecuteCnt": 1, "ExecuteCnt": 1,
"Type": 21, "Type": 17,
"Argu": [ "Argu": [
2,
1, 1,
4,
1000,
2,
3,
100 100
], ],
"FollowSK": [], "FollowSK": [],
@ -26542,10 +26547,12 @@
"Type": 2, "Type": 2,
"Argu": [ "Argu": [
424006211, 424006211,
1, -1,
1 1
], ],
"FollowSK": [], "FollowSK": [
224006212
],
"SucFollowSK": [], "SucFollowSK": [],
"FailFollowSK": [], "FailFollowSK": [],
"MustHit": false, "MustHit": false,

View File

@ -1880,7 +1880,7 @@
"Id": 434001211, "Id": 434001211,
"When": 12, "When": 12,
"FromCheck": "Target=3", "FromCheck": "Target=3",
"TargetCheck": "", "TargetCheck": "Target=2",
"MainSkillCheck": "", "MainSkillCheck": "",
"AfterSkillCheck": "", "AfterSkillCheck": "",
"BuffCheck": "", "BuffCheck": "",

View File

@ -0,0 +1,22 @@
[
{
"组id": 2,
"name": {
"key": "mainline_name_10001",
"text": "章节1全部任务"
},
"task_type": 2,
"reword": [
{
"a": "item",
"t": "30001",
"n": 30
},
{
"a": "hero",
"t": "34006",
"n": 1
}
]
}
]

View File

@ -3,85 +3,121 @@
"key": 20010, "key": 20010,
"lock": 1, "lock": 1,
"ontxe": 0, "ontxe": 0,
"id_after": 20011,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 1,
"completetask": [
20001,
20002
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": [
"practice"
]
},
{
"key": 20011,
"lock": 1,
"ontxe": 20010,
"id_after": 20012,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_02",
"text": "和这个少年谈谈"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 2,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 0,
"reword": [],
"module": [
"practice"
]
},
{
"key": 20012,
"lock": 1,
"ontxe": 20011,
"id_after": 20020, "id_after": 20020,
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": { "task_Tname": {
"key": "story_80", "key": "task_name_01",
"text": "1" "text": "这是哪里"
}, },
"task_name": { "task_name": {
"key": "story_80", "key": "task_name_03",
"text": "1" "text": "触摸花朵"
}, },
"task_display": { "task_display": {
"key": "story_80", "key": "story_80",
"text": "1" "text": "新手引导"
}, },
"npc": "10010", "npc": 3,
"completetask": [ "completetask": [
0 0
], ],
"deliver_npc": 0, "deliver_npc": 1,
"auto_accept": 1, "auto_accept": 1,
"reword": [], "reword": [],
"module": [] "module": [
"practice"
]
}, },
{ {
"key": 20020, "key": 20020,
"lock": 1, "lock": 1,
"ontxe": 20010, "ontxe": 20012,
"id_after": 20030,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "story_80",
"text": "1"
},
"task_name": {
"key": "story_80",
"text": "1"
},
"task_display": {
"key": "story_80",
"text": "1"
},
"npc": "10020",
"completetask": [
0
],
"deliver_npc": 0,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20030,
"lock": 1,
"ontxe": 20020,
"id_after": 20040, "id_after": 20040,
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": { "task_Tname": {
"key": "story_80", "key": "task_name_01",
"text": "1" "text": "这是哪里"
}, },
"task_name": { "task_name": {
"key": "story_80", "key": "task_name_04",
"text": "1" "text": "触摸花朵"
}, },
"task_display": { "task_display": {
"key": "story_80", "key": "story_80",
"text": "1" "text": "新手引导"
}, },
"npc": "10030", "npc": 4,
"completetask": [ "completetask": [
0 0
], ],
"deliver_npc": 0, "deliver_npc": 1,
"auto_accept": 1, "auto_accept": 1,
"reword": [], "reword": [],
"module": [] "module": []
@ -89,28 +125,28 @@
{ {
"key": 20040, "key": 20040,
"lock": 1, "lock": 1,
"ontxe": 20030, "ontxe": 20020,
"id_after": 20050, "id_after": 20050,
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": { "task_Tname": {
"key": "story_80", "key": "task_name_01",
"text": "1" "text": "这是哪里"
}, },
"task_name": { "task_name": {
"key": "story_80", "key": "task_name_05",
"text": "1" "text": "和杰克谈谈"
}, },
"task_display": { "task_display": {
"key": "story_80", "key": "story_80",
"text": "1" "text": "新手引导"
}, },
"npc": "10040", "npc": 5,
"completetask": [ "completetask": [
174 0
], ],
"deliver_npc": 0, "deliver_npc": 1,
"auto_accept": 1, "auto_accept": 1,
"reword": [], "reword": [],
"module": [] "module": []
@ -124,22 +160,22 @@
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": { "task_Tname": {
"key": "story_80", "key": "task_name_01",
"text": "1" "text": "这是哪里"
}, },
"task_name": { "task_name": {
"key": "story_80", "key": "task_name_06",
"text": "1" "text": "这个小家伙是?"
}, },
"task_display": { "task_display": {
"key": "story_80", "key": "story_80",
"text": "1" "text": "新手引导"
}, },
"npc": "10060", "npc": 6,
"completetask": [ "completetask": [
0 0
], ],
"deliver_npc": 0, "deliver_npc": 1,
"auto_accept": 1, "auto_accept": 1,
"reword": [], "reword": [],
"module": [] "module": []
@ -153,23 +189,23 @@
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": { "task_Tname": {
"key": "story_80", "key": "task_name_01",
"text": "1" "text": "这是哪里"
}, },
"task_name": { "task_name": {
"key": "story_80", "key": "task_name_07",
"text": "1" "text": "和邦尼兔谈谈"
}, },
"task_display": { "task_display": {
"key": "story_80", "key": "story_80",
"text": "1" "text": "新手引导"
}, },
"npc": "10070", "npc": 7,
"completetask": [ "completetask": [
203 0
], ],
"deliver_npc": 10080, "deliver_npc": 1,
"auto_accept": 0, "auto_accept": 1,
"reword": [], "reword": [],
"module": [] "module": []
}, },
@ -182,23 +218,23 @@
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": { "task_Tname": {
"key": "story_80", "key": "task_name_01",
"text": "1" "text": "这是哪里"
}, },
"task_name": { "task_name": {
"key": "story_80", "key": "task_name_08",
"text": "1" "text": "和波比谈谈"
}, },
"task_display": { "task_display": {
"key": "story_80", "key": "story_80",
"text": "1" "text": "新手引导"
}, },
"npc": "10090", "npc": 8,
"completetask": [ "completetask": [
114 0
], ],
"deliver_npc": 10100, "deliver_npc": 1,
"auto_accept": 0, "auto_accept": 1,
"reword": [], "reword": [],
"module": [] "module": []
}, },
@ -206,27 +242,538 @@
"key": 20080, "key": 20080,
"lock": 1, "lock": 1,
"ontxe": 20070, "ontxe": 20070,
"id_after": 20090,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_09",
"text": "和波比谈谈"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 9,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20090,
"lock": 1,
"ontxe": 20080,
"id_after": 20100,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_10",
"text": "和豺狼人谈谈"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 10,
"completetask": [
174
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [
{
"a": "hero",
"t": "34006",
"n": 1
}
],
"module": []
},
{
"key": 20100,
"lock": 1,
"ontxe": 20090,
"id_after": 20110,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_11",
"text": "和豺狼人谈谈"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 11,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20110,
"lock": 1,
"ontxe": 20100,
"id_after": 20120,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_12",
"text": "走入黑洞"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 12,
"completetask": [
198
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [
{
"a": "item",
"t": "30001",
"n": 30
}
],
"module": []
},
{
"key": 20120,
"lock": 1,
"ontxe": 20110,
"id_after": 20130,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_13",
"text": "和犀牛守卫谈谈"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 13,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20130,
"lock": 1,
"ontxe": 20120,
"id_after": 20140,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_14",
"text": "和波比谈谈"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 14,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20140,
"lock": 1,
"ontxe": 20130,
"id_after": 20150,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "task_name_15",
"text": "和波比谈谈"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 15,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20150,
"lock": 1,
"ontxe": 20140,
"id_after": 0, "id_after": 0,
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": { "task_Tname": {
"key": "story_80", "key": "task_name_01",
"text": "1" "text": "这是哪里"
}, },
"task_name": { "task_name": {
"key": "story_80", "key": "task_name_16",
"text": "1" "text": "敬请期待后续剧情"
}, },
"task_display": { "task_display": {
"key": "story_80", "key": "story_80",
"text": "1" "text": "新手引导"
}, },
"npc": "10110", "npc": 16,
"completetask": [ "completetask": [
161 0
], ],
"deliver_npc": 0, "deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20160,
"lock": 1,
"ontxe": 20151,
"id_after": 20170,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 17,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20170,
"lock": 1,
"ontxe": 20160,
"id_after": 20180,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 18,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20180,
"lock": 1,
"ontxe": 20170,
"id_after": 20190,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 19,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [
{
"a": "item",
"t": "120001",
"n": 3
}
],
"module": []
},
{
"key": 20190,
"lock": 1,
"ontxe": 20180,
"id_after": 20200,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 20,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20200,
"lock": 1,
"ontxe": 20190,
"id_after": 20210,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 21,
"completetask": [
0
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20210,
"lock": 1,
"ontxe": 20200,
"id_after": 20220,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 22,
"completetask": [
301
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20220,
"lock": 1,
"ontxe": 20210,
"id_after": 20230,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 23,
"completetask": [
302
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20230,
"lock": 1,
"ontxe": 20220,
"id_after": 20240,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 24,
"completetask": [
303
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 20240,
"lock": 1,
"ontxe": 20230,
"id_after": 0,
"group": 2,
"des": 2,
"icon": "",
"task_Tname": {
"key": "task_name_01",
"text": "这是哪里"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 25,
"completetask": [
114
],
"deliver_npc": 1,
"auto_accept": 1,
"reword": [],
"module": []
},
{
"key": 30001,
"lock": 1,
"ontxe": 20010,
"id_after": 0,
"group": 3,
"des": 3,
"icon": "",
"task_Tname": {
"key": "story_80",
"text": "初来乍到"
},
"task_name": {
"key": "story_80",
"text": "初来乍到"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": 29,
"completetask": [
20003
],
"deliver_npc": 1,
"auto_accept": 0, "auto_accept": 0,
"reword": [], "reword": [],
"module": [] "module": []

View File

@ -282,7 +282,7 @@ const ( //Rpc
Rpc_ModuleFetter core.Rpc_Key = "Rpc_ModuleFetter" Rpc_ModuleFetter core.Rpc_Key = "Rpc_ModuleFetter"
// 赛季塔计算邮件奖励 // 赛季塔计算邮件奖励
Rpc_ModuleSeasonPagodaReward core.Rpc_Key = "Rpc_ModuleSeasonPagodaReward" //Rpc_ModuleSeasonPagodaReward core.Rpc_Key = "Rpc_ModuleSeasonPagodaReward"
// 公会信息 // 公会信息
Rpc_ModuleSociaty core.Rpc_Key = "Rpc_ModuleSociaty" Rpc_ModuleSociaty core.Rpc_Key = "Rpc_ModuleSociaty"

View File

@ -24,6 +24,7 @@ type apiComp struct {
func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) { func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
err = this.MCompGate.Init(service, module, comp, options) err = this.MCompGate.Init(service, module, comp, options)
this.module = module.(*Gourmet) this.module = module.(*Gourmet)
this.service = service this.service = service
return return
} }

View File

@ -0,0 +1,54 @@
package gourmet
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
cfg "go_dreamfactory/sys/configure/structs"
"google.golang.org/protobuf/proto"
)
//参数校验
func (this *apiComp) ActivateAtlasCheck(session comm.IUserSession, req *pb.GourmetActivateAtlasReq) (code pb.ErrorCode) {
if req.Cid == "" {
code = pb.ErrorCode_ReqParameterError
return
}
return
}
func (this *apiComp) ActivateAtlas(session comm.IUserSession, req *pb.GourmetActivateAtlasReq) (code pb.ErrorCode, data proto.Message) {
code = this.ActivateAtlasCheck(session, req)
if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回
}
conf := this.configure.GetGrormetCookBookConf(req.Cid)
if conf == nil { // 配置校验
code = pb.ErrorCode_ConfigNoFound
return
}
_gourmet, err := this.module.modelAtlas.getGourmetAtlasList(session.GetUserId())
if err != nil {
code = pb.ErrorCode_DBError
return
}
if v, ok := _gourmet.Atlas[req.Cid]; ok && v == -1 {
code = pb.ErrorCode_ReqParameterError
return
}
_gourmet.Atlas[req.Cid] = 1
if err := this.module.modelAtlas.Change(session.GetUserId(), map[string]interface{}{
"atlas": _gourmet.Atlas[req.Cid],
}); err != nil {
this.module.Errorf("change modelAtlas failed: %v", err)
}
// 发送首次获得奖励
this.module.DispenseRes(session, []*cfg.Gameatn{conf.Unlockreward}, true)
session.SendMsg(string(this.module.GetType()), "activateatlas", &pb.GourmetActivateAtlasResp{
Atlas: _gourmet.Atlas,
})
return
}

View File

@ -70,7 +70,7 @@ func (this *apiComp) CreateFood(session comm.IUserSession, req *pb.GourmetCreate
rst, _ := this.module.modelAtlas.getGourmetAtlasList(session.GetUserId()) // 校验是否首次获得 rst, _ := this.module.modelAtlas.getGourmetAtlasList(session.GetUserId()) // 校验是否首次获得
if _, ok := rst.Atlas[curFood]; !ok { if _, ok := rst.Atlas[curFood]; !ok {
bFirst = true bFirst = true
rst.Atlas[curFood] = 1 rst.Atlas[curFood] = -1
if err := this.module.modelAtlas.Change(session.GetUserId(), map[string]interface{}{ if err := this.module.modelAtlas.Change(session.GetUserId(), map[string]interface{}{
"atlas": rst.Atlas, "atlas": rst.Atlas,
}); err != nil { }); err != nil {

View File

@ -0,0 +1,34 @@
package gourmet
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
"google.golang.org/protobuf/proto"
)
//参数校验
func (this *apiComp) AtlasCheck(session comm.IUserSession, req *pb.GourmetAtlasReq) (code pb.ErrorCode) {
return
}
///获取美食城基本信息
func (this *apiComp) Atlas(session comm.IUserSession, req *pb.GourmetAtlasReq) (code pb.ErrorCode, data proto.Message) {
code = this.AtlasCheck(session, req)
if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回
}
_gourmet, err := this.module.modelAtlas.getGourmetAtlasList(session.GetUserId())
if err != nil {
code = pb.ErrorCode_DBError
return
}
session.SendMsg(string(this.module.GetType()), "atlas", &pb.GourmetAtlasResp{
Atlas: _gourmet.Atlas,
})
return
}

View File

@ -1,7 +1,6 @@
package pagoda package pagoda
import ( import (
"fmt"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/log" "go_dreamfactory/lego/sys/log"
"go_dreamfactory/modules" "go_dreamfactory/modules"
@ -32,17 +31,15 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
this.module = module.(*Pagoda) this.module = module.(*Pagoda)
err = this.LoadMultiConfigure(map[string]interface{}{ err = this.LoadMultiConfigure(map[string]interface{}{
//game_pagoda: cfg.NewGame_pagoda, //game_pagoda: cfg.NewGame_pagoda,
game_pagodaseasonreward: cfg.NewGamePagodaSeasonReward, //game_pagodaseasonreward: cfg.NewGamePagodaSeasonReward,
game_pagodataskreward: cfg.NewGamePagodaTaskReward, game_pagodataskreward: cfg.NewGamePagodaTaskReward,
game_pagoda: cfg.NewGamePagoda, game_pagoda: cfg.NewGamePagoda,
}) })
//configure.RegisterConfigure(game_pagoda, cfg.NewGamePagoda, this.LoadPagodaData) //configure.RegisterConfigure(game_pagoda, cfg.NewGamePagoda, this.LoadPagodaData)
this._checkType = make(map[int32][]*cfg.GamePassCheckData, 0) this._checkType = make(map[int32][]*cfg.GamePassCheckData, 0)
configure.RegisterConfigure(game_passcheck, cfg.NewGamePassCheck, this.LoadPassCheck) configure.RegisterConfigure(game_passcheck, cfg.NewGamePassCheck, this.LoadPassCheck)
_data := this.GetPagodaSeasonReward()
fmt.Printf("%v", _data)
return return
} }
@ -130,17 +127,6 @@ func (this *configureComp) GetPassCheckByID(id int32) *cfg.GamePassCheckData {
return nil return nil
} }
// 获取
func (this *configureComp) GetPagodaSeasonReward() []*cfg.GamePagodaSeasonRewardData {
if v, err := this.GetConfigure(game_pagodaseasonreward); err == nil {
if configure, ok := v.(*cfg.GamePagodaSeasonReward); ok {
return configure.GetDataList()
}
}
return nil
}
func (this *configureComp) LoadPassCheck() { func (this *configureComp) LoadPassCheck() {
var err error var err error
if v, err := this.GetConfigure(game_passcheck); err == nil { if v, err := this.GetConfigure(game_passcheck); err == nil {

View File

@ -4,15 +4,11 @@ import (
"context" "context"
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"strconv"
"time"
//"go_dreamfactory/lego/sys/redis" //"go_dreamfactory/lego/sys/redis"
"go_dreamfactory/lego/sys/redis/pipe" "go_dreamfactory/lego/sys/redis/pipe"
"go_dreamfactory/modules" "go_dreamfactory/modules"
"go_dreamfactory/pb" "go_dreamfactory/pb"
"go_dreamfactory/sys/configure"
"go_dreamfactory/sys/db"
"github.com/go-redis/redis/v8" "github.com/go-redis/redis/v8"
"go.mongodb.org/mongo-driver/bson/primitive" "go.mongodb.org/mongo-driver/bson/primitive"
@ -111,54 +107,3 @@ func (this *ModelRank) SetNormalPagodaRankList(tableName string, score int32, ui
} }
} }
func (this *ModelRank) seasonSettlement() {
rankReward := this.modulePagoda.configure.GetPagodaSeasonReward()
if rankReward == nil {
return
}
if !db.IsCross() {
if conn, err := db.Cross(); err == nil {
var (
pipe *pipe.RedisPipe = conn.Redis.RedisPipe(context.TODO())
Items []*pb.UserAssets
)
rd := pipe.ZRevRange("pagodaSeasonRank", 0, comm.MaxRankList)
_dataList := rd.Val()
model1 := db.NewDBModel(comm.TableSeasonPagoda, time.Hour, conn)
for index, v := range _dataList {
result := &pb.DBPagodaRecord{}
//result := &pb.DBVikingRank{}
if err := model1.Get(v, result); err == nil {
if userinfo := this.modulePagoda.ModuleUser.GetUser(result.Uid); userinfo != nil {
Items = make([]*pb.UserAssets, 0) //TO 排名配置
for _, v := range rankReward {
if len(v.Ranking) != 2 {
continue
}
if index >= int(v.Ranking[0]) && index <= int(v.Ranking[1]) {
for _, v1 := range v.Reward {
Items = append(Items, &pb.UserAssets{
A: v1.A,
T: v1.T,
N: v1.N,
})
}
this.modulePagoda.mail.SendNewMail(&pb.DBMailData{
CreateTime: uint64(configure.Now().Unix()),
Items: Items,
Cid: "SeasonPagodaReward",
Param: []string{strconv.Itoa(index + 1)}, // 名次
}, result.Uid)
break
}
}
}
}
}
}
}
}

View File

@ -83,7 +83,7 @@ func (this *Pagoda) Start() (err error) {
} }
this.mail = module.(comm.Imail) this.mail = module.(comm.Imail)
this.service.RegisterFunctionName(string(comm.Rpc_ModuleSeasonPagodaReward), this.Rpc_ModuleSeasonPagodaReward) //this.service.RegisterFunctionName(string(comm.Rpc_ModuleSeasonPagodaReward), this.Rpc_ModuleSeasonPagodaReward)
return return
} }
@ -199,7 +199,7 @@ func (this *Pagoda) CheckPoint6(uid string) bool {
func (this *Pagoda) Rpc_ModuleSeasonPagodaReward(ctx context.Context, args *pb.EmptyReq, reply *pb.EmptyResp) { func (this *Pagoda) Rpc_ModuleSeasonPagodaReward(ctx context.Context, args *pb.EmptyReq, reply *pb.EmptyResp) {
this.Debug("Rpc_ModuleSeasonPagodaReward", log.Field{Key: "args", Value: args.String()}) this.Debug("Rpc_ModuleSeasonPagodaReward", log.Field{Key: "args", Value: args.String()})
this.modulerank.seasonSettlement() // this.modulerank.seasonSettlement()
} }
func (this *Pagoda) CheckPoint7(uid string) bool { func (this *Pagoda) CheckPoint7(uid string) bool {

View File

@ -24,9 +24,9 @@ type Timer struct {
options *Options options *Options
service base.IRPCXService //rpc服务对象 通过这个对象可以发布服务和调用其他服务的接口 service base.IRPCXService //rpc服务对象 通过这个对象可以发布服务和调用其他服务的接口
chat *ChatComp //俩天系统定时任务 chat *ChatComp //俩天系统定时任务
season *SeasonPagoda //season *SeasonPagoda
forum *ForumComp forum *ForumComp
arena *ArenaComp arena *ArenaComp
} }
//模块名 //模块名
@ -56,7 +56,7 @@ func (this *Timer) Start() (err error) {
func (this *Timer) OnInstallComp() { func (this *Timer) OnInstallComp() {
this.ModuleBase.OnInstallComp() this.ModuleBase.OnInstallComp()
this.chat = this.RegisterComp(new(ChatComp)).(*ChatComp) this.chat = this.RegisterComp(new(ChatComp)).(*ChatComp)
this.season = this.RegisterComp(new(SeasonPagoda)).(*SeasonPagoda) //this.season = this.RegisterComp(new(SeasonPagoda)).(*SeasonPagoda)
this.arena = this.RegisterComp(new(ArenaComp)).(*ArenaComp) this.arena = this.RegisterComp(new(ArenaComp)).(*ArenaComp)
} }

View File

@ -11,12 +11,10 @@ import (
"go_dreamfactory/sys/db" "go_dreamfactory/sys/db"
"math" "math"
"strconv" "strconv"
"time"
"go_dreamfactory/lego/base" "go_dreamfactory/lego/base"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/lego/core/cbase" "go_dreamfactory/lego/core/cbase"
"go_dreamfactory/lego/sys/cron"
"go_dreamfactory/lego/sys/log" "go_dreamfactory/lego/sys/log"
"go_dreamfactory/lego/sys/redis/pipe" "go_dreamfactory/lego/sys/redis/pipe"
@ -59,39 +57,39 @@ func (this *SeasonPagoda) Start() (err error) {
err = this.MCompModel.Start() err = this.MCompModel.Start()
err = this.MCompConfigure.Start() err = this.MCompConfigure.Start()
configure.RegisterConfigure(game_seasonloop, cfg.NewGameSeasonLoop, nil) // configure.RegisterConfigure(game_seasonloop, cfg.NewGameSeasonLoop, nil)
configure.RegisterConfigure(game_seasonreward, cfg.NewGamePagodaSeasonReward, nil) // configure.RegisterConfigure(game_seasonreward, cfg.NewGamePagodaSeasonReward, nil)
cron.AddFunc("0 0 23 L * ?", this.TimerSeasonOver) //每月最后一天23点执行一次 // cron.AddFunc("0 0 23 L * ?", this.TimerSeasonOver) //每月最后一天23点执行一次
cron.AddFunc("0 0 5 /* * ?", this.TimerSeasonStar) //每月第一天5点执行一次 // cron.AddFunc("0 0 5 /* * ?", this.TimerSeasonStar) //每月第一天5点执行一次
if db.IsCross() { // if db.IsCross() {
return // return
} // }
//time.Sleep(time.Second * 1) // //time.Sleep(time.Second * 1)
//this.DbTest() // //this.DbTest()
conn, err := db.Cross() // conn, err := db.Cross()
if err == nil { // if err == nil {
//this.DbTest() // //this.DbTest()
model := db.NewDBModel(comm.TableSeasonData, 0, conn) // model := db.NewDBModel(comm.TableSeasonData, 0, conn)
_len, err1 := model.DB.CountDocuments(comm.TableSeasonData, bson.M{}) // _len, err1 := model.DB.CountDocuments(comm.TableSeasonData, bson.M{})
if err1 == nil && _len == 0 { // if err1 == nil && _len == 0 {
fmt.Printf("%v,%v", _len, err1) // fmt.Printf("%v,%v", _len, err1)
server := &pb.DBServerData{ // server := &pb.DBServerData{
Id: primitive.NewObjectID().Hex(), // Id: primitive.NewObjectID().Hex(),
ServerState: 1, // ServerState: 1,
DisposableLoop: 1, // DisposableLoop: 1,
FixedLoop: 0, // FixedLoop: 0,
SeasonType: 201, // SeasonType: 201,
OpenTime: time.Now().Unix(), // OpenTime: time.Now().Unix(),
} // }
conf := this.GetSeasonLoop(comm.SeasonType) // conf := this.GetSeasonLoop(comm.SeasonType)
if len(conf.DisposableLoop) > 0 { // if len(conf.DisposableLoop) > 0 {
server.SeasonType = conf.DisposableLoop[0] // server.SeasonType = conf.DisposableLoop[0]
} // }
model.DB.InsertOne(comm.TableSeasonData, server) // model.DB.InsertOne(comm.TableSeasonData, server)
} // }
} // }
return return
} }
@ -157,14 +155,14 @@ func (this *SeasonPagoda) TimerSeasonOver() {
} }
} }
if _, err := this.service.RpcGo(context.Background(), // if _, err := this.service.RpcGo(context.Background(),
comm.Service_Worker, // comm.Service_Worker,
string(comm.Rpc_ModuleSeasonPagodaReward), // string(comm.Rpc_ModuleSeasonPagodaReward),
pb.EmptyReq{}, // pb.EmptyReq{},
nil, // nil,
); err != nil { // ); err != nil {
this.module.Errorln(err) // this.module.Errorln(err)
} // }
} }
// 赛季塔开始 // 赛季塔开始

View File

@ -130,6 +130,100 @@ func (x *GourmetCreateFoodResp) GetFirstGet() bool {
return false return false
} }
type GourmetActivateAtlasReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid"` // 图鉴ID
}
func (x *GourmetActivateAtlasReq) Reset() {
*x = GourmetActivateAtlasReq{}
if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GourmetActivateAtlasReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GourmetActivateAtlasReq) ProtoMessage() {}
func (x *GourmetActivateAtlasReq) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GourmetActivateAtlasReq.ProtoReflect.Descriptor instead.
func (*GourmetActivateAtlasReq) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{2}
}
func (x *GourmetActivateAtlasReq) GetCid() string {
if x != nil {
return x.Cid
}
return ""
}
type GourmetActivateAtlasResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Atlas map[string]int32 `protobuf:"bytes,1,rep,name=atlas,proto3" json:"atlas" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
}
func (x *GourmetActivateAtlasResp) Reset() {
*x = GourmetActivateAtlasResp{}
if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GourmetActivateAtlasResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GourmetActivateAtlasResp) ProtoMessage() {}
func (x *GourmetActivateAtlasResp) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GourmetActivateAtlasResp.ProtoReflect.Descriptor instead.
func (*GourmetActivateAtlasResp) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{3}
}
func (x *GourmetActivateAtlasResp) GetAtlas() map[string]int32 {
if x != nil {
return x.Atlas
}
return nil
}
// 图鉴 // 图鉴
type GourmetAtlasReq struct { type GourmetAtlasReq struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -140,7 +234,7 @@ type GourmetAtlasReq struct {
func (x *GourmetAtlasReq) Reset() { func (x *GourmetAtlasReq) Reset() {
*x = GourmetAtlasReq{} *x = GourmetAtlasReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[2] mi := &file_gourmet_gourmet_msg_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -153,7 +247,7 @@ func (x *GourmetAtlasReq) String() string {
func (*GourmetAtlasReq) ProtoMessage() {} func (*GourmetAtlasReq) ProtoMessage() {}
func (x *GourmetAtlasReq) ProtoReflect() protoreflect.Message { func (x *GourmetAtlasReq) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[2] mi := &file_gourmet_gourmet_msg_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -166,7 +260,7 @@ func (x *GourmetAtlasReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetAtlasReq.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetAtlasReq.ProtoReflect.Descriptor instead.
func (*GourmetAtlasReq) Descriptor() ([]byte, []int) { func (*GourmetAtlasReq) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{2} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{4}
} }
type GourmetAtlasResp struct { type GourmetAtlasResp struct {
@ -174,13 +268,13 @@ type GourmetAtlasResp struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Atlas *DBGourmetAtlas `protobuf:"bytes,1,opt,name=atlas,proto3" json:"atlas"` Atlas map[string]int32 `protobuf:"bytes,1,rep,name=atlas,proto3" json:"atlas" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
} }
func (x *GourmetAtlasResp) Reset() { func (x *GourmetAtlasResp) Reset() {
*x = GourmetAtlasResp{} *x = GourmetAtlasResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[3] mi := &file_gourmet_gourmet_msg_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -193,7 +287,7 @@ func (x *GourmetAtlasResp) String() string {
func (*GourmetAtlasResp) ProtoMessage() {} func (*GourmetAtlasResp) ProtoMessage() {}
func (x *GourmetAtlasResp) ProtoReflect() protoreflect.Message { func (x *GourmetAtlasResp) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[3] mi := &file_gourmet_gourmet_msg_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -206,10 +300,10 @@ func (x *GourmetAtlasResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetAtlasResp.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetAtlasResp.ProtoReflect.Descriptor instead.
func (*GourmetAtlasResp) Descriptor() ([]byte, []int) { func (*GourmetAtlasResp) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{3} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{5}
} }
func (x *GourmetAtlasResp) GetAtlas() *DBGourmetAtlas { func (x *GourmetAtlasResp) GetAtlas() map[string]int32 {
if x != nil { if x != nil {
return x.Atlas return x.Atlas
} }
@ -225,7 +319,7 @@ type GourmetGetListReq struct {
func (x *GourmetGetListReq) Reset() { func (x *GourmetGetListReq) Reset() {
*x = GourmetGetListReq{} *x = GourmetGetListReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[4] mi := &file_gourmet_gourmet_msg_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -238,7 +332,7 @@ func (x *GourmetGetListReq) String() string {
func (*GourmetGetListReq) ProtoMessage() {} func (*GourmetGetListReq) ProtoMessage() {}
func (x *GourmetGetListReq) ProtoReflect() protoreflect.Message { func (x *GourmetGetListReq) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[4] mi := &file_gourmet_gourmet_msg_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -251,7 +345,7 @@ func (x *GourmetGetListReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetGetListReq.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetGetListReq.ProtoReflect.Descriptor instead.
func (*GourmetGetListReq) Descriptor() ([]byte, []int) { func (*GourmetGetListReq) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{4} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{6}
} }
// 返回进度信息 // 返回进度信息
@ -266,7 +360,7 @@ type GourmetGetListResp struct {
func (x *GourmetGetListResp) Reset() { func (x *GourmetGetListResp) Reset() {
*x = GourmetGetListResp{} *x = GourmetGetListResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[5] mi := &file_gourmet_gourmet_msg_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -279,7 +373,7 @@ func (x *GourmetGetListResp) String() string {
func (*GourmetGetListResp) ProtoMessage() {} func (*GourmetGetListResp) ProtoMessage() {}
func (x *GourmetGetListResp) ProtoReflect() protoreflect.Message { func (x *GourmetGetListResp) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[5] mi := &file_gourmet_gourmet_msg_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -292,7 +386,7 @@ func (x *GourmetGetListResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetGetListResp.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetGetListResp.ProtoReflect.Descriptor instead.
func (*GourmetGetListResp) Descriptor() ([]byte, []int) { func (*GourmetGetListResp) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{5} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{7}
} }
func (x *GourmetGetListResp) GetData() *DBGourmet { func (x *GourmetGetListResp) GetData() *DBGourmet {
@ -314,7 +408,7 @@ type GourmetCreateOrderReq struct {
func (x *GourmetCreateOrderReq) Reset() { func (x *GourmetCreateOrderReq) Reset() {
*x = GourmetCreateOrderReq{} *x = GourmetCreateOrderReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[6] mi := &file_gourmet_gourmet_msg_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -327,7 +421,7 @@ func (x *GourmetCreateOrderReq) String() string {
func (*GourmetCreateOrderReq) ProtoMessage() {} func (*GourmetCreateOrderReq) ProtoMessage() {}
func (x *GourmetCreateOrderReq) ProtoReflect() protoreflect.Message { func (x *GourmetCreateOrderReq) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[6] mi := &file_gourmet_gourmet_msg_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -340,7 +434,7 @@ func (x *GourmetCreateOrderReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetCreateOrderReq.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetCreateOrderReq.ProtoReflect.Descriptor instead.
func (*GourmetCreateOrderReq) Descriptor() ([]byte, []int) { func (*GourmetCreateOrderReq) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{6} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{8}
} }
func (x *GourmetCreateOrderReq) GetOrder() []*OrderCook { func (x *GourmetCreateOrderReq) GetOrder() []*OrderCook {
@ -361,7 +455,7 @@ type GourmetCreateOrderResp struct {
func (x *GourmetCreateOrderResp) Reset() { func (x *GourmetCreateOrderResp) Reset() {
*x = GourmetCreateOrderResp{} *x = GourmetCreateOrderResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[7] mi := &file_gourmet_gourmet_msg_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -374,7 +468,7 @@ func (x *GourmetCreateOrderResp) String() string {
func (*GourmetCreateOrderResp) ProtoMessage() {} func (*GourmetCreateOrderResp) ProtoMessage() {}
func (x *GourmetCreateOrderResp) ProtoReflect() protoreflect.Message { func (x *GourmetCreateOrderResp) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[7] mi := &file_gourmet_gourmet_msg_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -387,7 +481,7 @@ func (x *GourmetCreateOrderResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetCreateOrderResp.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetCreateOrderResp.ProtoReflect.Descriptor instead.
func (*GourmetCreateOrderResp) Descriptor() ([]byte, []int) { func (*GourmetCreateOrderResp) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{7} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{9}
} }
func (x *GourmetCreateOrderResp) GetData() *DBGourmet { func (x *GourmetCreateOrderResp) GetData() *DBGourmet {
@ -407,7 +501,7 @@ type GourmetGetRewardReq struct {
func (x *GourmetGetRewardReq) Reset() { func (x *GourmetGetRewardReq) Reset() {
*x = GourmetGetRewardReq{} *x = GourmetGetRewardReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[8] mi := &file_gourmet_gourmet_msg_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -420,7 +514,7 @@ func (x *GourmetGetRewardReq) String() string {
func (*GourmetGetRewardReq) ProtoMessage() {} func (*GourmetGetRewardReq) ProtoMessage() {}
func (x *GourmetGetRewardReq) ProtoReflect() protoreflect.Message { func (x *GourmetGetRewardReq) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[8] mi := &file_gourmet_gourmet_msg_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -433,7 +527,7 @@ func (x *GourmetGetRewardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetGetRewardReq.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetGetRewardReq.ProtoReflect.Descriptor instead.
func (*GourmetGetRewardReq) Descriptor() ([]byte, []int) { func (*GourmetGetRewardReq) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{8} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{10}
} }
type GourmetGetRewardResp struct { type GourmetGetRewardResp struct {
@ -447,7 +541,7 @@ type GourmetGetRewardResp struct {
func (x *GourmetGetRewardResp) Reset() { func (x *GourmetGetRewardResp) Reset() {
*x = GourmetGetRewardResp{} *x = GourmetGetRewardResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[9] mi := &file_gourmet_gourmet_msg_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -460,7 +554,7 @@ func (x *GourmetGetRewardResp) String() string {
func (*GourmetGetRewardResp) ProtoMessage() {} func (*GourmetGetRewardResp) ProtoMessage() {}
func (x *GourmetGetRewardResp) ProtoReflect() protoreflect.Message { func (x *GourmetGetRewardResp) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[9] mi := &file_gourmet_gourmet_msg_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -473,7 +567,7 @@ func (x *GourmetGetRewardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetGetRewardResp.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetGetRewardResp.ProtoReflect.Descriptor instead.
func (*GourmetGetRewardResp) Descriptor() ([]byte, []int) { func (*GourmetGetRewardResp) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{9} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{11}
} }
func (x *GourmetGetRewardResp) GetData() *DBGourmet { func (x *GourmetGetRewardResp) GetData() *DBGourmet {
@ -495,7 +589,7 @@ type GourmetSkillLvReq struct {
func (x *GourmetSkillLvReq) Reset() { func (x *GourmetSkillLvReq) Reset() {
*x = GourmetSkillLvReq{} *x = GourmetSkillLvReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[10] mi := &file_gourmet_gourmet_msg_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -508,7 +602,7 @@ func (x *GourmetSkillLvReq) String() string {
func (*GourmetSkillLvReq) ProtoMessage() {} func (*GourmetSkillLvReq) ProtoMessage() {}
func (x *GourmetSkillLvReq) ProtoReflect() protoreflect.Message { func (x *GourmetSkillLvReq) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[10] mi := &file_gourmet_gourmet_msg_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -521,7 +615,7 @@ func (x *GourmetSkillLvReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetSkillLvReq.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetSkillLvReq.ProtoReflect.Descriptor instead.
func (*GourmetSkillLvReq) Descriptor() ([]byte, []int) { func (*GourmetSkillLvReq) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{10} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{12}
} }
func (x *GourmetSkillLvReq) GetSkillType() int32 { func (x *GourmetSkillLvReq) GetSkillType() int32 {
@ -542,7 +636,7 @@ type GourmetSkillLvResp struct {
func (x *GourmetSkillLvResp) Reset() { func (x *GourmetSkillLvResp) Reset() {
*x = GourmetSkillLvResp{} *x = GourmetSkillLvResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[11] mi := &file_gourmet_gourmet_msg_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -555,7 +649,7 @@ func (x *GourmetSkillLvResp) String() string {
func (*GourmetSkillLvResp) ProtoMessage() {} func (*GourmetSkillLvResp) ProtoMessage() {}
func (x *GourmetSkillLvResp) ProtoReflect() protoreflect.Message { func (x *GourmetSkillLvResp) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[11] mi := &file_gourmet_gourmet_msg_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -568,7 +662,7 @@ func (x *GourmetSkillLvResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetSkillLvResp.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetSkillLvResp.ProtoReflect.Descriptor instead.
func (*GourmetSkillLvResp) Descriptor() ([]byte, []int) { func (*GourmetSkillLvResp) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{11} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{13}
} }
func (x *GourmetSkillLvResp) GetData() *DBGourmet { func (x *GourmetSkillLvResp) GetData() *DBGourmet {
@ -589,7 +683,7 @@ type GourmetGetRandUserReq struct {
func (x *GourmetGetRandUserReq) Reset() { func (x *GourmetGetRandUserReq) Reset() {
*x = GourmetGetRandUserReq{} *x = GourmetGetRandUserReq{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[12] mi := &file_gourmet_gourmet_msg_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -602,7 +696,7 @@ func (x *GourmetGetRandUserReq) String() string {
func (*GourmetGetRandUserReq) ProtoMessage() {} func (*GourmetGetRandUserReq) ProtoMessage() {}
func (x *GourmetGetRandUserReq) ProtoReflect() protoreflect.Message { func (x *GourmetGetRandUserReq) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[12] mi := &file_gourmet_gourmet_msg_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -615,7 +709,7 @@ func (x *GourmetGetRandUserReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetGetRandUserReq.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetGetRandUserReq.ProtoReflect.Descriptor instead.
func (*GourmetGetRandUserReq) Descriptor() ([]byte, []int) { func (*GourmetGetRandUserReq) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{12} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{14}
} }
func (x *GourmetGetRandUserReq) GetPeople() int32 { func (x *GourmetGetRandUserReq) GetPeople() int32 {
@ -636,7 +730,7 @@ type GourmetGetRandUserResp struct {
func (x *GourmetGetRandUserResp) Reset() { func (x *GourmetGetRandUserResp) Reset() {
*x = GourmetGetRandUserResp{} *x = GourmetGetRandUserResp{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[13] mi := &file_gourmet_gourmet_msg_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -649,7 +743,7 @@ func (x *GourmetGetRandUserResp) String() string {
func (*GourmetGetRandUserResp) ProtoMessage() {} func (*GourmetGetRandUserResp) ProtoMessage() {}
func (x *GourmetGetRandUserResp) ProtoReflect() protoreflect.Message { func (x *GourmetGetRandUserResp) ProtoReflect() protoreflect.Message {
mi := &file_gourmet_gourmet_msg_proto_msgTypes[13] mi := &file_gourmet_gourmet_msg_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -662,7 +756,7 @@ func (x *GourmetGetRandUserResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use GourmetGetRandUserResp.ProtoReflect.Descriptor instead. // Deprecated: Use GourmetGetRandUserResp.ProtoReflect.Descriptor instead.
func (*GourmetGetRandUserResp) Descriptor() ([]byte, []int) { func (*GourmetGetRandUserResp) Descriptor() ([]byte, []int) {
return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{13} return file_gourmet_gourmet_msg_proto_rawDescGZIP(), []int{15}
} }
func (x *GourmetGetRandUserResp) GetUser() []*DBUser { func (x *GourmetGetRandUserResp) GetUser() []*DBUser {
@ -694,43 +788,59 @@ var file_gourmet_gourmet_msg_proto_rawDesc = []byte{
0x61, 0x74, 0x65, 0x46, 0x6f, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6f, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x63,
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x1a, 0x0a,
0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x47, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x47, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x47, 0x65, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x6f, 0x75, 0x08, 0x66, 0x69, 0x72, 0x73, 0x74, 0x47, 0x65, 0x74, 0x22, 0x2b, 0x0a, 0x17, 0x47, 0x6f, 0x75,
0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x71, 0x22, 0x39, 0x0a, 0x10, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x74, 0x6c, 0x61,
0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x73, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
0x12, 0x25, 0x0a, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x90, 0x01, 0x0a, 0x18, 0x47, 0x6f, 0x75, 0x72, 0x6d,
0x0f, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52,
0x52, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x22, 0x13, 0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x73, 0x70, 0x12, 0x3a, 0x0a, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03,
0x65, 0x74, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x12, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69,
0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x76, 0x61, 0x74, 0x65, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x41, 0x74,
0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x1a,
0x32, 0x0a, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x38, 0x0a, 0x0a, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
0x74, 0x61, 0x22, 0x39, 0x0a, 0x15, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x43, 0x72, 0x65, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x05, 0x6f, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x4f, 0x72, 0x64, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x11, 0x0a, 0x0f, 0x47, 0x6f, 0x75,
0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x38, 0x0a, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x71, 0x22, 0x80, 0x01, 0x0a,
0x16, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x10, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52, 0x65, 0x73,
0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x70, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x32, 0x1c, 0x2e, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x52,
0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x15, 0x0a, 0x13, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x73, 0x70, 0x2e, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x36, 0x61, 0x74, 0x6c, 0x61, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 0x74, 0x6c, 0x61, 0x73, 0x45, 0x6e,
0x0a, 0x14, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x31, 0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x13, 0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73,
0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x12, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47,
0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61,
0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x22, 0x34, 0x0a, 0x12, 0x47, 0x6f, 0x75, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75,
0x72, 0x6d, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x39, 0x0a, 0x15, 0x47, 0x6f,
0x75, 0x72, 0x6d, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72,
0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6f, 0x6b, 0x52, 0x05,
0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x38, 0x0a, 0x16, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74,
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12,
0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e,
0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
0x2f, 0x0a, 0x15, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x15, 0x0a, 0x13, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77,
0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x36, 0x0a, 0x14, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65,
0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e,
0x22, 0x35, 0x0a, 0x16, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x61, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44,
0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x75, 0x73, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x31,
0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76,
0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x79, 0x70, 0x65,
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x54, 0x79, 0x70,
0x65, 0x22, 0x34, 0x0a, 0x12, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x6c,
0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65,
0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2f, 0x0a, 0x15, 0x47, 0x6f, 0x75, 0x72, 0x6d,
0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x22, 0x35, 0x0a, 0x16, 0x47, 0x6f, 0x75, 0x72,
0x6d, 0x65, 0x74, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x42,
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -745,42 +855,46 @@ func file_gourmet_gourmet_msg_proto_rawDescGZIP() []byte {
return file_gourmet_gourmet_msg_proto_rawDescData return file_gourmet_gourmet_msg_proto_rawDescData
} }
var file_gourmet_gourmet_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_gourmet_gourmet_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_gourmet_gourmet_msg_proto_goTypes = []interface{}{ var file_gourmet_gourmet_msg_proto_goTypes = []interface{}{
(*GourmetCreateFoodReq)(nil), // 0: GourmetCreateFoodReq (*GourmetCreateFoodReq)(nil), // 0: GourmetCreateFoodReq
(*GourmetCreateFoodResp)(nil), // 1: GourmetCreateFoodResp (*GourmetCreateFoodResp)(nil), // 1: GourmetCreateFoodResp
(*GourmetAtlasReq)(nil), // 2: GourmetAtlasReq (*GourmetActivateAtlasReq)(nil), // 2: GourmetActivateAtlasReq
(*GourmetAtlasResp)(nil), // 3: GourmetAtlasResp (*GourmetActivateAtlasResp)(nil), // 3: GourmetActivateAtlasResp
(*GourmetGetListReq)(nil), // 4: GourmetGetListReq (*GourmetAtlasReq)(nil), // 4: GourmetAtlasReq
(*GourmetGetListResp)(nil), // 5: GourmetGetListResp (*GourmetAtlasResp)(nil), // 5: GourmetAtlasResp
(*GourmetCreateOrderReq)(nil), // 6: GourmetCreateOrderReq (*GourmetGetListReq)(nil), // 6: GourmetGetListReq
(*GourmetCreateOrderResp)(nil), // 7: GourmetCreateOrderResp (*GourmetGetListResp)(nil), // 7: GourmetGetListResp
(*GourmetGetRewardReq)(nil), // 8: GourmetGetRewardReq (*GourmetCreateOrderReq)(nil), // 8: GourmetCreateOrderReq
(*GourmetGetRewardResp)(nil), // 9: GourmetGetRewardResp (*GourmetCreateOrderResp)(nil), // 9: GourmetCreateOrderResp
(*GourmetSkillLvReq)(nil), // 10: GourmetSkillLvReq (*GourmetGetRewardReq)(nil), // 10: GourmetGetRewardReq
(*GourmetSkillLvResp)(nil), // 11: GourmetSkillLvResp (*GourmetGetRewardResp)(nil), // 11: GourmetGetRewardResp
(*GourmetGetRandUserReq)(nil), // 12: GourmetGetRandUserReq (*GourmetSkillLvReq)(nil), // 12: GourmetSkillLvReq
(*GourmetGetRandUserResp)(nil), // 13: GourmetGetRandUserResp (*GourmetSkillLvResp)(nil), // 13: GourmetSkillLvResp
nil, // 14: GourmetCreateFoodReq.MaterialEntry (*GourmetGetRandUserReq)(nil), // 14: GourmetGetRandUserReq
(*DBGourmetAtlas)(nil), // 15: DBGourmetAtlas (*GourmetGetRandUserResp)(nil), // 15: GourmetGetRandUserResp
(*DBGourmet)(nil), // 16: DBGourmet nil, // 16: GourmetCreateFoodReq.MaterialEntry
(*OrderCook)(nil), // 17: OrderCook nil, // 17: GourmetActivateAtlasResp.AtlasEntry
(*DBUser)(nil), // 18: DBUser nil, // 18: GourmetAtlasResp.AtlasEntry
(*DBGourmet)(nil), // 19: DBGourmet
(*OrderCook)(nil), // 20: OrderCook
(*DBUser)(nil), // 21: DBUser
} }
var file_gourmet_gourmet_msg_proto_depIdxs = []int32{ var file_gourmet_gourmet_msg_proto_depIdxs = []int32{
14, // 0: GourmetCreateFoodReq.material:type_name -> GourmetCreateFoodReq.MaterialEntry 16, // 0: GourmetCreateFoodReq.material:type_name -> GourmetCreateFoodReq.MaterialEntry
15, // 1: GourmetAtlasResp.atlas:type_name -> DBGourmetAtlas 17, // 1: GourmetActivateAtlasResp.atlas:type_name -> GourmetActivateAtlasResp.AtlasEntry
16, // 2: GourmetGetListResp.data:type_name -> DBGourmet 18, // 2: GourmetAtlasResp.atlas:type_name -> GourmetAtlasResp.AtlasEntry
17, // 3: GourmetCreateOrderReq.order:type_name -> OrderCook 19, // 3: GourmetGetListResp.data:type_name -> DBGourmet
16, // 4: GourmetCreateOrderResp.data:type_name -> DBGourmet 20, // 4: GourmetCreateOrderReq.order:type_name -> OrderCook
16, // 5: GourmetGetRewardResp.data:type_name -> DBGourmet 19, // 5: GourmetCreateOrderResp.data:type_name -> DBGourmet
16, // 6: GourmetSkillLvResp.data:type_name -> DBGourmet 19, // 6: GourmetGetRewardResp.data:type_name -> DBGourmet
18, // 7: GourmetGetRandUserResp.user:type_name -> DBUser 19, // 7: GourmetSkillLvResp.data:type_name -> DBGourmet
8, // [8:8] is the sub-list for method output_type 21, // 8: GourmetGetRandUserResp.user:type_name -> DBUser
8, // [8:8] is the sub-list for method input_type 9, // [9:9] is the sub-list for method output_type
8, // [8:8] is the sub-list for extension type_name 9, // [9:9] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension extendee 9, // [9:9] is the sub-list for extension type_name
0, // [0:8] is the sub-list for field type_name 9, // [9:9] is the sub-list for extension extendee
0, // [0:9] is the sub-list for field type_name
} }
func init() { file_gourmet_gourmet_msg_proto_init() } func init() { file_gourmet_gourmet_msg_proto_init() }
@ -816,7 +930,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetAtlasReq); i { switch v := v.(*GourmetActivateAtlasReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -828,7 +942,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetAtlasResp); i { switch v := v.(*GourmetActivateAtlasResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -840,7 +954,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetGetListReq); i { switch v := v.(*GourmetAtlasReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -852,7 +966,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetGetListResp); i { switch v := v.(*GourmetAtlasResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -864,7 +978,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetCreateOrderReq); i { switch v := v.(*GourmetGetListReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -876,7 +990,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetCreateOrderResp); i { switch v := v.(*GourmetGetListResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -888,7 +1002,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetGetRewardReq); i { switch v := v.(*GourmetCreateOrderReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -900,7 +1014,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetGetRewardResp); i { switch v := v.(*GourmetCreateOrderResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -912,7 +1026,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetSkillLvReq); i { switch v := v.(*GourmetGetRewardReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -924,7 +1038,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetSkillLvResp); i { switch v := v.(*GourmetGetRewardResp); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -936,7 +1050,7 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetGetRandUserReq); i { switch v := v.(*GourmetSkillLvReq); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -948,6 +1062,30 @@ func file_gourmet_gourmet_msg_proto_init() {
} }
} }
file_gourmet_gourmet_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { file_gourmet_gourmet_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetSkillLvResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gourmet_gourmet_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetGetRandUserReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gourmet_gourmet_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GourmetGetRandUserResp); i { switch v := v.(*GourmetGetRandUserResp); i {
case 0: case 0:
return &v.state return &v.state
@ -966,7 +1104,7 @@ func file_gourmet_gourmet_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_gourmet_gourmet_msg_proto_rawDesc, RawDescriptor: file_gourmet_gourmet_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 15, NumMessages: 19,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -24,6 +24,7 @@ type GameNewSmithyData struct {
CustomizedCos2 *Gameatn CustomizedCos2 *Gameatn
CustomizedLv []int32 CustomizedLv []int32
CustomizedLvDistribution []int32 CustomizedLvDistribution []int32
LightVelocity int32
} }
const TypeId_GameNewSmithyData = -1249020316 const TypeId_GameNewSmithyData = -1249020316
@ -85,6 +86,7 @@ func (_v *GameNewSmithyData)Deserialize(_buf map[string]interface{}) (err error)
} }
} }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["light_velocity"].(float64); !_ok_ { err = errors.New("light_velocity error"); return }; _v.LightVelocity = int32(_tempNum_) }
return return
} }

View File

@ -0,0 +1,42 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
type GameWorldAll struct {
_dataMap map[int32]*GameWorldAllData
_dataList []*GameWorldAllData
}
func NewGameWorldAll(_buf []map[string]interface{}) (*GameWorldAll, error) {
_dataList := make([]*GameWorldAllData, 0, len(_buf))
dataMap := make(map[int32]*GameWorldAllData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameWorldAllData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.组id] = _v
}
}
return &GameWorldAll{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameWorldAll) GetDataMap() map[int32]*GameWorldAllData {
return table._dataMap
}
func (table *GameWorldAll) GetDataList() []*GameWorldAllData {
return table._dataList
}
func (table *GameWorldAll) Get(key int32) *GameWorldAllData {
return table._dataMap[key]
}

View File

@ -0,0 +1,54 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
package cfg
import "errors"
type GameWorldAllData struct {
组id int32
Name string
TaskType int32
Reword []*Gameatn
}
const TypeId_GameWorldAllData = 1421722997
func (*GameWorldAllData) GetTypeId() int32 {
return 1421722997
}
func (_v *GameWorldAllData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["组id"].(float64); !_ok_ { err = errors.New("组id error"); return }; _v.组id = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Name error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Name, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["task_type"].(float64); !_ok_ { err = errors.New("task_type error"); return }; _v.TaskType = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["reword"].([]interface{}); !_ok_ { err = errors.New("reword error"); return }
_v.Reword = make([]*Gameatn, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ *Gameatn
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _e_.(map[string]interface{}); !_ok_ { err = errors.New("_list_v_ error"); return }; if _list_v_, err = DeserializeGameatn(_x_); err != nil { return } }
_v.Reword = append(_v.Reword, _list_v_)
}
}
return
}
func DeserializeGameWorldAllData(_buf map[string]interface{}) (*GameWorldAllData, error) {
v := &GameWorldAllData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -21,7 +21,7 @@ type GameWorldTaskData struct {
TaskTname string TaskTname string
TaskName string TaskName string
TaskDisplay string TaskDisplay string
Npc string Npc int32
Completetask []int32 Completetask []int32
DeliverNpc int32 DeliverNpc int32
AutoAccept int32 AutoAccept int32
@ -46,7 +46,7 @@ func (_v *GameWorldTaskData)Deserialize(_buf map[string]interface{}) (err error)
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_Tname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskTname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskTname, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_Tname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskTname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskTname, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskName, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskName, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_display"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskDisplay error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskDisplay, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_display"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskDisplay error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskDisplay, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; if _v.Npc, _ok_ = _buf["npc"].(string); !_ok_ { err = errors.New("npc error"); return } } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["npc"].(float64); !_ok_ { err = errors.New("npc error"); return }; _v.Npc = int32(_tempNum_) }
{ {
var _arr_ []interface{} var _arr_ []interface{}
var _ok_ bool var _ok_ bool

View File

@ -57,11 +57,9 @@ type Tables struct {
Facemod *GameFacemod Facemod *GameFacemod
Msgdistrib *GameMsgdistrib Msgdistrib *GameMsgdistrib
Opencond *GameOpencond Opencond *GameOpencond
Stroy *GameStroy
Pagoda *GamePagoda Pagoda *GamePagoda
PagodaTaskReward *GamePagodaTaskReward PagodaTaskReward *GamePagodaTaskReward
SeasonLoop *GameSeasonLoop SeasonLoop *GameSeasonLoop
PagodaSeasonReward *GamePagodaSeasonReward
RdtaskCondi *GameRdtaskCondi RdtaskCondi *GameRdtaskCondi
RdtaskNpc *GameRdtaskNpc RdtaskNpc *GameRdtaskNpc
Gourmet *GameGourmet Gourmet *GameGourmet
@ -91,7 +89,6 @@ type Tables struct {
LibraryBubble *GameLibraryBubble LibraryBubble *GameLibraryBubble
LibraryPlayBack *GameLibraryPlayBack LibraryPlayBack *GameLibraryPlayBack
Robot *GameRobot Robot *GameRobot
Ip *GameIp
NameLibrary *GameNameLibrary NameLibrary *GameNameLibrary
HeroConvertdata *GameHeroConvertdata HeroConvertdata *GameHeroConvertdata
LinestoryTimeLine *GameLinestoryTimeLine LinestoryTimeLine *GameLinestoryTimeLine
@ -127,6 +124,7 @@ type Tables struct {
PrivilegeCard *GamePrivilegeCard PrivilegeCard *GamePrivilegeCard
Privilege *GamePrivilege Privilege *GamePrivilege
WorldTask *GameWorldTask WorldTask *GameWorldTask
WorldAll *GameWorldAll
Teaching *GameTeaching Teaching *GameTeaching
HeroStrategy *GameHeroStrategy HeroStrategy *GameHeroStrategy
FightGlobalEvent *GameFightGlobalEvent FightGlobalEvent *GameFightGlobalEvent
@ -462,12 +460,6 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.Opencond, err = NewGameOpencond(buf) ; err != nil { if tables.Opencond, err = NewGameOpencond(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_stroy") ; err != nil {
return nil, err
}
if tables.Stroy, err = NewGameStroy(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_pagoda") ; err != nil { if buf, err = loader("game_pagoda") ; err != nil {
return nil, err return nil, err
} }
@ -486,12 +478,6 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.SeasonLoop, err = NewGameSeasonLoop(buf) ; err != nil { if tables.SeasonLoop, err = NewGameSeasonLoop(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_pagodaseasonreward") ; err != nil {
return nil, err
}
if tables.PagodaSeasonReward, err = NewGamePagodaSeasonReward(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_rdtaskcondi") ; err != nil { if buf, err = loader("game_rdtaskcondi") ; err != nil {
return nil, err return nil, err
} }
@ -666,12 +652,6 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.Robot, err = NewGameRobot(buf) ; err != nil { if tables.Robot, err = NewGameRobot(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_ip") ; err != nil {
return nil, err
}
if tables.Ip, err = NewGameIp(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_namelibrary") ; err != nil { if buf, err = loader("game_namelibrary") ; err != nil {
return nil, err return nil, err
} }
@ -882,6 +862,12 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.WorldTask, err = NewGameWorldTask(buf) ; err != nil { if tables.WorldTask, err = NewGameWorldTask(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_worldall") ; err != nil {
return nil, err
}
if tables.WorldAll, err = NewGameWorldAll(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_teaching") ; err != nil { if buf, err = loader("game_teaching") ; err != nil {
return nil, err return nil, err
} }