上传配置文件

This commit is contained in:
liwei1dao 2023-04-17 18:55:11 +08:00
parent 3345908fe7
commit f27130c3b4
34 changed files with 5084 additions and 1753 deletions

View File

@ -8,7 +8,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 111,
"tasktime": 170,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -56,7 +56,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 174,
"tasktime": 176,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -104,7 +104,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 100,
"tasktime": 149,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -152,7 +152,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 140,
"tasktime": 104,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -200,7 +200,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 176,
"tasktime": 79,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -248,7 +248,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 65,
"tasktime": 158,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -296,7 +296,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 124,
"tasktime": 69,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -344,7 +344,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 96,
"tasktime": 165,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -392,7 +392,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 114,
"tasktime": 162,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -440,7 +440,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 109,
"tasktime": 78,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -488,7 +488,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 92,
"tasktime": 173,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -536,7 +536,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 137,
"tasktime": 120,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -584,7 +584,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 109,
"tasktime": 139,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -632,7 +632,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 109,
"tasktime": 60,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -680,7 +680,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 107,
"tasktime": 167,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -728,7 +728,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 175,
"tasktime": 130,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -776,7 +776,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 142,
"tasktime": 132,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -824,7 +824,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 109,
"tasktime": 61,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -872,7 +872,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 61,
"tasktime": 90,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -920,7 +920,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 172,
"tasktime": 146,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -968,7 +968,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 120,
"tasktime": 77,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -1016,7 +1016,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 64,
"tasktime": 90,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -1064,7 +1064,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 103,
"tasktime": 67,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -1112,7 +1112,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 140,
"tasktime": 175,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -1160,7 +1160,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 124,
"tasktime": 156,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -1208,7 +1208,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 147,
"tasktime": 152,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -1256,7 +1256,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 120,
"tasktime": 149,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -1304,7 +1304,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 137,
"tasktime": 156,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -1352,7 +1352,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 90,
"tasktime": 91,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -1400,7 +1400,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 158,
"tasktime": 110,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -1448,7 +1448,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 104,
"tasktime": 89,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -1496,7 +1496,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 158,
"tasktime": 169,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -1544,7 +1544,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 92,
"tasktime": 90,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -1592,7 +1592,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 83,
"tasktime": 117,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -1640,7 +1640,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 60,
"tasktime": 73,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -1688,7 +1688,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 152,
"tasktime": 179,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -1736,7 +1736,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 88,
"tasktime": 142,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -1784,7 +1784,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 156,
"tasktime": 178,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -1832,7 +1832,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 153,
"tasktime": 150,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -1880,7 +1880,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 110,
"tasktime": 175,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -1928,7 +1928,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 127,
"tasktime": 139,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -1976,7 +1976,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 115,
"tasktime": 105,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -2024,7 +2024,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 109,
"tasktime": 125,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -2072,7 +2072,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 174,
"tasktime": 175,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -2120,7 +2120,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 79,
"tasktime": 166,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -2168,7 +2168,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 70,
"tasktime": 62,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -2216,7 +2216,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 103,
"tasktime": 167,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -2264,7 +2264,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 143,
"tasktime": 94,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -2312,7 +2312,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 123,
"tasktime": 81,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -2360,7 +2360,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 65,
"tasktime": 104,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -2408,7 +2408,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 171,
"tasktime": 164,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -2456,7 +2456,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 150,
"tasktime": 92,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -2504,7 +2504,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 90,
"tasktime": 151,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -2552,7 +2552,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 163,
"tasktime": 89,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -2600,7 +2600,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 87,
"tasktime": 124,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -2648,7 +2648,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 100,
"tasktime": 162,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -2696,7 +2696,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 154,
"tasktime": 92,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -2744,7 +2744,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 167,
"tasktime": 63,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -2792,7 +2792,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 114,
"tasktime": 82,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -2840,7 +2840,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 64,
"tasktime": 116,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -2888,7 +2888,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 157,
"tasktime": 128,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -2936,7 +2936,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 129,
"tasktime": 67,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -2984,7 +2984,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 166,
"tasktime": 141,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -3032,7 +3032,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 100,
"tasktime": 81,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -3080,7 +3080,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 63,
"tasktime": 175,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -3128,7 +3128,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 137,
"tasktime": 169,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -3176,7 +3176,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 70,
"tasktime": 90,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -3224,7 +3224,7 @@
},
"icon": "xmwg_rw_pt5",
"taskcd": 200,
"tasktime": 63,
"tasktime": 131,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -3272,7 +3272,7 @@
},
"icon": "xmwg_rw_pt6",
"taskcd": 200,
"tasktime": 83,
"tasktime": 160,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -3320,7 +3320,7 @@
},
"icon": "xmwg_rw_pt7",
"taskcd": 200,
"tasktime": 163,
"tasktime": 69,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"
@ -3368,7 +3368,7 @@
},
"icon": "xmwg_rw_pt1",
"taskcd": 200,
"tasktime": 91,
"tasktime": 102,
"tasktxt": {
"key": "Entrustment details of Tiger",
"text": "这是属于悍娇虎的专属委托"
@ -3416,7 +3416,7 @@
},
"icon": "xmwg_rw_pt2",
"taskcd": 200,
"tasktime": 73,
"tasktime": 168,
"tasktxt": {
"key": "Entrustment details of Shifu",
"text": "这是属于师父的专属委托"
@ -3464,7 +3464,7 @@
},
"icon": "xmwg_rw_pt3",
"taskcd": 200,
"tasktime": 151,
"tasktime": 119,
"tasktxt": {
"key": "Entrustment details of Po",
"text": "这是属于阿宝的专属委托"
@ -3512,7 +3512,7 @@
},
"icon": "xmwg_rw_pt4",
"taskcd": 200,
"tasktime": 115,
"tasktime": 110,
"tasktxt": {
"key": "Entrustment details of Bobi",
"text": "这是属于波比的专属委托"

View File

@ -0,0 +1,71 @@
[
{
"id": 101,
"cityticket": 1,
"citylvlock": 0,
"citymainlock": [
11001
],
"cityname": {
"key": "shopname1",
"text": "功夫熊猫城市"
},
"cityinformation": {
"key": "shopname1",
"text": "常年游荡在哀伤山脉的商人,这一区域或许只有他才敢在这里做生意。"
},
"citytxt": {
"key": "shopname1",
"text": "哀伤山脉长年被一股胀气笼罩,这里的人们长年吸入这些气息,不知不觉已经产生了异变,他们自己称之为兽化病,年长的居民,会随着兽化病的加重,变成熊猫的模样,他们的人性会逐渐的被兽性所代替,最后彻底沦为一只只知道吃包子的直立行走的熊猫。\n\n山脉的长者为了避免失去理智的自己误伤后代会在晚年独自一人前往山脉深处。\n\n当旅行者在山脉的深处看到那些整日吃包子的熊猫大概率就是有山脉的居民演化而来。\n\n也正因如此这里的居民对于包子竹子等熊猫喜爱的食物需求量很大也很乐意高价收购外来的那些优秀的竹笋和上好的白面。\n\n不仅仅是对于那些已经彻底兽化的长辈在时间的流逝下熊猫的本性已经遗留在当地居民的血脉新生孩子以及那些山脉之中的年轻人也会对这些食物有着近乎病态的追求。"
},
"citytype": 1,
"citytypenum": 2,
"special": [
1,
2
],
"specialnum": 5000,
"exspecial": [
3,
4,
6
],
"exspecialnum": 2000000,
"Orspecial": 100000
},
{
"id": 102,
"cityticket": 1,
"citylvlock": 0,
"citymainlock": [
11001
],
"cityname": {
"key": "shopname2",
"text": "圣桃树山脉"
},
"cityinformation": {
"key": "shopname2",
"text": "常年游荡在哀伤山脉的商人,这一区域或许只有他才敢在这里做生意。"
},
"citytxt": {
"key": "shopname2",
"text": "哀伤山脉长年被一股胀气笼罩,这里的人们长年吸入这些气息,不知不觉已经产生了异变,他们自己称之为兽化病,年长的居民,会随着兽化病的加重,变成熊猫的模样,他们的人性会逐渐的被兽性所代替,最后彻底沦为一只只知道吃包子的直立行走的熊猫。\n\n山脉的长者为了避免失去理智的自己误伤后代会在晚年独自一人前往山脉深处。\n\n当旅行者在山脉的深处看到那些整日吃包子的熊猫大概率就是有山脉的居民演化而来。\n\n也正因如此这里的居民对于包子竹子等熊猫喜爱的食物需求量很大也很乐意高价收购外来的那些优秀的竹笋和上好的白面。\n\n不仅仅是对于那些已经彻底兽化的长辈在时间的流逝下熊猫的本性已经遗留在当地居民的血脉新生孩子以及那些山脉之中的年轻人也会对这些食物有着近乎病态的追求。"
},
"citytype": 2,
"citytypenum": 3,
"special": [
3,
4,
5,
6
],
"specialnum": 5000,
"exspecial": [
1,
2
],
"exspecialnum": 2000000,
"Orspecial": 100000
}
]

View File

@ -0,0 +1,139 @@
[
{
"lv": 0,
"newmoneyexp": 0,
"reward": []
},
{
"lv": 1,
"newmoneyexp": 100000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"lv": 2,
"newmoneyexp": 200000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 2000
}
]
},
{
"lv": 3,
"newmoneyexp": 300000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 3000
}
]
},
{
"lv": 4,
"newmoneyexp": 400000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 4000
}
]
},
{
"lv": 5,
"newmoneyexp": 500000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 5000
}
]
},
{
"lv": 6,
"newmoneyexp": 600000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 6000
}
]
},
{
"lv": 7,
"newmoneyexp": 700000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 7000
}
]
},
{
"lv": 8,
"newmoneyexp": 800000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 8000
}
]
},
{
"lv": 9,
"newmoneyexp": 900000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 9000
}
]
},
{
"lv": 10,
"newmoneyexp": 1000000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 10000
}
]
},
{
"lv": 11,
"newmoneyexp": 1100000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 11000
}
]
},
{
"lv": 12,
"newmoneyexp": 1200000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 12000
}
]
}
]

View File

@ -0,0 +1,32 @@
[
{
"num": 10000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 1000
}
]
},
{
"num": 20000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 2000
}
]
},
{
"num": 30000,
"reward": [
{
"a": "attr",
"t": "gold",
"n": 3000
}
]
}
]

View File

@ -0,0 +1,230 @@
[
{
"id": 1,
"goodsname": {
"key": "name",
"text": "番茄"
},
"goodsinfor": {
"key": "txt",
"text": "这是一个番茄"
},
"goodsicon": "fanqie_c",
"goodsprice": 1000,
"changeperiod": [
5,
15
],
"changetime": 60,
"PriceChangeWeight": [
40,
20,
40
],
"PriceChangeWeight_one": [
80,
20
],
"PriceChangeWeight_two": [
50,
50
],
"PriceChangeWeight_three": [
20,
80
],
"FluctuationRange": 500,
"pricemin": 200,
"pricemax": 3000
},
{
"id": 2,
"goodsname": {
"key": "name",
"text": "苹果"
},
"goodsinfor": {
"key": "txt",
"text": "这是一个苹果"
},
"goodsicon": "fanqie_c",
"goodsprice": 1000,
"changeperiod": [
5,
15
],
"changetime": 60,
"PriceChangeWeight": [
40,
20,
40
],
"PriceChangeWeight_one": [
80,
20
],
"PriceChangeWeight_two": [
50,
50
],
"PriceChangeWeight_three": [
20,
80
],
"FluctuationRange": 500,
"pricemin": 200,
"pricemax": 3000
},
{
"id": 3,
"goodsname": {
"key": "name",
"text": "手机"
},
"goodsinfor": {
"key": "txt",
"text": "这是一个手机"
},
"goodsicon": "fanqie_c",
"goodsprice": 1000,
"changeperiod": [
5,
15
],
"changetime": 60,
"PriceChangeWeight": [
40,
20,
40
],
"PriceChangeWeight_one": [
80,
20
],
"PriceChangeWeight_two": [
50,
50
],
"PriceChangeWeight_three": [
20,
80
],
"FluctuationRange": 500,
"pricemin": 200,
"pricemax": 3000
},
{
"id": 4,
"goodsname": {
"key": "name",
"text": "干果"
},
"goodsinfor": {
"key": "txt",
"text": "这是一个干果"
},
"goodsicon": "fanqie_c",
"goodsprice": 1000,
"changeperiod": [
5,
15
],
"changetime": 60,
"PriceChangeWeight": [
40,
20,
40
],
"PriceChangeWeight_one": [
80,
20
],
"PriceChangeWeight_two": [
50,
50
],
"PriceChangeWeight_three": [
20,
80
],
"FluctuationRange": 500,
"pricemin": 200,
"pricemax": 3000
},
{
"id": 5,
"goodsname": {
"key": "name",
"text": "干果"
},
"goodsinfor": {
"key": "txt",
"text": "这是一个干果"
},
"goodsicon": "fanqie_c",
"goodsprice": 1000,
"changeperiod": [
5,
15
],
"changetime": 60,
"PriceChangeWeight": [
40,
20,
40
],
"PriceChangeWeight_one": [
80,
20
],
"PriceChangeWeight_two": [
50,
50
],
"PriceChangeWeight_three": [
20,
80
],
"FluctuationRange": 500,
"pricemin": 200,
"pricemax": 3000
},
{
"id": 6,
"goodsname": {
"key": "name",
"text": "干果"
},
"goodsinfor": {
"key": "txt",
"text": "这是一个干果"
},
"goodsicon": "fanqie_c",
"goodsprice": 1000,
"changeperiod": [
5,
15
],
"changetime": 60,
"PriceChangeWeight": [
40,
20,
40
],
"PriceChangeWeight_one": [
80,
20
],
"PriceChangeWeight_two": [
50,
50
],
"PriceChangeWeight_three": [
20,
80
],
"FluctuationRange": 500,
"pricemin": 200,
"pricemax": 3000
}
]

View File

@ -0,0 +1,342 @@
[
{
"id": 10100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Task",
"header": ""
},
{
"id": 10101,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Daily",
"header": "赵长远"
},
{
"id": 10102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Week",
"header": "赵长远"
},
{
"id": 10103,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Achievement",
"header": "赵长远"
},
{
"id": 10200,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Task|Daily",
"header": ""
},
{
"id": 10201,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Daily|Active",
"header": ""
},
{
"id": 10300,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Task|Week",
"header": ""
},
{
"id": 10301,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "task",
"path": "Root|Task|Week|Active",
"header": ""
},
{
"id": 11100,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|MainLine",
"header": "梅雄风"
},
{
"id": 12100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Email",
"header": ""
},
{
"id": 12101,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Email|Btn",
"header": ""
},
{
"id": 12102,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Email|UnreadBtn",
"header": ""
},
{
"id": 13100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|ViKingExpedition",
"header": ""
},
{
"id": 13101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|ViKingExpedition|MainPage",
"header": ""
},
{
"id": 13102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|ViKingExpedition|MainPage|Btn",
"header": ""
},
{
"id": 14100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hunting",
"header": ""
},
{
"id": 14101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hunting|MainPage",
"header": ""
},
{
"id": 14102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hunting|MainPage|Btn",
"header": ""
},
{
"id": 20100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero",
"header": ""
},
{
"id": 20101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup",
"header": ""
},
{
"id": 20102,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup|Btn",
"header": ""
},
{
"id": 20200,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Awake",
"header": ""
},
{
"id": 20201,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Awake|Btn",
"header": ""
},
{
"id": 20300,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup",
"header": ""
},
{
"id": 20301,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Hero|Heroup|Btn",
"header": ""
},
{
"id": 15100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild",
"header": "赵长远"
},
{
"id": 15101,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|MBtn",
"header": "赵长远"
},
{
"id": 15102,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|MBtn|Btn",
"header": "赵长远"
},
{
"id": 15200,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|Apply",
"header": ""
},
{
"id": 15201,
"msg_type": 1,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "sociaty",
"path": "Root|Guild|Apply|Btn",
"header": ""
},
{
"id": 16100,
"msg_type": 0,
"tree_type": 0,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag",
"header": "赵长远"
},
{
"id": 16101,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag|Item",
"header": "赵长远"
},
{
"id": 16102,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag|Equip",
"header": "赵长远"
},
{
"id": 16103,
"msg_type": 2,
"tree_type": 1,
"show_type": 0,
"count_type": 0,
"group": "",
"path": "Root|Bag|Shard",
"header": "赵长远"
}
]

View File

@ -5,7 +5,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -16,7 +16,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -27,7 +27,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -38,7 +38,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -49,7 +49,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -60,7 +60,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -71,7 +71,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -82,7 +82,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -93,7 +93,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -104,7 +104,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -115,7 +115,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -126,7 +126,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -137,7 +137,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -148,7 +148,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -159,7 +159,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]
@ -170,7 +170,7 @@
"item_id": [
{
"a": "item",
"t": "10002",
"t": "100101",
"n": 1
}
]

View File

@ -12,7 +12,14 @@
"countdown": [
30,
35,
40
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -85,7 +92,16 @@
"normalScore": 10,
"highScore": 30,
"countdown": [
30
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -158,7 +174,16 @@
"normalScore": 10,
"highScore": 30,
"countdown": [
30
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -231,7 +256,16 @@
"normalScore": 10,
"highScore": 30,
"countdown": [
30
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -304,7 +338,16 @@
"normalScore": 20,
"highScore": 40,
"countdown": [
40
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -377,7 +420,16 @@
"normalScore": 20,
"highScore": 40,
"countdown": [
40
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -450,7 +502,16 @@
"normalScore": 20,
"highScore": 40,
"countdown": [
40
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -523,7 +584,16 @@
"normalScore": 20,
"highScore": 40,
"countdown": [
40
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -596,7 +666,16 @@
"normalScore": 30,
"highScore": 50,
"countdown": [
50
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -669,7 +748,16 @@
"normalScore": 30,
"highScore": 50,
"countdown": [
50
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -742,7 +830,16 @@
"normalScore": 30,
"highScore": 50,
"countdown": [
50
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300
@ -815,7 +912,16 @@
"normalScore": 30,
"highScore": 50,
"countdown": [
50
30,
35,
40,
45,
50,
55,
60,
65,
70,
75
],
"generateInterval": [
300

View File

@ -8,8 +8,8 @@
"access": 0,
"position": "",
"sex": 1,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000M.prefab"
"resources": "Person/10000/10000_Mexplore.prefab",
"vague": "Person/10000/10000_Mexplore.prefab"
},
{
"id": 100002,
@ -20,8 +20,8 @@
"access": 0,
"position": "",
"sex": 1,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000M.prefab"
"resources": "Person/10000/10000_Mexplore.prefab",
"vague": "Person/10000/10000_Mexplore.prefab"
},
{
"id": 100003,
@ -32,8 +32,8 @@
"access": 0,
"position": "",
"sex": 1,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000M.prefab"
"resources": "Person/10000/10000_Mexplore.prefab",
"vague": "Person/10000/10000_Mexplore.prefab"
},
{
"id": 200001,
@ -44,8 +44,8 @@
"access": 0,
"position": "",
"sex": 2,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000M.prefab"
"resources": "Person/10000/10000_Mexplore.prefab",
"vague": "Person/10000/10000_Mexplore.prefab"
},
{
"id": 200002,
@ -56,8 +56,8 @@
"access": 0,
"position": "",
"sex": 2,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000M.prefab"
"resources": "Person/10000/10000_Mexplore.prefab",
"vague": "Person/10000/10000_Mexplore.prefab"
},
{
"id": 200003,
@ -68,7 +68,7 @@
"access": 0,
"position": "",
"sex": 2,
"resources": "Person/10000/10000M.prefab",
"vague": "Person/10000/10000M.prefab"
"resources": "Person/10000/10000_Mexplore.prefab",
"vague": "Person/10000/10000_Mexplore.prefab"
}
]

View File

@ -13552,10 +13552,10 @@
5,
650
],
"FollowSK": [],
"SucFollowSK": [
"FollowSK": [
214001112
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
@ -13601,7 +13601,9 @@
-1,
-1
],
"FollowSK": [],
"FollowSK": [
214001212
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
@ -13622,7 +13624,7 @@
"Argu": [
390001202,
1000,
10,
1,
-1
],
"FollowSK": [],
@ -13648,10 +13650,10 @@
-1,
-1
],
"FollowSK": [],
"SucFollowSK": [
"FollowSK": [
214001214
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
@ -13681,80 +13683,6 @@
{
"Id": 214001311,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
800
],
"FollowSK": [],
"SucFollowSK": [
214001312
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001312,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 21,
"Argu": [
1,
5,
1200
],
"FollowSK": [],
"SucFollowSK": [
214001313
],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001313,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001110,
1000,
1,
2
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001314,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
@ -13766,7 +13694,10 @@
-1,
-1
],
"FollowSK": [],
"FollowSK": [
214001312,
214001313
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
@ -13776,7 +13707,7 @@
"RevisiParams": []
},
{
"Id": 214001315,
"Id": 214001312,
"EmitPR": 1000,
"From": 3,
"Where": [],
@ -13800,18 +13731,96 @@
"RevisiParams": []
},
{
"Id": 214001316,
"Id": 214001313,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 5,
"Type": 28,
"Argu": [
390001202,
1000,
10
],
"FollowSK": [
214001314
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001314,
"EmitPR": 1000,
"From": 3,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 8,
"Argu": [
1,
2,
40
390001202,
-1,
1000
],
"FollowSK": [],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001315,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 1,
"Argu": [
1,
4,
800,
1,
5,
1200
],
"FollowSK": [
214001316
],
"SucFollowSK": [],
"FailFollowSK": [],
"MustHit": false,
"DpsRevisiType": 0,
"DpsCondition": "",
"RevisiCondition": "",
"RevisiParams": []
},
{
"Id": 214001316,
"EmitPR": 1000,
"From": 4,
"Where": [],
"Order": "",
"Limit": 1,
"ExecuteCnt": 1,
"Type": 3,
"Argu": [
390001110,
1000,
1,
2
],
"FollowSK": [],
"SucFollowSK": [],

View File

@ -8442,7 +8442,8 @@
"Target": 1,
"ChildSkill": {
"Id": [
214001211
214001211,
214001213
]
},
"Desc": {
@ -8471,8 +8472,7 @@
"ChildSkill": {
"Id": [
214001311,
214001315,
214001316
214001315
]
},
"Desc": {

View File

@ -23,7 +23,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z009",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001002,
@ -49,7 +49,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z003",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001003,
@ -75,7 +75,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z011",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001004,
@ -101,7 +101,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z006",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001005,
@ -127,7 +127,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z008",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001006,
@ -153,7 +153,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j016",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001007,
@ -179,7 +179,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j001",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001008,
@ -205,7 +205,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j006",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001009,
@ -231,7 +231,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001010,
@ -257,7 +257,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001011,
@ -283,7 +283,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001012,
@ -309,7 +309,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001101,
@ -335,7 +335,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j009",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001102,
@ -361,7 +361,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j005",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001103,
@ -385,7 +385,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z007",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001104,
@ -411,7 +411,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z002",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001105,
@ -435,7 +435,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j007",
"buffeffect": "effect_debuff_yun",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001106,
@ -483,7 +483,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j012",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001108,
@ -507,7 +507,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j015",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001109,
@ -531,7 +531,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j004",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001110,
@ -555,7 +555,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001111,
@ -579,7 +579,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z005",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001112,
@ -607,7 +607,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "effect_hudun_1",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001113,
@ -631,7 +631,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001114,
@ -655,7 +655,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001115,
@ -679,7 +679,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j013",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001116,
@ -703,7 +703,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001117,
@ -727,7 +727,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001118,
@ -751,7 +751,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j014",
"buffeffect": "effect_debuff_sleep",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001119,
@ -775,7 +775,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts003",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001120,
@ -799,7 +799,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts004",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001121,
@ -823,7 +823,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts005",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001122,
@ -851,7 +851,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001123,
@ -879,7 +879,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001124,
@ -903,7 +903,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001125,
@ -931,7 +931,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001126,
@ -955,7 +955,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001127,
@ -1003,7 +1003,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z001",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001129,
@ -1031,7 +1031,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001130,
@ -1059,7 +1059,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001201,
@ -1081,9 +1081,9 @@
"RemoveType": false,
"OverlayTimes": 10,
"SameID": false,
"buffIcon": "",
"buffIcon": "ty_zd_buff_ts003",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001202,
@ -1095,11 +1095,9 @@
"key": "skill_buffdes_390001202",
"text": "每层使自身基础防御提升10%效果抵抗提升5%最多可叠加10层。"
},
"BuffType": 0,
"BuffType": 46,
"EffectArgu": [
5,
100,
10,
50
],
"BufParNum": 1,
@ -1110,9 +1108,9 @@
"RemoveType": false,
"OverlayTimes": 10,
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffIcon": "ty_zd_buff_ts004",
"buffeffect": "effect_14001_skill_2",
"buffpos": "根节点"
},
{
"Id": 390001204,
@ -1134,9 +1132,9 @@
"RemoveType": false,
"OverlayTimes": 1,
"SameID": false,
"buffIcon": "",
"buffIcon": "ty_zd_buff_ts005",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001205,
@ -1160,7 +1158,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001206,
@ -1184,7 +1182,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001207,
@ -1208,7 +1206,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts007",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001208,
@ -1234,7 +1232,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts007",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001209,
@ -1258,7 +1256,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts001",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001210,
@ -1284,7 +1282,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts002",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001211,
@ -1308,7 +1306,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001212,
@ -1335,7 +1333,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_ts008",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001213,
@ -1361,7 +1359,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_j002",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001214,
@ -1411,7 +1409,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z011",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001216,
@ -1511,7 +1509,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001302,
@ -1537,7 +1535,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001303,
@ -1563,7 +1561,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001304,
@ -1589,7 +1587,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001305,
@ -1615,7 +1613,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001306,
@ -1641,7 +1639,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001307,
@ -1667,7 +1665,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001311,
@ -1693,7 +1691,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001312,
@ -1719,7 +1717,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001313,
@ -1745,7 +1743,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001314,
@ -1771,7 +1769,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001315,
@ -1797,7 +1795,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001316,
@ -1823,7 +1821,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001317,
@ -1849,7 +1847,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001321,
@ -1875,7 +1873,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001322,
@ -1901,7 +1899,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001323,
@ -1927,7 +1925,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001324,
@ -1953,7 +1951,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001325,
@ -1979,7 +1977,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001326,
@ -2005,7 +2003,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001327,
@ -2031,7 +2029,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001328,
@ -2057,7 +2055,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001329,
@ -2239,7 +2237,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001403,
@ -2265,7 +2263,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001404,
@ -2289,7 +2287,7 @@
"SameID": true,
"buffIcon": "ty_zd_buff_j011",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001405,
@ -2679,7 +2677,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001421,
@ -2755,7 +2753,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001424,
@ -2929,7 +2927,7 @@
"SameID": true,
"buffIcon": "ty_zd_buff_j011",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001431,
@ -2955,7 +2953,7 @@
"SameID": true,
"buffIcon": "ty_zd_buff_z006",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001432,
@ -2979,7 +2977,7 @@
"SameID": true,
"buffIcon": "ty_zd_buff_j011",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001433,
@ -3003,7 +3001,7 @@
"SameID": true,
"buffIcon": "ty_zd_buff_j011",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001434,
@ -3031,7 +3029,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001435,
@ -3055,7 +3053,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001436,
@ -3081,7 +3079,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z010",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001437,
@ -3107,7 +3105,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001438,
@ -3133,7 +3131,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z003",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001439,
@ -3159,7 +3157,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z006",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001440,
@ -3185,7 +3183,7 @@
"SameID": false,
"buffIcon": "ty_zd_buff_z008",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001441,
@ -3211,7 +3209,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001442,
@ -3237,7 +3235,7 @@
"SameID": false,
"buffIcon": "",
"buffeffect": "",
"buffpos": "infopos"
"buffpos": "根节点"
},
{
"Id": 390001443,

View File

@ -759,7 +759,7 @@
},
{
"Id": 414001212,
"When": 19,
"When": 2,
"FromCheck": "Target=3,HasBuff=390001202,OverlayNum=10",
"TargetCheck": "Target=3",
"MainSkillCheck": "",
@ -775,7 +775,7 @@
},
{
"Id": 414001311,
"When": 19,
"When": 2,
"FromCheck": "Target=3,HasBuff=390001202,OverlayNum=10",
"TargetCheck": "Target=3",
"MainSkillCheck": "",

View File

@ -242,6 +242,11 @@ const (
// 美食馆 图鉴
TableGourmetAtlas = "gourmetatlas"
///捕羊大赛
TableParkour = "parkour"
///捕羊大赛 队伍表
TableParkourTeam = "parkourteam"
)
// RPC服务接口定义处

29
modules/parkour/api.go Normal file
View File

@ -0,0 +1,29 @@
package parkour
import (
"go_dreamfactory/modules"
"go_dreamfactory/lego/core"
)
/*
API
*/
type apiComp struct {
modules.MCompGate
service core.IService
module *Parkour
}
//组件初始化接口
func (this *apiComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
this.MCompGate.Init(service, module, comp, options)
this.module = module.(*Parkour)
this.service = service
return
}
func (this *apiComp) Start() (err error) {
err = this.MCompGate.Start()
return
}

View File

@ -0,0 +1,45 @@
package parkour
import (
"go_dreamfactory/comm"
"go_dreamfactory/pb"
)
//参数校验
func (this *apiComp) InviteCheck(session comm.IUserSession, req *pb.ParkourInviteReq) (code pb.ErrorCode) {
return
}
///邀请组队
func (this *apiComp) Invite(session comm.IUserSession, req *pb.ParkourInviteReq) (code pb.ErrorCode, data *pb.ErrorData) {
var (
tean *pb.DBRaceTeam
tuser *pb.DBUser
err error
)
if code = this.InviteCheck(session, req); code != pb.ErrorCode_Success {
return
}
if tean, err = this.module.teamComp.queryteam(session.GetUserId()); err != nil {
code = pb.ErrorCode_DBError
return
}
if len(tean.Member) > 3 {
code = pb.ErrorCode_ReqParameterError
return
}
if tuser = this.module.ModuleUser.GetUser(req.Uid); tuser == nil {
code = pb.ErrorCode_SystemError
return
}
//目标是否在线
if !this.module.ModuleUser.IsOnline(req.Uid) {
tean.Member = append(tean.Member, &pb.DBMember{Uid: tean.Uid, Name: tuser.Name, Isai: true})
} else {
this.module.SendMsgToUser(string(this.module.GetType()), "invitenotice",
&pb.ParkourInviteNoticePush{Team: tean, State: 1}, req.Uid)
}
session.SendMsg(string(this.module.GetType()), "invite", &pb.ParkourInviteResp{Issucc: true})
return
}

View File

@ -0,0 +1,22 @@
package parkour
import (
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
)
const ()
///背包配置管理组件
type configureComp struct {
modules.MCompConfigure
module *Parkour
}
//组件初始化接口
func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
this.MCompConfigure.Init(service, module, comp, options)
this.module = module.(*Parkour)
return
}

View File

@ -0,0 +1,28 @@
package parkour
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/modules"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/x/bsonx"
)
///竞速数据模块
type ModelParkourComp struct {
modules.MCompModel
module *Parkour
}
//组件初始化接口
func (this *ModelParkourComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, opt core.IModuleOptions) (err error) {
this.TableName = comm.TableParkour
this.MCompModel.Init(service, module, comp, opt)
this.module = module.(*Parkour)
//创建uid索引
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
})
return
}

View File

@ -0,0 +1,58 @@
package parkour
import (
"fmt"
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/mgo"
"go_dreamfactory/modules"
"go_dreamfactory/pb"
"go.mongodb.org/mongo-driver/bson/primitive"
"go.mongodb.org/mongo-driver/mongo"
"go.mongodb.org/mongo-driver/x/bsonx"
)
///竞速数据模块
type ModelTeamComp struct {
modules.MCompModel
module *Parkour
}
//组件初始化接口
func (this *ModelTeamComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, opt core.IModuleOptions) (err error) {
this.TableName = comm.TableParkourTeam
this.MCompModel.Init(service, module, comp, opt)
this.module = module.(*Parkour)
//创建uid索引
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
})
return
}
func (this *ModelTeamComp) queryteam(uid string) (result *pb.DBRaceTeam, err error) {
result = &pb.DBRaceTeam{}
if err = this.Get(uid, result); err != nil && err != mgo.MongodbNil {
this.module.Errorln(err)
return
}
if err == mgo.MongodbNil {
var tuser *pb.DBUser
if tuser = this.module.ModuleUser.GetUser(uid); tuser == nil {
err = fmt.Errorf("no found udata:%s", uid)
return
}
result = &pb.DBRaceTeam{
Id: primitive.NewObjectID().Hex(),
Uid: uid,
Member: []*pb.DBMember{{Uid: tuser.Uid, Name: tuser.Name}},
}
if err = this.Add(uid, result); err != nil {
this.module.Errorln(err)
return
}
}
err = nil
return
}

View File

@ -19,7 +19,11 @@ func NewModule() core.IModule {
type Parkour struct {
modules.ModuleBase
service base.IRPCXService
service base.IRPCXService
api *apiComp
configure *configureComp
teamComp *ModelTeamComp
parkourComp *ModelParkourComp
}
//模块名
@ -39,3 +43,12 @@ func (this *Parkour) Start() (err error) {
return
}
//装备组件
func (this *Parkour) OnInstallComp() {
this.ModuleBase.OnInstallComp()
this.api = this.RegisterComp(new(apiComp)).(*apiComp)
this.configure = this.RegisterComp(new(configureComp)).(*configureComp)
this.teamComp = this.RegisterComp(new(ModelTeamComp)).(*ModelTeamComp)
this.parkourComp = this.RegisterComp(new(ModelParkourComp)).(*ModelParkourComp)
}

614
pb/parkour_db.pb.go Normal file
View File

@ -0,0 +1,614 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: parkour/parkour_db.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type RaceType int32
const (
RaceType_ordinary RaceType = 0
RaceType_prop RaceType = 1
)
// Enum value maps for RaceType.
var (
RaceType_name = map[int32]string{
0: "ordinary",
1: "prop",
}
RaceType_value = map[string]int32{
"ordinary": 0,
"prop": 1,
}
)
func (x RaceType) Enum() *RaceType {
p := new(RaceType)
*p = x
return p
}
func (x RaceType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (RaceType) Descriptor() protoreflect.EnumDescriptor {
return file_parkour_parkour_db_proto_enumTypes[0].Descriptor()
}
func (RaceType) Type() protoreflect.EnumType {
return &file_parkour_parkour_db_proto_enumTypes[0]
}
func (x RaceType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use RaceType.Descriptor instead.
func (RaceType) EnumDescriptor() ([]byte, []int) {
return file_parkour_parkour_db_proto_rawDescGZIP(), []int{0}
}
//坐骑
type DBMounts struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` //坐骑id
Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid"` //配置id
}
func (x *DBMounts) Reset() {
*x = DBMounts{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_db_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBMounts) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBMounts) ProtoMessage() {}
func (x *DBMounts) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_db_proto_msgTypes[0]
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 DBMounts.ProtoReflect.Descriptor instead.
func (*DBMounts) Descriptor() ([]byte, []int) {
return file_parkour_parkour_db_proto_rawDescGZIP(), []int{0}
}
func (x *DBMounts) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBMounts) GetCid() string {
if x != nil {
return x.Cid
}
return ""
}
//队员信息
type DBRaceMember struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //用户名称
Mount *DBMounts `protobuf:"bytes,3,opt,name=mount,proto3" json:"mount"` //上阵坐骑
Hp int32 `protobuf:"varint,4,opt,name=hp,proto3" json:"hp"` //初始血量
Innermost int32 `protobuf:"varint,5,opt,name=innermost,proto3" json:"innermost"` //里程数
Isai bool `protobuf:"varint,6,opt,name=isai,proto3" json:"isai"` //是否是ai
Isoff bool `protobuf:"varint,7,opt,name=isoff,proto3" json:"isoff"` //是否离线
}
func (x *DBRaceMember) Reset() {
*x = DBRaceMember{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_db_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBRaceMember) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBRaceMember) ProtoMessage() {}
func (x *DBRaceMember) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_db_proto_msgTypes[1]
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 DBRaceMember.ProtoReflect.Descriptor instead.
func (*DBRaceMember) Descriptor() ([]byte, []int) {
return file_parkour_parkour_db_proto_rawDescGZIP(), []int{1}
}
func (x *DBRaceMember) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBRaceMember) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *DBRaceMember) GetMount() *DBMounts {
if x != nil {
return x.Mount
}
return nil
}
func (x *DBRaceMember) GetHp() int32 {
if x != nil {
return x.Hp
}
return 0
}
func (x *DBRaceMember) GetInnermost() int32 {
if x != nil {
return x.Innermost
}
return 0
}
func (x *DBRaceMember) GetIsai() bool {
if x != nil {
return x.Isai
}
return false
}
func (x *DBRaceMember) GetIsoff() bool {
if x != nil {
return x.Isoff
}
return false
}
type DBRaceInvite struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //用户名称
Expired int64 `protobuf:"varint,3,opt,name=expired,proto3" json:"expired"` //过期时间
}
func (x *DBRaceInvite) Reset() {
*x = DBRaceInvite{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_db_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBRaceInvite) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBRaceInvite) ProtoMessage() {}
func (x *DBRaceInvite) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_db_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 DBRaceInvite.ProtoReflect.Descriptor instead.
func (*DBRaceInvite) Descriptor() ([]byte, []int) {
return file_parkour_parkour_db_proto_rawDescGZIP(), []int{2}
}
func (x *DBRaceInvite) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBRaceInvite) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *DBRaceInvite) GetExpired() int64 {
if x != nil {
return x.Expired
}
return 0
}
type DBRaceTeam struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` // 队伍id
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //队长id
Invite []*DBRaceInvite `protobuf:"bytes,3,rep,name=invite,proto3" json:"invite"` //邀请列表
Member []*DBRaceMember `protobuf:"bytes,4,rep,name=member,proto3" json:"member"` //成员列表
}
func (x *DBRaceTeam) Reset() {
*x = DBRaceTeam{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_db_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBRaceTeam) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBRaceTeam) ProtoMessage() {}
func (x *DBRaceTeam) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_db_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 DBRaceTeam.ProtoReflect.Descriptor instead.
func (*DBRaceTeam) Descriptor() ([]byte, []int) {
return file_parkour_parkour_db_proto_rawDescGZIP(), []int{3}
}
func (x *DBRaceTeam) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBRaceTeam) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBRaceTeam) GetInvite() []*DBRaceInvite {
if x != nil {
return x.Invite
}
return nil
}
func (x *DBRaceTeam) GetMember() []*DBRaceMember {
if x != nil {
return x.Member
}
return nil
}
//比赛数据
type DBRace struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` // 比赛唯一id
Rtype RaceType `protobuf:"varint,2,opt,name=rtype,proto3,enum=RaceType" json:"rtype"` //比赛类型
Trackid int32 `protobuf:"varint,3,opt,name=trackid,proto3" json:"trackid"` //赛道id
Innermost int32 `protobuf:"varint,4,opt,name=innermost,proto3" json:"innermost"` //里程数
Redteam *DBRaceTeam `protobuf:"bytes,5,opt,name=redteam,proto3" json:"redteam"` //红方队伍
Buleteam *DBRaceTeam `protobuf:"bytes,6,opt,name=buleteam,proto3" json:"buleteam"` //蓝方队伍
}
func (x *DBRace) Reset() {
*x = DBRace{}
if protoimpl.UnsafeEnabled {
mi := &file_parkour_parkour_db_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBRace) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBRace) ProtoMessage() {}
func (x *DBRace) ProtoReflect() protoreflect.Message {
mi := &file_parkour_parkour_db_proto_msgTypes[4]
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 DBRace.ProtoReflect.Descriptor instead.
func (*DBRace) Descriptor() ([]byte, []int) {
return file_parkour_parkour_db_proto_rawDescGZIP(), []int{4}
}
func (x *DBRace) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBRace) GetRtype() RaceType {
if x != nil {
return x.Rtype
}
return RaceType_ordinary
}
func (x *DBRace) GetTrackid() int32 {
if x != nil {
return x.Trackid
}
return 0
}
func (x *DBRace) GetInnermost() int32 {
if x != nil {
return x.Innermost
}
return 0
}
func (x *DBRace) GetRedteam() *DBRaceTeam {
if x != nil {
return x.Redteam
}
return nil
}
func (x *DBRace) GetBuleteam() *DBRaceTeam {
if x != nil {
return x.Buleteam
}
return nil
}
var File_parkour_parkour_db_proto protoreflect.FileDescriptor
var file_parkour_parkour_db_proto_rawDesc = []byte{
0x0a, 0x18, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75, 0x72, 0x2f, 0x70, 0x61, 0x72, 0x6b, 0x6f, 0x75,
0x72, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2c, 0x0a, 0x08, 0x44, 0x42,
0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xad, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x52,
0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x1f, 0x0a, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09,
0x2e, 0x44, 0x42, 0x4d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x05, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
0x12, 0x0e, 0x0a, 0x02, 0x68, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x68, 0x70,
0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x18, 0x05, 0x20,
0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x12, 0x12,
0x0a, 0x04, 0x69, 0x73, 0x61, 0x69, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73,
0x61, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x6f, 0x66, 0x66, 0x18, 0x07, 0x20, 0x01, 0x28,
0x08, 0x52, 0x05, 0x69, 0x73, 0x6f, 0x66, 0x66, 0x22, 0x4e, 0x0a, 0x0c, 0x44, 0x42, 0x52, 0x61,
0x63, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
0x0a, 0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
0x07, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x64, 0x22, 0x7c, 0x0a, 0x0a, 0x44, 0x42, 0x52, 0x61,
0x63, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x69, 0x6e, 0x76, 0x69,
0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63,
0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x06, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12,
0x25, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x0d, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06,
0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x22, 0xc1, 0x01, 0x0a, 0x06, 0x44, 0x42, 0x52, 0x61, 0x63,
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
0x64, 0x12, 0x1f, 0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
0x32, 0x09, 0x2e, 0x52, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x72, 0x74, 0x79,
0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x64, 0x18, 0x03, 0x20,
0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
0x09, 0x69, 0x6e, 0x6e, 0x65, 0x72, 0x6d, 0x6f, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x07, 0x72, 0x65,
0x64, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42,
0x52, 0x61, 0x63, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x52, 0x07, 0x72, 0x65, 0x64, 0x74, 0x65, 0x61,
0x6d, 0x12, 0x27, 0x0a, 0x08, 0x62, 0x75, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x06, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x52, 0x61, 0x63, 0x65, 0x54, 0x65, 0x61, 0x6d,
0x52, 0x08, 0x62, 0x75, 0x6c, 0x65, 0x74, 0x65, 0x61, 0x6d, 0x2a, 0x22, 0x0a, 0x08, 0x52, 0x61,
0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x61,
0x72, 0x79, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x10, 0x01, 0x42, 0x06,
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_parkour_parkour_db_proto_rawDescOnce sync.Once
file_parkour_parkour_db_proto_rawDescData = file_parkour_parkour_db_proto_rawDesc
)
func file_parkour_parkour_db_proto_rawDescGZIP() []byte {
file_parkour_parkour_db_proto_rawDescOnce.Do(func() {
file_parkour_parkour_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_parkour_parkour_db_proto_rawDescData)
})
return file_parkour_parkour_db_proto_rawDescData
}
var file_parkour_parkour_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_parkour_parkour_db_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_parkour_parkour_db_proto_goTypes = []interface{}{
(RaceType)(0), // 0: RaceType
(*DBMounts)(nil), // 1: DBMounts
(*DBRaceMember)(nil), // 2: DBRaceMember
(*DBRaceInvite)(nil), // 3: DBRaceInvite
(*DBRaceTeam)(nil), // 4: DBRaceTeam
(*DBRace)(nil), // 5: DBRace
}
var file_parkour_parkour_db_proto_depIdxs = []int32{
1, // 0: DBRaceMember.mount:type_name -> DBMounts
3, // 1: DBRaceTeam.invite:type_name -> DBRaceInvite
2, // 2: DBRaceTeam.member:type_name -> DBRaceMember
0, // 3: DBRace.rtype:type_name -> RaceType
4, // 4: DBRace.redteam:type_name -> DBRaceTeam
4, // 5: DBRace.buleteam:type_name -> DBRaceTeam
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_parkour_parkour_db_proto_init() }
func file_parkour_parkour_db_proto_init() {
if File_parkour_parkour_db_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_parkour_parkour_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBMounts); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_parkour_parkour_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBRaceMember); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_parkour_parkour_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBRaceInvite); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_parkour_parkour_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBRaceTeam); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_parkour_parkour_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBRace); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_parkour_parkour_db_proto_rawDesc,
NumEnums: 1,
NumMessages: 5,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_parkour_parkour_db_proto_goTypes,
DependencyIndexes: file_parkour_parkour_db_proto_depIdxs,
EnumInfos: file_parkour_parkour_db_proto_enumTypes,
MessageInfos: file_parkour_parkour_db_proto_msgTypes,
}.Build()
File_parkour_parkour_db_proto = out.File
file_parkour_parkour_db_proto_rawDesc = nil
file_parkour_parkour_db_proto_goTypes = nil
file_parkour_parkour_db_proto_depIdxs = nil
}

1209
pb/parkour_msg.pb.go Normal file

File diff suppressed because it is too large Load Diff

View File

@ -300,180 +300,6 @@ func (x *DBTrollRecord) GetTime() int64 {
return 0
}
type DBGoods struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
Period int32 `protobuf:"varint,2,opt,name=period,proto3" json:"period"` // 变动周期
CurPeriod int32 `protobuf:"varint,3,opt,name=curPeriod,proto3" json:"curPeriod"` // 当前变动周期
Weight int32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight"` // 周期权重
Price int32 `protobuf:"varint,5,opt,name=price,proto3" json:"price"` // 当前价格
Time int32 `protobuf:"varint,6,opt,name=time,proto3" json:"time"` // 刷新时间
}
func (x *DBGoods) Reset() {
*x = DBGoods{}
if protoimpl.UnsafeEnabled {
mi := &file_troll_troll_db_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBGoods) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBGoods) ProtoMessage() {}
func (x *DBGoods) ProtoReflect() protoreflect.Message {
mi := &file_troll_troll_db_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 DBGoods.ProtoReflect.Descriptor instead.
func (*DBGoods) Descriptor() ([]byte, []int) {
return file_troll_troll_db_proto_rawDescGZIP(), []int{2}
}
func (x *DBGoods) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBGoods) GetPeriod() int32 {
if x != nil {
return x.Period
}
return 0
}
func (x *DBGoods) GetCurPeriod() int32 {
if x != nil {
return x.CurPeriod
}
return 0
}
func (x *DBGoods) GetWeight() int32 {
if x != nil {
return x.Weight
}
return 0
}
func (x *DBGoods) GetPrice() int32 {
if x != nil {
return x.Price
}
return 0
}
func (x *DBGoods) GetTime() int32 {
if x != nil {
return x.Time
}
return 0
}
type DBTroll struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
UseCount int32 `protobuf:"varint,3,opt,name=useCount,proto3" json:"useCount"` // 当前背包使用的数量
Items map[int32]int32 `protobuf:"bytes,4,rep,name=items,proto3" json:"items" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 背包数据
Goods map[int32]*DBGoods `protobuf:"bytes,5,rep,name=goods,proto3" json:"goods" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 货物 key 货物ID
Lv int32 `protobuf:"varint,6,opt,name=lv,proto3" json:"lv"` // 商队等级
}
func (x *DBTroll) Reset() {
*x = DBTroll{}
if protoimpl.UnsafeEnabled {
mi := &file_troll_troll_db_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBTroll) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBTroll) ProtoMessage() {}
func (x *DBTroll) ProtoReflect() protoreflect.Message {
mi := &file_troll_troll_db_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 DBTroll.ProtoReflect.Descriptor instead.
func (*DBTroll) Descriptor() ([]byte, []int) {
return file_troll_troll_db_proto_rawDescGZIP(), []int{3}
}
func (x *DBTroll) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBTroll) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBTroll) GetUseCount() int32 {
if x != nil {
return x.UseCount
}
return 0
}
func (x *DBTroll) GetItems() map[int32]int32 {
if x != nil {
return x.Items
}
return nil
}
func (x *DBTroll) GetGoods() map[int32]*DBGoods {
if x != nil {
return x.Goods
}
return nil
}
func (x *DBTroll) GetLv() int32 {
if x != nil {
return x.Lv
}
return 0
}
var File_troll_troll_db_proto protoreflect.FileDescriptor
var file_troll_troll_db_proto_rawDesc = []byte{
@ -544,36 +370,8 @@ var file_troll_troll_db_proto_rawDesc = []byte{
0x0a, 0x04, 0x67, 0x6f, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x67, 0x6f,
0x6c, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x70, 0x6f, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x07, 0x44, 0x42, 0x47,
0x6f, 0x6f, 0x64, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x02, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x63, 0x75, 0x72, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x09, 0x63, 0x75, 0x72, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65,
0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67,
0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
0x05, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65,
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xab, 0x02, 0x0a,
0x07, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73,
0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x75, 0x73,
0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x2e,
0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d,
0x73, 0x12, 0x29, 0x0a, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x13, 0x2e, 0x44, 0x42, 0x54, 0x72, 0x6f, 0x6c, 0x6c, 0x2e, 0x47, 0x6f, 0x6f, 0x64, 0x73,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x67, 0x6f, 0x6f, 0x64, 0x73, 0x12, 0x0e, 0x0a, 0x02,
0x6c, 0x76, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x1a, 0x38, 0x0a, 0x0a,
0x49, 0x74, 0x65, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x42, 0x0a, 0x0a, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1e, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x47, 0x6f, 0x6f, 0x64, 0x73, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -588,34 +386,27 @@ func file_troll_troll_db_proto_rawDescGZIP() []byte {
return file_troll_troll_db_proto_rawDescData
}
var file_troll_troll_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_troll_troll_db_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_troll_troll_db_proto_goTypes = []interface{}{
(*DBTrollTrain)(nil), // 0: DBTrollTrain
(*DBTrollRecord)(nil), // 1: DBTrollRecord
(*DBGoods)(nil), // 2: DBGoods
(*DBTroll)(nil), // 3: DBTroll
nil, // 4: DBTrollTrain.ItemsEntry
nil, // 5: DBTrollTrain.PriceEntry
nil, // 6: DBTrollTrain.NpcRewardEntry
nil, // 7: DBTrollTrain.ShopEntry
nil, // 8: DBTrollTrain.SurpriseIDEntry
nil, // 9: DBTroll.ItemsEntry
nil, // 10: DBTroll.GoodsEntry
nil, // 2: DBTrollTrain.ItemsEntry
nil, // 3: DBTrollTrain.PriceEntry
nil, // 4: DBTrollTrain.NpcRewardEntry
nil, // 5: DBTrollTrain.ShopEntry
nil, // 6: DBTrollTrain.SurpriseIDEntry
}
var file_troll_troll_db_proto_depIdxs = []int32{
4, // 0: DBTrollTrain.items:type_name -> DBTrollTrain.ItemsEntry
5, // 1: DBTrollTrain.price:type_name -> DBTrollTrain.PriceEntry
6, // 2: DBTrollTrain.npcReward:type_name -> DBTrollTrain.NpcRewardEntry
7, // 3: DBTrollTrain.shop:type_name -> DBTrollTrain.ShopEntry
8, // 4: DBTrollTrain.surpriseID:type_name -> DBTrollTrain.SurpriseIDEntry
9, // 5: DBTroll.items:type_name -> DBTroll.ItemsEntry
10, // 6: DBTroll.goods:type_name -> DBTroll.GoodsEntry
2, // 7: DBTroll.GoodsEntry.value:type_name -> DBGoods
8, // [8:8] is the sub-list for method output_type
8, // [8:8] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
2, // 0: DBTrollTrain.items:type_name -> DBTrollTrain.ItemsEntry
3, // 1: DBTrollTrain.price:type_name -> DBTrollTrain.PriceEntry
4, // 2: DBTrollTrain.npcReward:type_name -> DBTrollTrain.NpcRewardEntry
5, // 3: DBTrollTrain.shop:type_name -> DBTrollTrain.ShopEntry
6, // 4: DBTrollTrain.surpriseID:type_name -> DBTrollTrain.SurpriseIDEntry
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_troll_troll_db_proto_init() }
@ -648,30 +439,6 @@ func file_troll_troll_db_proto_init() {
return nil
}
}
file_troll_troll_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBGoods); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_troll_troll_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBTroll); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
@ -679,7 +446,7 @@ func file_troll_troll_db_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_troll_troll_db_proto_rawDesc,
NumEnums: 0,
NumMessages: 11,
NumMessages: 7,
NumExtensions: 0,
NumServices: 0,
},

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 GameNewRedDot struct {
_dataMap map[int32]*GameNewRedDotData
_dataList []*GameNewRedDotData
}
func NewGameNewRedDot(_buf []map[string]interface{}) (*GameNewRedDot, error) {
_dataList := make([]*GameNewRedDotData, 0, len(_buf))
dataMap := make(map[int32]*GameNewRedDotData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameNewRedDotData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameNewRedDot{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameNewRedDot) GetDataMap() map[int32]*GameNewRedDotData {
return table._dataMap
}
func (table *GameNewRedDot) GetDataList() []*GameNewRedDotData {
return table._dataList
}
func (table *GameNewRedDot) Get(key int32) *GameNewRedDotData {
return table._dataMap[key]
}

View File

@ -0,0 +1,49 @@
//------------------------------------------------------------------------------
// <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 GameNewRedDotData struct {
Id int32
MsgType int32
TreeType int32
ShowType int32
CountType int32
Group string
Path string
Header string
}
const TypeId_GameNewRedDotData = 943392646
func (*GameNewRedDotData) GetTypeId() int32 {
return 943392646
}
func (_v *GameNewRedDotData)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 _tempNum_ float64; if _tempNum_, _ok_ = _buf["msg_type"].(float64); !_ok_ { err = errors.New("msg_type error"); return }; _v.MsgType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["tree_type"].(float64); !_ok_ { err = errors.New("tree_type error"); return }; _v.TreeType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["show_type"].(float64); !_ok_ { err = errors.New("show_type error"); return }; _v.ShowType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["count_type"].(float64); !_ok_ { err = errors.New("count_type error"); return }; _v.CountType = int32(_tempNum_) }
{ var _ok_ bool; if _v.Group, _ok_ = _buf["group"].(string); !_ok_ { err = errors.New("group error"); return } }
{ var _ok_ bool; if _v.Path, _ok_ = _buf["path"].(string); !_ok_ { err = errors.New("path error"); return } }
{ var _ok_ bool; if _v.Header, _ok_ = _buf["header"].(string); !_ok_ { err = errors.New("header error"); return } }
return
}
func DeserializeGameNewRedDotData(_buf map[string]interface{}) (*GameNewRedDotData, error) {
v := &GameNewRedDotData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

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 Gameitinerant_city struct {
_dataMap map[int32]*Gameitinerant_cityData
_dataList []*Gameitinerant_cityData
}
func NewGameitinerant_city(_buf []map[string]interface{}) (*Gameitinerant_city, error) {
_dataList := make([]*Gameitinerant_cityData, 0, len(_buf))
dataMap := make(map[int32]*Gameitinerant_cityData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameitinerant_cityData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &Gameitinerant_city{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *Gameitinerant_city) GetDataMap() map[int32]*Gameitinerant_cityData {
return table._dataMap
}
func (table *Gameitinerant_city) GetDataList() []*Gameitinerant_cityData {
return table._dataList
}
func (table *Gameitinerant_city) Get(key int32) *Gameitinerant_cityData {
return table._dataMap[key]
}

View File

@ -0,0 +1,100 @@
//------------------------------------------------------------------------------
// <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 Gameitinerant_cityData struct {
Id int32
Cityticket int32
Citylvlock int32
Citymainlock []int32
Cityname string
Cityinformation string
Citytxt string
Citytype int32
Citytypenum int32
Special []int32
Specialnum int32
Exspecial []int32
Exspecialnum int32
Orspecial int32
}
const TypeId_Gameitinerant_cityData = 675778342
func (*Gameitinerant_cityData) GetTypeId() int32 {
return 675778342
}
func (_v *Gameitinerant_cityData)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 _tempNum_ float64; if _tempNum_, _ok_ = _buf["cityticket"].(float64); !_ok_ { err = errors.New("cityticket error"); return }; _v.Cityticket = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["citylvlock"].(float64); !_ok_ { err = errors.New("citylvlock error"); return }; _v.Citylvlock = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["citymainlock"].([]interface{}); !_ok_ { err = errors.New("citymainlock error"); return }
_v.Citymainlock = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.Citymainlock = append(_v.Citymainlock, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["cityname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Cityname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Cityname, _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["cityinformation"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Cityinformation error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Cityinformation, _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["citytxt"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Citytxt error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Citytxt, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["citytype"].(float64); !_ok_ { err = errors.New("citytype error"); return }; _v.Citytype = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["citytypenum"].(float64); !_ok_ { err = errors.New("citytypenum error"); return }; _v.Citytypenum = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["special"].([]interface{}); !_ok_ { err = errors.New("special error"); return }
_v.Special = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.Special = append(_v.Special, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["specialnum"].(float64); !_ok_ { err = errors.New("specialnum error"); return }; _v.Specialnum = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["exspecial"].([]interface{}); !_ok_ { err = errors.New("exspecial error"); return }
_v.Exspecial = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.Exspecial = append(_v.Exspecial, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["exspecialnum"].(float64); !_ok_ { err = errors.New("exspecialnum error"); return }; _v.Exspecialnum = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["Orspecial"].(float64); !_ok_ { err = errors.New("Orspecial error"); return }; _v.Orspecial = int32(_tempNum_) }
return
}
func DeserializeGameitinerant_cityData(_buf map[string]interface{}) (*Gameitinerant_cityData, error) {
v := &Gameitinerant_cityData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

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 Gameitinerant_lv struct {
_dataMap map[int32]*Gameitinerant_lvData
_dataList []*Gameitinerant_lvData
}
func NewGameitinerant_lv(_buf []map[string]interface{}) (*Gameitinerant_lv, error) {
_dataList := make([]*Gameitinerant_lvData, 0, len(_buf))
dataMap := make(map[int32]*Gameitinerant_lvData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameitinerant_lvData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Lv] = _v
}
}
return &Gameitinerant_lv{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *Gameitinerant_lv) GetDataMap() map[int32]*Gameitinerant_lvData {
return table._dataMap
}
func (table *Gameitinerant_lv) GetDataList() []*Gameitinerant_lvData {
return table._dataList
}
func (table *Gameitinerant_lv) Get(key int32) *Gameitinerant_lvData {
return table._dataMap[key]
}

View File

@ -0,0 +1,52 @@
//------------------------------------------------------------------------------
// <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 Gameitinerant_lvData struct {
Lv int32
Newmoneyexp int32
Reward []*Gameatn
}
const TypeId_Gameitinerant_lvData = 1265566725
func (*Gameitinerant_lvData) GetTypeId() int32 {
return 1265566725
}
func (_v *Gameitinerant_lvData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["lv"].(float64); !_ok_ { err = errors.New("lv error"); return }; _v.Lv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["newmoneyexp"].(float64); !_ok_ { err = errors.New("newmoneyexp error"); return }; _v.Newmoneyexp = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["reward"].([]interface{}); !_ok_ { err = errors.New("reward error"); return }
_v.Reward = 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.Reward = append(_v.Reward, _list_v_)
}
}
return
}
func DeserializeGameitinerant_lvData(_buf map[string]interface{}) (*Gameitinerant_lvData, error) {
v := &Gameitinerant_lvData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

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 Gameitinerant_reward struct {
_dataMap map[int32]*Gameitinerant_rewardData
_dataList []*Gameitinerant_rewardData
}
func NewGameitinerant_reward(_buf []map[string]interface{}) (*Gameitinerant_reward, error) {
_dataList := make([]*Gameitinerant_rewardData, 0, len(_buf))
dataMap := make(map[int32]*Gameitinerant_rewardData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameitinerant_rewardData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Num] = _v
}
}
return &Gameitinerant_reward{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *Gameitinerant_reward) GetDataMap() map[int32]*Gameitinerant_rewardData {
return table._dataMap
}
func (table *Gameitinerant_reward) GetDataList() []*Gameitinerant_rewardData {
return table._dataList
}
func (table *Gameitinerant_reward) Get(key int32) *Gameitinerant_rewardData {
return table._dataMap[key]
}

View File

@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <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 Gameitinerant_rewardData struct {
Num int32
Reward []*Gameatn
}
const TypeId_Gameitinerant_rewardData = -998397270
func (*Gameitinerant_rewardData) GetTypeId() int32 {
return -998397270
}
func (_v *Gameitinerant_rewardData)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["num"].(float64); !_ok_ { err = errors.New("num error"); return }; _v.Num = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["reward"].([]interface{}); !_ok_ { err = errors.New("reward error"); return }
_v.Reward = 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.Reward = append(_v.Reward, _list_v_)
}
}
return
}
func DeserializeGameitinerant_rewardData(_buf map[string]interface{}) (*Gameitinerant_rewardData, error) {
v := &Gameitinerant_rewardData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

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 Gameitinerant_thing struct {
_dataMap map[int32]*Gameitinerant_thingData
_dataList []*Gameitinerant_thingData
}
func NewGameitinerant_thing(_buf []map[string]interface{}) (*Gameitinerant_thing, error) {
_dataList := make([]*Gameitinerant_thingData, 0, len(_buf))
dataMap := make(map[int32]*Gameitinerant_thingData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameitinerant_thingData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &Gameitinerant_thing{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *Gameitinerant_thing) GetDataMap() map[int32]*Gameitinerant_thingData {
return table._dataMap
}
func (table *Gameitinerant_thing) GetDataList() []*Gameitinerant_thingData {
return table._dataList
}
func (table *Gameitinerant_thing) Get(key int32) *Gameitinerant_thingData {
return table._dataMap[key]
}

View File

@ -0,0 +1,126 @@
//------------------------------------------------------------------------------
// <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 Gameitinerant_thingData struct {
Id int32
Goodsname string
Goodsinfor string
Goodsicon string
Goodsprice int32
Changeperiod []int32
Changetime int32
PriceChangeWeight []int32
PriceChangeWeightOne []int32
PriceChangeWeightTwo []int32
PriceChangeWeightThree []int32
FluctuationRange int32
Pricemin int32
Pricemax int32
}
const TypeId_Gameitinerant_thingData = -91590553
func (*Gameitinerant_thingData) GetTypeId() int32 {
return -91590553
}
func (_v *Gameitinerant_thingData)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["goodsname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Goodsname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Goodsname, _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["goodsinfor"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Goodsinfor error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Goodsinfor, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; if _v.Goodsicon, _ok_ = _buf["goodsicon"].(string); !_ok_ { err = errors.New("goodsicon error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["goodsprice"].(float64); !_ok_ { err = errors.New("goodsprice error"); return }; _v.Goodsprice = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["changeperiod"].([]interface{}); !_ok_ { err = errors.New("changeperiod error"); return }
_v.Changeperiod = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.Changeperiod = append(_v.Changeperiod, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["changetime"].(float64); !_ok_ { err = errors.New("changetime error"); return }; _v.Changetime = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["PriceChangeWeight"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight error"); return }
_v.PriceChangeWeight = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.PriceChangeWeight = append(_v.PriceChangeWeight, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["PriceChangeWeight_one"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight_one error"); return }
_v.PriceChangeWeightOne = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.PriceChangeWeightOne = append(_v.PriceChangeWeightOne, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["PriceChangeWeight_two"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight_two error"); return }
_v.PriceChangeWeightTwo = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.PriceChangeWeightTwo = append(_v.PriceChangeWeightTwo, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["PriceChangeWeight_three"].([]interface{}); !_ok_ { err = errors.New("PriceChangeWeight_three error"); return }
_v.PriceChangeWeightThree = make([]int32, 0, len(_arr_))
for _, _e_ := range _arr_ {
var _list_v_ int32
{ var _ok_ bool; var _x_ float64; if _x_, _ok_ = _e_.(float64); !_ok_ { err = errors.New("_list_v_ error"); return }; _list_v_ = int32(_x_) }
_v.PriceChangeWeightThree = append(_v.PriceChangeWeightThree, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["FluctuationRange"].(float64); !_ok_ { err = errors.New("FluctuationRange error"); return }; _v.FluctuationRange = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pricemin"].(float64); !_ok_ { err = errors.New("pricemin error"); return }; _v.Pricemin = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["pricemax"].(float64); !_ok_ { err = errors.New("pricemax error"); return }; _v.Pricemax = int32(_tempNum_) }
return
}
func DeserializeGameitinerant_thingData(_buf map[string]interface{}) (*Gameitinerant_thingData, error) {
v := &Gameitinerant_thingData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

File diff suppressed because it is too large Load Diff