Merge branch 'meixiongfeng' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev

This commit is contained in:
meixiongfeng 2023-02-16 15:39:27 +08:00
commit 92fd5e34cb
40 changed files with 5531 additions and 464 deletions

View File

@ -108,5 +108,15 @@
"LockSlots": [], "LockSlots": [],
"AssistTeam": 0, "AssistTeam": 0,
"CanFriendHelp": 0 "CanFriendHelp": 0
},
{
"id": 111,
"PlayType": "pvp",
"HeroCount": 5,
"DefaultHero": 0,
"DisableHero": [],
"LockSlots": [],
"AssistTeam": 0,
"CanFriendHelp": 0
} }
] ]

View File

@ -48,5 +48,15 @@
"ips": "10.0.0.85:7891", "ips": "10.0.0.85:7891",
"debug": true, "debug": true,
"sid": "dfmxf" "sid": "dfmxf"
},
{
"index": 6,
"name": {
"key": "debug_server_04",
"text": "hjl"
},
"ips": "10.0.0.208:7891",
"debug": true,
"sid": "dfjl"
} }
] ]

View File

@ -2601,9 +2601,9 @@
}, },
{ {
"id": "55006", "id": "55006",
"preson": "11020", "preson": "11021",
"presonshow": "11020_exhibition", "presonshow": "11021_exhibition",
"presonstory": "11020", "presonstory": "11021",
"presondraw": "", "presondraw": "",
"height": 1, "height": 1,
"weight": 1, "weight": 1,

View File

@ -100,11 +100,5 @@
"open": true, "open": true,
"routrules": "~/worker", "routrules": "~/worker",
"describe": "附魔副本排行榜数据" "describe": "附魔副本排行榜数据"
},
{
"msgid": "pvp",
"open": true,
"routrules": "~/worker",
"describe": "同步竞技场"
} }
] ]

1068
bin/json/game_newsmithy.json Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@
"privilege_type": 1, "privilege_type": 1,
"privilege_DescribeFront": { "privilege_DescribeFront": {
"key": "privilege_10101", "key": "privilege_10101",
"text": "每日获得" "text": "购买后获得"
}, },
"privilege_DescribeAfter": { "privilege_DescribeAfter": {
"key": "PrivilegeAfter_10101", "key": "PrivilegeAfter_10101",
@ -43,7 +43,7 @@
"privilege_type": 1, "privilege_type": 1,
"privilege_DescribeFront": { "privilege_DescribeFront": {
"key": "privilege_10201", "key": "privilege_10201",
"text": "每日获得" "text": "每日免费刷新商店"
}, },
"privilege_DescribeAfter": { "privilege_DescribeAfter": {
"key": "PrivilegeAfter_10201", "key": "PrivilegeAfter_10201",
@ -56,11 +56,11 @@
"privilege_type": 2, "privilege_type": 2,
"privilege_DescribeFront": { "privilege_DescribeFront": {
"key": "privilege_10202", "key": "privilege_10202",
"text": "金币商店每日" "text": "每日获得"
}, },
"privilege_DescribeAfter": { "privilege_DescribeAfter": {
"key": "PrivilegeAfter_10202", "key": "PrivilegeAfter_10202",
"text": "免费刷新次数+1" "text": "免费刷新次数+2"
}, },
"privilege_parameter": 1 "privilege_parameter": 1
}, },
@ -69,11 +69,11 @@
"privilege_type": 7, "privilege_type": 7,
"privilege_DescribeFront": { "privilege_DescribeFront": {
"key": "privilege_10203", "key": "privilege_10203",
"text": "巨怪商队" "text": "每周获得"
}, },
"privilege_DescribeAfter": { "privilege_DescribeAfter": {
"key": "PrivilegeAfter_10203", "key": "PrivilegeAfter_10203",
"text": "背包容量+1" "text": "背包容量+2"
}, },
"privilege_parameter": 1 "privilege_parameter": 1
}, },

View File

@ -0,0 +1,376 @@
[
{
"id": 1,
"proficiency": 20,
"reelId": 1,
"proficiency_lv": 1,
"title_text": {
"key": "1",
"text": "lv.{0}:熟练度{1}"
},
"content_text": {
"key": "1",
"text": "炉温消耗-{0}%"
},
"type": 1,
"value1": 100,
"value2": 0
},
{
"id": 2,
"proficiency": 40,
"reelId": 1,
"proficiency_lv": 2,
"title_text": {
"key": "1",
"text": "lv.{0}:熟练度{1}"
},
"content_text": {
"key": "2",
"text": "材料消耗减少"
},
"type": 2,
"value1": 10001,
"value2": -275
},
{
"id": 3,
"proficiency": 60,
"reelId": 1,
"proficiency_lv": 3,
"title_text": {
"key": "1",
"text": "lv.{0}:熟练度{1}"
},
"content_text": {
"key": "3",
"text": "解锁图纸【紫金雷神锤】"
},
"type": 3,
"value1": 2,
"value2": 0
},
{
"id": 4,
"proficiency": 80,
"reelId": 1,
"proficiency_lv": 4,
"title_text": {
"key": "1",
"text": "lv.{0}:熟练度{1}"
},
"content_text": {
"key": "4",
"text": "解锁套装"
},
"type": 4,
"value1": 5,
"value2": 0
},
{
"id": 5,
"proficiency": 100,
"reelId": 1,
"proficiency_lv": 5,
"title_text": {
"key": "1",
"text": "lv.{0}:熟练度{1}"
},
"content_text": {
"key": "5",
"text": "{0}级装备售价提高{1}%"
},
"type": 5,
"value1": 1,
"value2": 10
},
{
"id": 6,
"proficiency": 120,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 1,
"value1": 0,
"value2": 0
},
{
"id": 7,
"proficiency": 140,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 8,
"proficiency": 160,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 9,
"proficiency": 180,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 10,
"proficiency": 200,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 11,
"proficiency": 220,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 12,
"proficiency": 240,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 13,
"proficiency": 260,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 14,
"proficiency": 280,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 15,
"proficiency": 300,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 16,
"proficiency": 0,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 17,
"proficiency": 0,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 18,
"proficiency": 0,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 19,
"proficiency": 0,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 20,
"proficiency": 0,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 21,
"proficiency": 0,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
},
{
"id": 22,
"proficiency": 0,
"reelId": 0,
"proficiency_lv": 0,
"title_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "",
"text": ""
},
"type": 0,
"value1": 0,
"value2": 0
}
]

View File

@ -0,0 +1,262 @@
[
{
"star": 1,
"max_temperature": 2000,
"temperature_recovery": 60,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "1",
"text": "冶炼炉lv.1"
}
},
{
"star": 2,
"max_temperature": 2100,
"temperature_recovery": 63,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "2",
"text": "冶炼炉lv.2"
}
},
{
"star": 3,
"max_temperature": 2200,
"temperature_recovery": 66,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "3",
"text": "冶炼炉lv.3"
}
},
{
"star": 4,
"max_temperature": 2300,
"temperature_recovery": 69,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "4",
"text": "冶炼炉lv.4"
}
},
{
"star": 5,
"max_temperature": 2400,
"temperature_recovery": 72,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "5",
"text": "冶炼炉lv.5"
}
},
{
"star": 6,
"max_temperature": 2500,
"temperature_recovery": 75,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "6",
"text": "冶炼炉lv.6"
}
},
{
"star": 7,
"max_temperature": 2600,
"temperature_recovery": 78,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "7",
"text": "冶炼炉lv.7"
}
},
{
"star": 8,
"max_temperature": 2700,
"temperature_recovery": 81,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "8",
"text": "冶炼炉lv.8"
}
},
{
"star": 9,
"max_temperature": 2800,
"temperature_recovery": 84,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "9",
"text": "冶炼炉lv.9"
}
},
{
"star": 10,
"max_temperature": 3000,
"temperature_recovery": 90,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"title_text": {
"key": "10",
"text": "冶炼炉lv.10"
}
}
]

View File

@ -0,0 +1,962 @@
[
{
"id": 1,
"skill_type": 1,
"skill_lv": 1,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "1",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "1",
"text": "史诗品质概率提升{0}%"
},
"value": 5
},
{
"id": 2,
"skill_type": 1,
"skill_lv": 2,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "2",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "2",
"text": "史诗品质概率提升{0}%"
},
"value": 10
},
{
"id": 3,
"skill_type": 1,
"skill_lv": 3,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "3",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "3",
"text": "史诗品质概率提升{0}%"
},
"value": 15
},
{
"id": 4,
"skill_type": 1,
"skill_lv": 4,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "4",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "4",
"text": "史诗品质概率提升{0}%"
},
"value": 20
},
{
"id": 5,
"skill_type": 1,
"skill_lv": 5,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "5",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "5",
"text": "史诗品质概率提升{0}%"
},
"value": 25
},
{
"id": 6,
"skill_type": 1,
"skill_lv": 6,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "6",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "6",
"text": "史诗品质概率提升{0}%"
},
"value": 30
},
{
"id": 7,
"skill_type": 1,
"skill_lv": 7,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "7",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "7",
"text": "史诗品质概率提升{0}%"
},
"value": 35
},
{
"id": 8,
"skill_type": 1,
"skill_lv": 8,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "8",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "8",
"text": "史诗品质概率提升{0}%"
},
"value": 40
},
{
"id": 9,
"skill_type": 1,
"skill_lv": 9,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "9",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "9",
"text": "史诗品质概率提升{0}%"
},
"value": 45
},
{
"id": 10,
"skill_type": 1,
"skill_lv": 10,
"preconditions": 0,
"up_material": [
{
"a": "item",
"t": "10001",
"n": 1
},
{
"a": "item",
"t": "10001",
"n": 2
},
{
"a": "item",
"t": "10001",
"n": 3
}
],
"name_text": {
"key": "10",
"text": "测量尺lv.{0}"
},
"content_text": {
"key": "10",
"text": "史诗品质概率提升{0}%"
},
"value": 50
},
{
"id": 11,
"skill_type": 2,
"skill_lv": 1,
"preconditions": 5,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "11",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 12,
"skill_type": 2,
"skill_lv": 2,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "12",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 13,
"skill_type": 2,
"skill_lv": 3,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "13",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 14,
"skill_type": 2,
"skill_lv": 4,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "14",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 15,
"skill_type": 2,
"skill_lv": 5,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "15",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 16,
"skill_type": 2,
"skill_lv": 6,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "16",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 17,
"skill_type": 2,
"skill_lv": 7,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "17",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 18,
"skill_type": 2,
"skill_lv": 8,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "18",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 19,
"skill_type": 2,
"skill_lv": 9,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "19",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 20,
"skill_type": 2,
"skill_lv": 10,
"preconditions": 15,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "20",
"text": "所有装备售价提升{0}%"
},
"value": 0
},
{
"id": 21,
"skill_type": 3,
"skill_lv": 1,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "21",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 22,
"skill_type": 3,
"skill_lv": 2,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "22",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 23,
"skill_type": 3,
"skill_lv": 3,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "23",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 24,
"skill_type": 3,
"skill_lv": 4,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "24",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 25,
"skill_type": 3,
"skill_lv": 5,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "25",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 26,
"skill_type": 3,
"skill_lv": 6,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "26",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 27,
"skill_type": 3,
"skill_lv": 7,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "27",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 28,
"skill_type": 3,
"skill_lv": 8,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "28",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 29,
"skill_type": 3,
"skill_lv": 9,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "29",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 30,
"skill_type": 3,
"skill_lv": 10,
"preconditions": 25,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "30",
"text": "所有图纸炉温消耗减少{0}%"
},
"value": 0
},
{
"id": 31,
"skill_type": 4,
"skill_lv": 1,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "31",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 32,
"skill_type": 4,
"skill_lv": 2,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "32",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 33,
"skill_type": 4,
"skill_lv": 3,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "33",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 34,
"skill_type": 4,
"skill_lv": 4,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "34",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 35,
"skill_type": 4,
"skill_lv": 5,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "35",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 36,
"skill_type": 4,
"skill_lv": 6,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "36",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 37,
"skill_type": 4,
"skill_lv": 7,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "37",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 38,
"skill_type": 4,
"skill_lv": 8,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "38",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 39,
"skill_type": 4,
"skill_lv": 9,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "39",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 40,
"skill_type": 4,
"skill_lv": 10,
"preconditions": 35,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "40",
"text": "每日顾客数量提升至{0}人"
},
"value": 0
},
{
"id": 41,
"skill_type": 5,
"skill_lv": 1,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "41",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 42,
"skill_type": 5,
"skill_lv": 2,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "42",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 43,
"skill_type": 5,
"skill_lv": 3,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "43",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 44,
"skill_type": 5,
"skill_lv": 4,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "44",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 45,
"skill_type": 5,
"skill_lv": 5,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "45",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 46,
"skill_type": 5,
"skill_lv": 6,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "46",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 47,
"skill_type": 5,
"skill_lv": 7,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "47",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 48,
"skill_type": 5,
"skill_lv": 8,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "48",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 49,
"skill_type": 5,
"skill_lv": 9,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "49",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
},
{
"id": 50,
"skill_type": 5,
"skill_lv": 10,
"preconditions": 45,
"up_material": [],
"name_text": {
"key": "",
"text": ""
},
"content_text": {
"key": "50",
"text": "顾客购买装备数量上限提高至{0}件"
},
"value": 0
}
]

View File

@ -22,7 +22,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -67,7 +67,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -112,7 +112,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -157,7 +157,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -202,7 +202,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -247,7 +247,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -292,7 +292,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -337,7 +337,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -382,7 +382,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -427,7 +427,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -472,7 +472,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -517,7 +517,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -562,7 +562,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -607,7 +607,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [
@ -652,7 +652,7 @@
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"tips": { "tips": {
"key": "mainline_desc_10001", "key": "mainline_desc_X",
"text": "在实战中学习能够影响攻击力和防御力的技能作用" "text": "在实战中学习能够影响攻击力和防御力的技能作用"
}, },
"task": [ "task": [

View File

@ -1,110 +1,218 @@
[ [
{ {
"id": 1, "id": 1,
"goodsname": "物品1", "goodsname": {
"key": "itemname_40002",
"text": "物品1"
},
"goodsfor": 1, "goodsfor": 1,
"goodsinfor": "物品1货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品1货品信息"
},
"goodsicon": "clmsg_ll_01", "goodsicon": "clmsg_ll_01",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 12000, "star_money": 12000,
"uptext": "听说最近黑色峡谷的蘑菇供应不求,如果碰上,你或许可以囤积一些", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay1",
"text": "听说最近黑色峡谷的蘑菇供应不求,如果碰上,你或许可以囤积一些"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 40 "max": 40
}, },
{ {
"id": 2, "id": 2,
"goodsname": "物品2", "goodsname": {
"key": "itemname_40002",
"text": "物品2"
},
"goodsfor": 1, "goodsfor": 1,
"goodsinfor": "物品2货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品2货品信息"
},
"goodsicon": "clmsg_ll_02", "goodsicon": "clmsg_ll_02",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 13000, "star_money": 13000,
"uptext": "嘿,你有听说过老人与海的故事吗,没听过也不打紧,一些贵族正在收购一批海鱼,价格都已经被炒上天了,留意这个发财的机会,兄弟。", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay2",
"text": "嘿,你有听说过老人与海的故事吗,没听过也不打紧,一些贵族正在收购一批海鱼,价格都已经被炒上天了,留意这个发财的机会,兄弟。"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 40 "max": 40
}, },
{ {
"id": 3, "id": 3,
"goodsname": "物品3", "goodsname": {
"key": "itemname_40002",
"text": "物品3"
},
"goodsfor": 1, "goodsfor": 1,
"goodsinfor": "物品3货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品3货品信息"
},
"goodsicon": "clmsg_ll_03", "goodsicon": "clmsg_ll_03",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 14000, "star_money": 14000,
"uptext": "没人会拒绝寻香草的诱惑,尤其是商人,你说对吧。我有一个老主顾,他的孩子满月,现在正需要很多这个玩意,记得留心一下哦~", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay3",
"text": "没人会拒绝寻香草的诱惑,尤其是商人,你说对吧。我有一个老主顾,他的孩子满月,现在正需要很多这个玩意,记得留心一下哦~"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 40 "max": 40
}, },
{ {
"id": 4, "id": 4,
"goodsname": "物品4", "goodsname": {
"key": "itemname_40002",
"text": "物品4"
},
"goodsfor": 2, "goodsfor": 2,
"goodsinfor": "物品4货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品4货品信息"
},
"goodsicon": "clmsg_ll_04", "goodsicon": "clmsg_ll_04",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 11000, "star_money": 11000,
"uptext": "好吧,你消息你运气来了,神龙大年久失修,正需要一批上好的木材,而你的下一个目的地......啧啧啧,有时候我真羡慕你的运气。", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay4",
"text": "好吧,你消息你运气来了,神龙大年久失修,正需要一批上好的木材,而你的下一个目的地......啧啧啧,有时候我真羡慕你的运气。"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 40 "max": 40
}, },
{ {
"id": 5, "id": 5,
"goodsname": "物品5", "goodsname": {
"key": "itemname_40002",
"text": "物品5"
},
"goodsfor": 2, "goodsfor": 2,
"goodsinfor": "物品5货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品5货品信息"
},
"goodsicon": "clmsg_ll_05", "goodsicon": "clmsg_ll_05",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 1000, "star_money": 1000,
"uptext": "这次是我的私人消息,听说阿宝的某一个师兄越狱了,正在到处进行破坏,各地的村民都在收购铁器以备不时之需。我知道这很缺德,但咱们可是商人,赚谁的钱不是赚?", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay5",
"text": "这次是我的私人消息,听说阿宝的某一个师兄越狱了,正在到处进行破坏,各地的村民都在收购铁器以备不时之需。我知道这很缺德,但咱们可是商人,赚谁的钱不是赚?"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 30 "max": 30
}, },
{ {
"id": 6, "id": 6,
"goodsname": "物品6", "goodsname": {
"key": "itemname_40002",
"text": "物品6"
},
"goodsfor": 2, "goodsfor": 2,
"goodsinfor": "物品6货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品6货品信息"
},
"goodsicon": "wp_icon_0003", "goodsicon": "wp_icon_0003",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 2000, "star_money": 2000,
"uptext": "一根上号的雪茄,一杯威士忌,还有一把趁手的兵器,这或许就是男人最大的浪漫了。那帮维京人马上就要开始捕羊大赛了,你猜猜他们现在最需要什么?那可是场庆典,你懂得~", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay6",
"text": "一根上号的雪茄,一杯威士忌,还有一把趁手的兵器,这或许就是男人最大的浪漫了。那帮维京人马上就要开始捕羊大赛了,你猜猜他们现在最需要什么?那可是场庆典,你懂得~"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 30 "max": 30
}, },
{ {
"id": 7, "id": 7,
"goodsname": "物品7", "goodsname": {
"key": "itemname_40002",
"text": "物品7"
},
"goodsfor": 3, "goodsfor": 3,
"goodsinfor": "物品7货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品7货品信息"
},
"goodsicon": "wp_icon_10002", "goodsicon": "wp_icon_10002",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 1000, "star_money": 1000,
"uptext": "听说了吗,维京人的山谷总是会传来恐怖的怒吼,那嗓门,一听就知道肯定是一个大家伙,现在我认识的很多部落的族长都在收购武器,你知道该怎么做,不是吗?", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay7",
"text": "听说了吗,维京人的山谷总是会传来恐怖的怒吼,那嗓门,一听就知道肯定是一个大家伙,现在我认识的很多部落的族长都在收购武器,你知道该怎么做,不是吗?"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 30 "max": 30
}, },
{ {
"id": 8, "id": 8,
"goodsname": "物品8", "goodsname": {
"key": "itemname_40002",
"text": "物品8"
},
"goodsfor": 3, "goodsfor": 3,
"goodsinfor": "物品8货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品8货品信息"
},
"goodsicon": "wp_icon_10012", "goodsicon": "wp_icon_10012",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 3000, "star_money": 3000,
"uptext": "怪物史莱克你听说过吗,最近有消息他要带着他的公主一起来中轴城,并决定举办一场庆典,虽然我不知道他哪儿来的钱办庆典,但对于我们这种优良的商人来说,庆典就意味着可以赚大把的钱,你知道该准备什么了吗?", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay8",
"text": "怪物史莱克你听说过吗,最近有消息他要带着他的公主一起来中轴城,并决定举办一场庆典,虽然我不知道他哪儿来的钱办庆典,但对于我们这种优良的商人来说,庆典就意味着可以赚大把的钱,你知道该准备什么了吗?"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 30 "max": 30
}, },
{ {
"id": 9, "id": 9,
"goodsname": "物品9", "goodsname": {
"key": "itemname_40002",
"text": "物品9"
},
"goodsfor": 3, "goodsfor": 3,
"goodsinfor": "物品9货品信息", "goodsinfor": {
"key": "itemname_40002",
"text": "物品9货品信息"
},
"goodsicon": "wp_icon_10014", "goodsicon": "wp_icon_10014",
"goodsprice": 2000, "goodsprice": 2000,
"star_money": 4000, "star_money": 4000,
"uptext": "我很喜欢完游戏,因为我总能在里面不劳而获的得到诸多宝藏,你听说了吗,最近一个神秘的洞穴出现在丛林区,而当地的那些原始人,可是从中捞了不少宝贝,我们说不定可以从那些原始人手里捞上一笔,然后去中轴城高价卖出。", "uptext": {
"suptext": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!", "key": "hearsay9",
"text": "我很喜欢完游戏,因为我总能在里面不劳而获的得到诸多宝藏,你听说了吗,最近一个神秘的洞穴出现在丛林区,而当地的那些原始人,可是从中捞了不少宝贝,我们说不定可以从那些原始人手里捞上一笔,然后去中轴城高价卖出。"
},
"suptext": {
"key": "suphearsay",
"text": "我有一个好消息告诉你,咱们即将赚大发了,在下一个地区!"
},
"max": 30 "max": 30
} }
] ]

View File

@ -7,6 +7,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"scenes_boundary_01", "scenes_boundary_01",
"旧时光1-指挥部杰克", "旧时光1-指挥部杰克",
@ -29,6 +41,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"display_platform_04_02", "display_platform_04_02",
"旧时光1-住所主角", "旧时光1-住所主角",
@ -51,6 +75,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"display_platform_04_02", "display_platform_04_02",
"旧时光1-住所平先生", "旧时光1-住所平先生",
@ -73,6 +109,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"display_platform_04_02", "display_platform_04_02",
"旧时光1-住所平先生", "旧时光1-住所平先生",
@ -95,6 +143,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"旧时光1-指挥部阿宝", "旧时光1-指挥部阿宝",
@ -117,6 +177,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"旧时光1-指挥部杰克", "旧时光1-指挥部杰克",
@ -139,6 +211,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"dreamwork_jungle_playershow_01", "dreamwork_jungle_playershow_01",
"旧时光1-森林小道阿宝", "旧时光1-森林小道阿宝",
@ -161,6 +245,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"dreamwork_jungle_playershow_01", "dreamwork_jungle_playershow_01",
"旧时光1-森林小道 阿宝", "旧时光1-森林小道 阿宝",
@ -183,6 +279,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"scenesfight_03_02", "scenesfight_03_02",
"旧时光1-竹林豺狼小怪", "旧时光1-竹林豺狼小怪",
@ -205,6 +313,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"scenesfight_03_02", "scenesfight_03_02",
"旧时光1-竹林阿宝", "旧时光1-竹林阿宝",
@ -227,6 +347,18 @@
"group": 101, "group": 101,
"des": 3, "des": 3,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "旧时光"
},
"task_name": {
"key": "story_80",
"text": "阿宝学功夫"
},
"task_display": {
"key": "story_80",
"text": "新剧情"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"旧时光1-指挥部杰克", "旧时光1-指挥部杰克",
@ -249,6 +381,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -271,6 +415,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -293,6 +449,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"1.新手引导-花朵-中轴城", "1.新手引导-花朵-中轴城",
@ -315,6 +483,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"1.新手引导-花朵-中轴城", "1.新手引导-花朵-中轴城",
@ -337,6 +517,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -359,6 +551,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"3新手引导-波比-正常待机-中轴城", "3新手引导-波比-正常待机-中轴城",
@ -381,6 +585,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"2新手引导-邦尼兔-正常待机-中轴城", "2新手引导-邦尼兔-正常待机-中轴城",
@ -409,6 +625,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"新手引导-波比-右屏圣树1", "新手引导-波比-右屏圣树1",
@ -431,6 +659,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_kongfupanda_01", "scenes_kongfupanda_01",
"新手引导-波比-右屏圣树2", "新手引导-波比-右屏圣树2",
@ -453,6 +693,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_kongfupanda_01", "scenes_kongfupanda_01",
"新手引导-豺狼人-右屏圣树", "新手引导-豺狼人-右屏圣树",
@ -481,6 +733,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_kongfupanda_01", "scenes_kongfupanda_01",
"新手引导-豺狼人-右屏圣树", "新手引导-豺狼人-右屏圣树",
@ -503,6 +767,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_kongfupanda_01", "scenes_kongfupanda_01",
"新手引导-圣树下的黑洞", "新手引导-圣树下的黑洞",
@ -525,6 +801,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_kongfupanda_01", "scenes_kongfupanda_01",
"新手引导-波比-犀牛守卫", "新手引导-波比-犀牛守卫",
@ -547,6 +835,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_kongfupanda_01", "scenes_kongfupanda_01",
"新手引导-波比-右屏圣树3", "新手引导-波比-右屏圣树3",
@ -569,6 +869,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_kongfupanda_01", "scenes_kongfupanda_01",
"新手引导-波比-右屏圣树3", "新手引导-波比-右屏圣树3",
@ -591,6 +903,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -613,6 +937,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -635,6 +971,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -657,6 +1005,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -685,6 +1045,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_smithy_01", "scenes_smithy_01",
"暴夫纳特铁匠铺", "暴夫纳特铁匠铺",
@ -707,6 +1079,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_smithy_01", "scenes_smithy_01",
"暴夫纳特铁匠铺", "暴夫纳特铁匠铺",
@ -729,6 +1113,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -751,6 +1147,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -773,6 +1181,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",
@ -795,6 +1215,18 @@
"group": 2, "group": 2,
"des": 2, "des": 2,
"icon": "", "icon": "",
"task_Tname": {
"key": "story_80",
"text": "新手引导"
},
"task_name": {
"key": "story_80",
"text": "新手引导"
},
"task_display": {
"key": "story_80",
"text": "新手引导"
},
"npc": [ "npc": [
"scenes_boundary_01_recordtask", "scenes_boundary_01_recordtask",
"0新手引导-杰克-中轴城常驻待机", "0新手引导-杰克-中轴城常驻待机",

View File

@ -140,7 +140,7 @@ const (
TableSeasonRecord = "seasonRecord" // 赛季塔记录 TableSeasonRecord = "seasonRecord" // 赛季塔记录
/// 美食馆 /// 美食馆
TableSmithy = "smithy" TableSmithy = "smithy"
TableSmithyTrade = "trade" TableSmithyTrade = "trade"
/// 赛季塔数据表 /// 赛季塔数据表
TableSeasonPagoda = "seasonpagoda" TableSeasonPagoda = "seasonpagoda"
@ -222,6 +222,9 @@ const (
// pvp // pvp
TablePvp = "pvp" TablePvp = "pvp"
// 铁匠铺铸造台
TableStove = "stove"
) )
// RPC服务接口定义处 // RPC服务接口定义处
@ -723,3 +726,10 @@ const (
UseType1 int32 = 1 //英雄碎片 UseType1 int32 = 1 //英雄碎片
UseType8 int32 = 8 //觉醒材料合成 UseType8 int32 = 8 //觉醒材料合成
) )
const (
SmithyReelType1 = 1 //炉温消耗减少
SmithyReelType2 = 2 // 材料消耗减少
SmithyReelType3 = 3 // 解锁图纸【紫金雷神锤】
SmithyReelType4 = 4
)

View File

@ -3,13 +3,14 @@ package smithy
import ( import (
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/pb" "go_dreamfactory/pb"
cfg "go_dreamfactory/sys/configure/structs"
"google.golang.org/protobuf/proto" "google.golang.org/protobuf/proto"
) )
//参数校验 //参数校验
func (this *apiComp) ForgeEquipCheck(session comm.IUserSession, req *pb.SmithyForgeEquipReq) (code pb.ErrorCode) { func (this *apiComp) ForgeEquipCheck(session comm.IUserSession, req *pb.SmithyForgeEquipReq) (code pb.ErrorCode) {
if req.EquipType == 0 { if req.ReelId == 0 {
code = pb.ErrorCode_ReqParameterError code = pb.ErrorCode_ReqParameterError
return return
} }
@ -18,18 +19,76 @@ func (this *apiComp) ForgeEquipCheck(session comm.IUserSession, req *pb.SmithyFo
// 打造装备 // 打造装备
func (this *apiComp) ForgeEquip(session comm.IUserSession, req *pb.SmithyForgeEquipReq) (code pb.ErrorCode, data proto.Message) { func (this *apiComp) ForgeEquip(session comm.IUserSession, req *pb.SmithyForgeEquipReq) (code pb.ErrorCode, data proto.Message) {
var () var (
stove *pb.DBStove
err error
update map[string]interface{}
costRes []*cfg.Gameatn
)
update = make(map[string]interface{})
code = this.ForgeEquipCheck(session, req) code = this.ForgeEquipCheck(session, req)
if code != pb.ErrorCode_Success { if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回 return // 参数校验失败直接返回
} }
stove, err := this.module.modelSmithy.getSmithyStoveList(session.GetUserId()) stove, err = this.module.modelStove.getSmithyStoveList(session.GetUserId())
if err != nil { if err != nil {
code = pb.ErrorCode_DBError code = pb.ErrorCode_DBError
return return
} }
reelcfg := this.module.configure.GetSmithyReelConfigData(req.ReelId)
if reelcfg == nil {
code = pb.ErrorCode_ReqParameterError // 没有找到该类型的图纸信息
return
}
// 校验图纸是否激活
if _, ok := stove.Data[req.ReelId]; !ok { // 是不是首次打造
if !this.module.configure.CheckSmithyFirstReelConfigData(reelcfg.Type, req.ReelId) { // 没有激活图纸
code = pb.ErrorCode_SmithyNoReel
return
}
stove.Data[req.ReelId] = &pb.Mastery{
Lv: 1,
Value: 0,
}
//update["data"] = stove.Data
}
stove.Data[req.ReelId].Value += 1
// 是否是精益打造
if req.Quality > 0 {
costRes = append(costRes, reelcfg.Quality)
}
costRes = append(costRes, reelcfg.Consume...)
if code = this.module.CheckRes(session, costRes); code != pb.ErrorCode_Success {
return
}
// 检查炉温 是否够
if stove.Temperature < reelcfg.Temperature {
code = pb.ErrorCode_SmithyNoTemperature // 炉温不够 直接返回
return
}
// 检查是否提升了熟练度等级
nextProficiency := this.module.configure.GetSmithyProficileData(req.ReelId, stove.Data[req.ReelId].Lv+1)
if nextProficiency != nil && nextProficiency.Proficiency >= stove.Data[req.ReelId].Value { // 提升熟练度
stove.Data[req.ReelId].Lv += 1
stove.Data[req.ReelId].Value = 0
// 校验是否解锁了新的图纸
if nextProficiency.Type == comm.SmithyReelType3 {
stove.Data[nextProficiency.Value1] = &pb.Mastery{
Lv: 1,
Value: 0,
}
}
}
if code = this.module.ConsumeRes(session, costRes, true); code != pb.ErrorCode_Success {
return
}
stove.Temperature -= reelcfg.Temperature // 消耗温度
update["data"] = stove.Data
update["temperature"] = stove.Temperature
this.module.modelStove.updateSmithyStove(session.GetUserId(), update)
session.SendMsg(string(this.module.GetType()), "forgeequip", &pb.SmithyForgeEquipResp{Data: stove}) session.SendMsg(string(this.module.GetType()), "forgeequip", &pb.SmithyForgeEquipResp{Data: stove})
return return
} }

View File

@ -20,7 +20,7 @@ func (this *apiComp) GetStoveInfo(session comm.IUserSession, req *pb.SmithyGetSt
if code != pb.ErrorCode_Success { if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回 return // 参数校验失败直接返回
} }
_smithy, err := this.module.modelSmithy.getSmithyStoveList(session.GetUserId()) _smithy, err := this.module.modelStove.getSmithyStoveList(session.GetUserId())
if err != nil { if err != nil {
code = pb.ErrorCode_DBError code = pb.ErrorCode_DBError
return return

View File

@ -24,7 +24,7 @@ func (this *apiComp) OrderEquip(session comm.IUserSession, req *pb.SmithyOrderEq
if code != pb.ErrorCode_Success { if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回 return // 参数校验失败直接返回
} }
stove, err := this.module.modelSmithy.getSmithyStoveList(session.GetUserId()) stove, err := this.module.modelStove.getSmithyStoveList(session.GetUserId())
if err != nil { if err != nil {
code = pb.ErrorCode_DBError code = pb.ErrorCode_DBError
return return

View File

@ -23,7 +23,7 @@ func (this *apiComp) Rise(session comm.IUserSession, req *pb.SmithyRiseReq) (cod
if code != pb.ErrorCode_Success { if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回 return // 参数校验失败直接返回
} }
stove, err := this.module.modelSmithy.getSmithyStoveList(session.GetUserId()) stove, err := this.module.modelStove.getSmithyStoveList(session.GetUserId())
if err != nil { if err != nil {
code = pb.ErrorCode_DBError code = pb.ErrorCode_DBError
return return

View File

@ -8,18 +8,18 @@ import (
) )
//参数校验 //参数校验
func (this *apiComp) StrveUpCheck(session comm.IUserSession, req *pb.SmithyStoveUpReq) (code pb.ErrorCode) { func (this *apiComp) StoveUpCheck(session comm.IUserSession, req *pb.SmithyStoveUpReq) (code pb.ErrorCode) {
return return
} }
// 炉子升级 // 炉子升级
func (this *apiComp) StrveUp(session comm.IUserSession, req *pb.SmithyStoveUpReq) (code pb.ErrorCode, data proto.Message) { func (this *apiComp) StoveUp(session comm.IUserSession, req *pb.SmithyStoveUpReq) (code pb.ErrorCode, data proto.Message) {
code = this.StrveUpCheck(session, req) code = this.StoveUpCheck(session, req)
if code != pb.ErrorCode_Success { if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回 return // 参数校验失败直接返回
} }
stove, err := this.module.modelSmithy.getSmithyStoveList(session.GetUserId()) stove, err := this.module.modelStove.getSmithyStoveList(session.GetUserId())
if err != nil { if err != nil {
code = pb.ErrorCode_DBError code = pb.ErrorCode_DBError
return return

View File

@ -19,7 +19,7 @@ func (this *apiComp) ToolsUp(session comm.IUserSession, req *pb.SmithyToolsUpReq
if code != pb.ErrorCode_Success { if code != pb.ErrorCode_Success {
return // 参数校验失败直接返回 return // 参数校验失败直接返回
} }
stove, err := this.module.modelSmithy.getSmithyStoveList(session.GetUserId()) stove, err := this.module.modelStove.getSmithyStoveList(session.GetUserId())
if err != nil { if err != nil {
code = pb.ErrorCode_DBError code = pb.ErrorCode_DBError
return return

View File

@ -10,8 +10,13 @@ import (
) )
const ( const (
game_smithy = "game_smithy.json" game_smithy = "game_smithy.json"
game_smithystove = "game_smithystove.json" game_smithystoveold = "game_smithystove.json"
game_smithyreel = "game_newsmithy.json" // 新版铁匠铺卷轴
game_smproficiency = "game_smithyproficiency.json" // 铁匠铺熟练度
game_smithystove = "game_smithystovev1.json" // 铁匠铺台子 打造配置
game_smithytools = "game_smithytool.json" // 铁匠铺工具台
) )
///配置管理基础组件 ///配置管理基础组件
@ -20,13 +25,15 @@ type configureComp struct {
module *Smithy module *Smithy
hlock sync.RWMutex hlock sync.RWMutex
_smithyMap map[int64]*cfg.GameSmithyData _smithyMap map[int64]*cfg.GameSmithyData
_mapProficile map[int64]*cfg.GameSmithyProficiencyData // 熟练度 key 卷轴ID+ 等级
} }
//组件初始化接口 //组件初始化接口
func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) { func (this *configureComp) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
err = this.MCompConfigure.Init(service, module, comp, options) err = this.MCompConfigure.Init(service, module, comp, options)
this._smithyMap = make(map[int64]*cfg.GameSmithyData, 0)
this.module = module.(*Smithy) this.module = module.(*Smithy)
this._smithyMap = make(map[int64]*cfg.GameSmithyData, 0)
configure.RegisterConfigure(game_smithy, cfg.NewGameSmithy, func() { configure.RegisterConfigure(game_smithy, cfg.NewGameSmithy, func() {
if v, err := this.GetConfigure(game_smithy); err == nil { if v, err := this.GetConfigure(game_smithy); err == nil {
if configure, ok := v.(*cfg.GameSmithy); ok { if configure, ok := v.(*cfg.GameSmithy); ok {
@ -41,7 +48,14 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
log.Errorf("get game_pagoda conf err:%v", err) log.Errorf("get game_pagoda conf err:%v", err)
return return
}) })
err = this.LoadConfigure(game_smithystove, cfg.NewGameSmithyStove)
this._mapProficile = make(map[int64]*cfg.GameSmithyProficiencyData, 0)
configure.RegisterConfigure(game_smproficiency, cfg.NewGameSmithyProficiency, this.LoadProficileData)
err = this.LoadConfigure(game_smithyreel, cfg.NewGameSmithyStove)
err = this.LoadConfigure(game_smithystove, cfg.NewGameSmithyStoveV1)
err = this.LoadConfigure(game_smithytools, cfg.NewGameSmithyTool)
err = this.LoadConfigure(game_smithystoveold, cfg.NewGameSmithyStove)
return return
} }
@ -66,7 +80,7 @@ func (this *configureComp) GetSmithyTypeConfigData() (mapType map[int32]struct{}
// 获取炉子配置数据 // 获取炉子配置数据
func (this *configureComp) GetSmithyStoveConfigData(level int32) (data *cfg.GameSmithyStoveData) { func (this *configureComp) GetSmithyStoveConfigData(level int32) (data *cfg.GameSmithyStoveData) {
if v, err := this.GetConfigure(game_smithystove); err == nil { if v, err := this.GetConfigure(game_smithystoveold); err == nil {
if configure, ok := v.(*cfg.GameSmithyStove); ok { if configure, ok := v.(*cfg.GameSmithyStove); ok {
data = configure.Get(int32(level)) data = configure.Get(int32(level))
return return
@ -91,3 +105,87 @@ func (this *configureComp) LoadMultiConfigure(confs map[string]interface{}) (err
func (this *configureComp) GetConfigure(name string) (v interface{}, err error) { func (this *configureComp) GetConfigure(name string) (v interface{}, err error) {
return configure.GetConfigure(name) return configure.GetConfigure(name)
} }
// 获取图纸信息
func (this *configureComp) GetSmithyReelConfigData(id int32) (data *cfg.GameNewSmithyData) {
if v, err := this.GetConfigure(game_smithyreel); err == nil {
if configure, ok := v.(*cfg.GameNewSmithy); ok {
data = configure.Get(int32(id))
return
}
}
return
}
func (this *configureComp) CheckSmithyFirstReelConfigData(etype int32, id int32) bool {
if v, err := this.GetConfigure(game_smithyreel); err == nil {
if configure, ok := v.(*cfg.GameNewSmithy); ok {
for _, v := range configure.GetDataList() {
if v.Type == etype {
if v.Id == id {
return true
} else {
return false
}
}
}
return true
}
}
return false
}
// 获取铁匠铺熟练度数据
func (this *configureComp) GetSmithProficiencyConf(id int32) (data *cfg.GameSmithyProficiencyData) {
if v, err := this.GetConfigure(game_smproficiency); err == nil {
if configure, ok := v.(*cfg.GameSmithyProficiency); ok {
data = configure.Get(int32(id))
return
}
}
return
}
func (this *configureComp) LoadProficileData() {
if v, err := this.GetConfigure(game_smproficiency); err == nil {
if configure, ok := v.(*cfg.GameSmithyProficiency); ok {
this.hlock.Lock()
defer this.hlock.Unlock()
for _, value := range configure.GetDataList() {
this._mapProficile[int64(value.ReelId<<16)+int64(value.ProficiencyLv)] = value
}
return
}
} else {
log.Errorf("get game_pagoda conf err:%v", err)
}
return
}
func (this *configureComp) GetSmithyProficileData(reelid int32, proficile int32) *cfg.GameSmithyProficiencyData {
return this._mapProficile[int64(reelid<<16)+int64(proficile)]
}
// 获取铁匠铺工作台信息
func (this *configureComp) GetSmithyStoveConf(star int32) (data *cfg.GameSmithyStoveV1Data) {
if v, err := this.GetConfigure(game_smithystove); err == nil {
if configure, ok := v.(*cfg.GameSmithyStoveV1); ok {
data = configure.Get(int32(star))
return
}
}
return
}
// 获取铁匠铺工作台信息
func (this *configureComp) GetSmithyStoveConf1(id int32) (data *cfg.GameSmithyToolData) {
if v, err := this.GetConfigure(game_smithytools); err == nil {
if configure, ok := v.(*cfg.GameSmithyTool); ok {
data = configure.Get(int32(id))
return
}
}
return
}

View File

@ -186,33 +186,3 @@ func (this *modelSmithy) CalculationStoveSkillLv(uid string, Smithy *pb.DBSmithy
mapData["orderCostTime"] = Smithy.OrderCostTime mapData["orderCostTime"] = Smithy.OrderCostTime
this.module.ModifySmithyData(uid, mapData) this.module.ModifySmithyData(uid, mapData)
} }
// 获取铁匠铺信息
func (this *modelSmithy) getSmithyStoveList(uid string) (result *pb.DBStove, err error) {
result = &pb.DBStove{}
if err = this.Get(uid, result); err != nil {
if redis.RedisNil != err { // 没有数据直接创建新的数据
result.Id = primitive.NewObjectID().Hex()
result.Uid = uid
result.Data = make(map[int32]int32, 0)
result.Skill = make(map[int32]int32, 0)
result.Lv = 1
result.Temperature = 20000 // 配置
result.RecoveTime = 0
if err = this.Add(uid, result); err != nil {
this.module.Errorf("err:%v", err)
err = nil
return
}
}
return
}
err = nil
return result, err
}
func (this *modelSmithy) updateSmithyStove(uid string, update map[string]interface{}) (err error) {
err = this.Change(uid, update)
return err
}

View File

@ -0,0 +1,60 @@
package smithy
import (
"go_dreamfactory/comm"
"go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/redis"
"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 modelStove struct {
modules.MCompModel
module *Smithy
}
func (this *modelStove) Init(service core.IService, module core.IModule, comp core.IModuleComp, options core.IModuleOptions) (err error) {
this.TableName = string(comm.TableStove)
err = this.MCompModel.Init(service, module, comp, options)
this.module = module.(*Smithy)
// uid 创建索引
this.DB.CreateIndex(core.SqlTable(this.TableName), mongo.IndexModel{
Keys: bsonx.Doc{{Key: "uid", Value: bsonx.Int32(1)}},
})
return
}
// 获取铁匠铺信息
func (this *modelStove) getSmithyStoveList(uid string) (result *pb.DBStove, err error) {
result = &pb.DBStove{}
if err = this.Get(uid, result); err != nil {
if redis.RedisNil != err { // 没有数据直接创建新的数据
result.Id = primitive.NewObjectID().Hex()
result.Uid = uid
result.Data = make(map[int32]*pb.Mastery, 0)
result.Skill = make(map[int32]int32, 0)
result.Forge = make(map[int32]int32, 0)
result.Lv = 1
result.Temperature = 20000 // 配置
result.RecoveTime = 0
if err = this.Add(uid, result); err != nil {
this.module.Errorf("err:%v", err)
err = nil
return
}
}
return
}
err = nil
return result, err
}
func (this *modelStove) updateSmithyStove(uid string, update map[string]interface{}) (err error) {
err = this.Change(uid, update)
return err
}

View File

@ -18,6 +18,7 @@ type Smithy struct {
modelTrade *modelTrade modelTrade *modelTrade
api *apiComp api *apiComp
configure *configureComp configure *configureComp
modelStove *modelStove
} }
func NewModule() core.IModule { func NewModule() core.IModule {
@ -40,6 +41,7 @@ func (this *Smithy) OnInstallComp() {
this.modelSmithy = this.RegisterComp(new(modelSmithy)).(*modelSmithy) this.modelSmithy = this.RegisterComp(new(modelSmithy)).(*modelSmithy)
this.configure = this.RegisterComp(new(configureComp)).(*configureComp) this.configure = this.RegisterComp(new(configureComp)).(*configureComp)
this.modelTrade = this.RegisterComp(new(modelTrade)).(*modelTrade) this.modelTrade = this.RegisterComp(new(modelTrade)).(*modelTrade)
this.modelStove = this.RegisterComp(new(modelStove)).(*modelStove)
} }
// 接口信息 // 接口信息

View File

@ -315,6 +315,9 @@ const (
// AutoBattle // AutoBattle
ErrorCode_AutoBattleNoData ErrorCode = 4001 //没有正在自动战斗的数据 ErrorCode_AutoBattleNoData ErrorCode = 4001 //没有正在自动战斗的数据
ErrorCode_AutoBattleStatesErr ErrorCode = 4002 // 自动战斗状态错误 ErrorCode_AutoBattleStatesErr ErrorCode = 4002 // 自动战斗状态错误
// smithy
ErrorCode_SmithyNoReel ErrorCode = 4101 // 没有激活图纸信息
ErrorCode_SmithyNoTemperature ErrorCode = 4102 // 炉温不够不能打造
) )
// Enum value maps for ErrorCode. // Enum value maps for ErrorCode.
@ -581,6 +584,8 @@ var (
3901: "AcademyTaskNoCompleteTask", 3901: "AcademyTaskNoCompleteTask",
4001: "AutoBattleNoData", 4001: "AutoBattleNoData",
4002: "AutoBattleStatesErr", 4002: "AutoBattleStatesErr",
4101: "SmithyNoReel",
4102: "SmithyNoTemperature",
} }
ErrorCode_value = map[string]int32{ ErrorCode_value = map[string]int32{
"Success": 0, "Success": 0,
@ -844,6 +849,8 @@ var (
"AcademyTaskNoCompleteTask": 3901, "AcademyTaskNoCompleteTask": 3901,
"AutoBattleNoData": 4001, "AutoBattleNoData": 4001,
"AutoBattleStatesErr": 4002, "AutoBattleStatesErr": 4002,
"SmithyNoReel": 4101,
"SmithyNoTemperature": 4102,
} }
) )
@ -878,7 +885,7 @@ var File_errorcode_proto protoreflect.FileDescriptor
var file_errorcode_proto_rawDesc = []byte{ var file_errorcode_proto_rawDesc = []byte{
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2a, 0x92, 0x2f, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x6f, 0x2a, 0xbf, 0x2f, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d,
0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x0a, 0x12, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x0a, 0x12,
0x1b, 0x0a, 0x17, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1b, 0x0a, 0x17, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
@ -1255,8 +1262,11 @@ var file_errorcode_proto_rawDesc = []byte{
0x73, 0x6b, 0x10, 0xbd, 0x1e, 0x12, 0x15, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x73, 0x6b, 0x10, 0xbd, 0x1e, 0x12, 0x15, 0x0a, 0x10, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74,
0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x10, 0xa1, 0x1f, 0x12, 0x18, 0x0a, 0x13, 0x74, 0x6c, 0x65, 0x4e, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x10, 0xa1, 0x1f, 0x12, 0x18, 0x0a, 0x13,
0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73,
0x45, 0x72, 0x72, 0x10, 0xa2, 0x1f, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x45, 0x72, 0x72, 0x10, 0xa2, 0x1f, 0x12, 0x11, 0x0a, 0x0c, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x4e, 0x6f, 0x52, 0x65, 0x65, 0x6c, 0x10, 0x85, 0x20, 0x12, 0x18, 0x0a, 0x13, 0x53, 0x6d, 0x69,
0x74, 0x68, 0x79, 0x4e, 0x6f, 0x54, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65,
0x10, 0x86, 0x20, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
} }
var ( var (

View File

@ -20,26 +20,81 @@ const (
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) )
type Mastery struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Lv int32 `protobuf:"varint,1,opt,name=lv,proto3" json:"lv"`
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value"`
}
func (x *Mastery) Reset() {
*x = Mastery{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_db_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Mastery) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Mastery) ProtoMessage() {}
func (x *Mastery) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_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 Mastery.ProtoReflect.Descriptor instead.
func (*Mastery) Descriptor() ([]byte, []int) {
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{0}
}
func (x *Mastery) GetLv() int32 {
if x != nil {
return x.Lv
}
return 0
}
func (x *Mastery) GetValue() int32 {
if x != nil {
return x.Value
}
return 0
}
// 炉子信息 // 炉子信息
type DBStove struct { type DBStove struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID 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 Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
Lv int32 `protobuf:"varint,3,opt,name=lv,proto3" json:"lv"` // 炉子等级 Lv int32 `protobuf:"varint,3,opt,name=lv,proto3" json:"lv"` // 炉子等级
Data map[int32]int32 `protobuf:"bytes,4,rep,name=data,proto3" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // key 套装类型 value 熟练度 Data map[int32]*Mastery `protobuf:"bytes,4,rep,name=data,proto3" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key 图纸ID value 熟练度
Skill map[int32]int32 `protobuf:"bytes,5,rep,name=skill,proto3" json:"skill" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 台子技能 Skill map[int32]int32 `protobuf:"bytes,5,rep,name=skill,proto3" json:"skill" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 台子技能
Forge map[int32]int32 `protobuf:"bytes,6,rep,name=forge,proto3" json:"forge" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // key 套装类型 value 打造次数 Forge map[int32]int32 `protobuf:"bytes,6,rep,name=forge,proto3" json:"forge" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // key 套装类型 value 打造次数
Temperature int32 `protobuf:"varint,7,opt,name=temperature,proto3" json:"temperature"` // 炉子温度 Temperature int32 `protobuf:"varint,7,opt,name=temperature,proto3" json:"temperature"` // 炉子温度
RecoveTime int64 `protobuf:"varint,8,opt,name=recoveTime,proto3" json:"recoveTime"` // 恢复满时间 RecoveTime int64 `protobuf:"varint,8,opt,name=recoveTime,proto3" json:"recoveTime"` // 恢复满时间
} }
func (x *DBStove) Reset() { func (x *DBStove) Reset() {
*x = DBStove{} *x = DBStove{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_db_proto_msgTypes[0] mi := &file_smithy_smithy_db_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -52,7 +107,7 @@ func (x *DBStove) String() string {
func (*DBStove) ProtoMessage() {} func (*DBStove) ProtoMessage() {}
func (x *DBStove) ProtoReflect() protoreflect.Message { func (x *DBStove) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_db_proto_msgTypes[0] mi := &file_smithy_smithy_db_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -65,7 +120,7 @@ func (x *DBStove) ProtoReflect() protoreflect.Message {
// Deprecated: Use DBStove.ProtoReflect.Descriptor instead. // Deprecated: Use DBStove.ProtoReflect.Descriptor instead.
func (*DBStove) Descriptor() ([]byte, []int) { func (*DBStove) Descriptor() ([]byte, []int) {
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{0} return file_smithy_smithy_db_proto_rawDescGZIP(), []int{1}
} }
func (x *DBStove) GetId() string { func (x *DBStove) GetId() string {
@ -89,7 +144,7 @@ func (x *DBStove) GetLv() int32 {
return 0 return 0
} }
func (x *DBStove) GetData() map[int32]int32 { func (x *DBStove) GetData() map[int32]*Mastery {
if x != nil { if x != nil {
return x.Data return x.Data
} }
@ -124,68 +179,20 @@ func (x *DBStove) GetRecoveTime() int64 {
return 0 return 0
} }
// 商人信息 type DBCustomer struct {
type DBBusiness struct {
state protoimpl.MessageState state protoimpl.MessageState
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Shop map[int32]int32 `protobuf:"bytes,1,rep,name=shop,proto3" json:"shop" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` 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"` //
CustomerIds []int32 `protobuf:"varint,3,rep,packed,name=customerIds,proto3" json:"customerIds" bson:"customerIds"` // 顾客Ids
Total int32 `protobuf:"varint,4,opt,name=total,proto3" json:"total" bson:"total"` //顾客累计数
LastRefreshTime int64 `protobuf:"varint,5,opt,name=lastRefreshTime,proto3" json:"lastRefreshTime" bson:"lastRefreshTime"` // 上次更新时间
} }
func (x *DBBusiness) Reset() { func (x *DBCustomer) Reset() {
*x = DBBusiness{} *x = DBCustomer{}
if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_db_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBBusiness) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBBusiness) ProtoMessage() {}
func (x *DBBusiness) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_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 DBBusiness.ProtoReflect.Descriptor instead.
func (*DBBusiness) Descriptor() ([]byte, []int) {
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{1}
}
func (x *DBBusiness) GetShop() map[int32]int32 {
if x != nil {
return x.Shop
}
return nil
}
type DBBusinessData 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
Data []*DBBusiness `protobuf:"bytes,3,rep,name=data,proto3" json:"data"`
Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count"` // 刷新次数
RefreshTime int64 `protobuf:"varint,5,opt,name=refreshTime,proto3" json:"refreshTime" bson:"refreshTime"` //刷新开始时间
}
func (x *DBBusinessData) Reset() {
*x = DBBusinessData{}
if protoimpl.UnsafeEnabled { if protoimpl.UnsafeEnabled {
mi := &file_smithy_smithy_db_proto_msgTypes[2] mi := &file_smithy_smithy_db_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -193,13 +200,13 @@ func (x *DBBusinessData) Reset() {
} }
} }
func (x *DBBusinessData) String() string { func (x *DBCustomer) String() string {
return protoimpl.X.MessageStringOf(x) return protoimpl.X.MessageStringOf(x)
} }
func (*DBBusinessData) ProtoMessage() {} func (*DBCustomer) ProtoMessage() {}
func (x *DBBusinessData) ProtoReflect() protoreflect.Message { func (x *DBCustomer) ProtoReflect() protoreflect.Message {
mi := &file_smithy_smithy_db_proto_msgTypes[2] mi := &file_smithy_smithy_db_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@ -211,42 +218,42 @@ func (x *DBBusinessData) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x) return mi.MessageOf(x)
} }
// Deprecated: Use DBBusinessData.ProtoReflect.Descriptor instead. // Deprecated: Use DBCustomer.ProtoReflect.Descriptor instead.
func (*DBBusinessData) Descriptor() ([]byte, []int) { func (*DBCustomer) Descriptor() ([]byte, []int) {
return file_smithy_smithy_db_proto_rawDescGZIP(), []int{2} return file_smithy_smithy_db_proto_rawDescGZIP(), []int{2}
} }
func (x *DBBusinessData) GetId() string { func (x *DBCustomer) GetId() string {
if x != nil { if x != nil {
return x.Id return x.Id
} }
return "" return ""
} }
func (x *DBBusinessData) GetUid() string { func (x *DBCustomer) GetUid() string {
if x != nil { if x != nil {
return x.Uid return x.Uid
} }
return "" return ""
} }
func (x *DBBusinessData) GetData() []*DBBusiness { func (x *DBCustomer) GetCustomerIds() []int32 {
if x != nil { if x != nil {
return x.Data return x.CustomerIds
} }
return nil return nil
} }
func (x *DBBusinessData) GetCount() int32 { func (x *DBCustomer) GetTotal() int32 {
if x != nil { if x != nil {
return x.Count return x.Total
} }
return 0 return 0
} }
func (x *DBBusinessData) GetRefreshTime() int64 { func (x *DBCustomer) GetLastRefreshTime() int64 {
if x != nil { if x != nil {
return x.RefreshTime return x.LastRefreshTime
} }
return 0 return 0
} }
@ -653,111 +660,108 @@ var File_smithy_smithy_db_proto protoreflect.FileDescriptor
var file_smithy_smithy_db_proto_rawDesc = []byte{ var file_smithy_smithy_db_proto_rawDesc = []byte{
0x0a, 0x16, 0x73, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x2f, 0x73, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x5f, 0x0a, 0x16, 0x73, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x2f, 0x73, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x5f,
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8, 0x03, 0x0a, 0x07, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2f, 0x0a, 0x07, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x79, 0x12,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12,
0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb2, 0x03, 0x0a, 0x07, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76,
0x6c, 0x76, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
0x32, 0x12, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x45, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x6b, 0x75, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
0x69, 0x6c, 0x6c, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x02, 0x6c, 0x76, 0x12, 0x26, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x04, 0x20, 0x03, 0x28,
0x6f, 0x76, 0x65, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x2e, 0x44, 0x61, 0x74, 0x61,
0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x29, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x18, 0x06, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x29, 0x0a, 0x05, 0x73,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x2e, 0x46, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x53,
0x6f, 0x72, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x74, 0x6f, 0x76, 0x65, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x12, 0x20, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x29, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x67, 0x65, 0x18,
0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x2e,
0x72, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x67,
0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x54, 0x69, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74, 0x75, 0x72, 0x65,
0x6d, 0x65, 0x1a, 0x37, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x65, 0x72, 0x61, 0x74,
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x75, 0x72, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x54, 0x69, 0x6d,
0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x54,
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x69, 0x6d, 0x65, 0x1a, 0x41, 0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 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, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c,
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 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, 0x38, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x67, 0x65, 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, 0x22, 0x90, 0x01, 0x0a, 0x0a, 0x44,
0x42, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 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, 0x20, 0x0a, 0x0b, 0x63,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05,
0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x73, 0x12, 0x14, 0x0a,
0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x6f,
0x74, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65,
0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x6c, 0x61,
0x73, 0x74, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xba, 0x01,
0x0a, 0x08, 0x44, 0x42, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 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, 0x2d, 0x0a, 0x06,
0x74, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x44,
0x42, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x2e, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x52, 0x06, 0x74, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73,
0x6c, 0x69, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x6c, 0x69,
0x64, 0x65, 0x72, 0x1a, 0x45, 0x0a, 0x0b, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x55, 0x0a, 0x09, 0x46, 0x6f,
0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x72, 0x67, 0x65,
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x66, 0x6f, 0x72,
0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20,
0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69,
0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74,
0x79, 0x22, 0x4f, 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65,
0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x65,
0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05,
0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x54, 0x69,
0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x0a, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x6e, 0x67,
0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03,
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x82,
0x04, 0x0a, 0x08, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 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, 0x1c, 0x0a,
0x05, 0x63, 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x43,
0x6c, 0x61, 0x6e, 0x67, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x23, 0x0a, 0x06, 0x6f,
0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f, 0x72,
0x64, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x6e, 0x67, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73,
0x12, 0x21, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x69, 0x74,
0x65, 0x6d, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x2e, 0x53, 0x6b,
0x69, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12,
0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x4c, 0x76, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05,
0x52, 0x07, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x4c, 0x76, 0x12, 0x24, 0x0a, 0x0d, 0x6f, 0x72, 0x64,
0x65, 0x72, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05,
0x52, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x65, 0x73, 0x6b, 0x46, 0x6c, 0x6f,
0x6f, 0x72, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69,
0x74, 0x68, 0x79, 0x2e, 0x44, 0x65, 0x73, 0x6b, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x52, 0x09, 0x64, 0x65, 0x73, 0x6b, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x1e, 0x0a,
0x0a, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28,
0x05, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x12, 0x1c, 0x0a,
0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05,
0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x53,
0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x6b, 0x69, 0x6c, 0x6c, 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, 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, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x45, 0x6e, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0e, 0x44, 0x65, 0x73, 0x6b, 0x46, 0x6c, 0x6f,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x6f, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
0x70, 0x0a, 0x0a, 0x44, 0x42, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x04, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x44, 0x42, 0x74, 0x6f, 0x33,
0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x1a, 0x37, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x70,
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, 0x22, 0x8b, 0x01, 0x0a, 0x0e, 0x44, 0x42, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73,
0x44, 0x61, 0x74, 0x61, 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, 0x1f, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73,
0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74,
0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x20, 0x0a,
0x0b, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01,
0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x22,
0xba, 0x01, 0x0a, 0x08, 0x44, 0x42, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 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, 0x2d,
0x0a, 0x06, 0x74, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15,
0x2e, 0x44, 0x42, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x2e, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x74, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x12, 0x16, 0x0a,
0x06, 0x73, 0x6c, 0x69, 0x64, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73,
0x6c, 0x69, 0x64, 0x65, 0x72, 0x1a, 0x45, 0x0a, 0x0b, 0x54, 0x75, 0x6a, 0x69, 0x61, 0x6e, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74,
0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x55, 0x0a, 0x09,
0x46, 0x6f, 0x72, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x72,
0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x66,
0x6f, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61,
0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c,
0x69, 0x74, 0x79, 0x22, 0x4f, 0x0a, 0x05, 0x43, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08,
0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x54, 0x69, 0x6d,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73,
0x54, 0x69, 0x6d, 0x65, 0x22, 0x5a, 0x0a, 0x0a, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6c, 0x61,
0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01,
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,
0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63,
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65,
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6e, 0x65, 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65,
0x22, 0x82, 0x04, 0x0a, 0x08, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 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,
0x1c, 0x0a, 0x05, 0x63, 0x6c, 0x61, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06,
0x2e, 0x43, 0x6c, 0x61, 0x6e, 0x67, 0x52, 0x05, 0x63, 0x6c, 0x61, 0x6e, 0x67, 0x12, 0x23, 0x0a,
0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x6e, 0x67, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65,
0x72, 0x73, 0x12, 0x21, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05,
0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x06,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x2e,
0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x6b, 0x69, 0x6c,
0x6c, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x4c, 0x76, 0x18, 0x07, 0x20, 0x01,
0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x4c, 0x76, 0x12, 0x24, 0x0a, 0x0d, 0x6f,
0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01,
0x28, 0x05, 0x52, 0x0d, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d,
0x65, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x09, 0x64, 0x65, 0x73, 0x6b, 0x46,
0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x44, 0x42, 0x53,
0x6d, 0x69, 0x74, 0x68, 0x79, 0x2e, 0x44, 0x65, 0x73, 0x6b, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x64, 0x65, 0x73, 0x6b, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x12,
0x1e, 0x0a, 0x0a, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x18, 0x0b, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x76, 0x65, 0x46, 0x6c, 0x6f, 0x6f, 0x72, 0x12,
0x1c, 0x0a, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01,
0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a,
0x0a, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 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, 0x3c, 0x0a, 0x0e, 0x44, 0x65, 0x73, 0x6b, 0x46,
0x6c, 0x6f, 0x6f, 0x72, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -772,43 +776,41 @@ func file_smithy_smithy_db_proto_rawDescGZIP() []byte {
return file_smithy_smithy_db_proto_rawDescData return file_smithy_smithy_db_proto_rawDescData
} }
var file_smithy_smithy_db_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_smithy_smithy_db_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_smithy_smithy_db_proto_goTypes = []interface{}{ var file_smithy_smithy_db_proto_goTypes = []interface{}{
(*DBStove)(nil), // 0: DBStove (*Mastery)(nil), // 0: Mastery
(*DBBusiness)(nil), // 1: DBBusiness (*DBStove)(nil), // 1: DBStove
(*DBBusinessData)(nil), // 2: DBBusinessData (*DBCustomer)(nil), // 2: DBCustomer
(*DBTujian)(nil), // 3: DBTujian (*DBTujian)(nil), // 3: DBTujian
(*ForgeData)(nil), // 4: ForgeData (*ForgeData)(nil), // 4: ForgeData
(*Clang)(nil), // 5: Clang (*Clang)(nil), // 5: Clang
(*OrderClang)(nil), // 6: OrderClang (*OrderClang)(nil), // 6: OrderClang
(*DBSmithy)(nil), // 7: DBSmithy (*DBSmithy)(nil), // 7: DBSmithy
nil, // 8: DBStove.DataEntry nil, // 8: DBStove.DataEntry
nil, // 9: DBStove.SkillEntry nil, // 9: DBStove.SkillEntry
nil, // 10: DBStove.ForgeEntry nil, // 10: DBStove.ForgeEntry
nil, // 11: DBBusiness.ShopEntry nil, // 11: DBTujian.TujianEntry
nil, // 12: DBTujian.TujianEntry nil, // 12: DBSmithy.SkillEntry
nil, // 13: DBSmithy.SkillEntry nil, // 13: DBSmithy.DeskFloorEntry
nil, // 14: DBSmithy.DeskFloorEntry (*UserAssets)(nil), // 14: UserAssets
(*UserAssets)(nil), // 15: UserAssets
} }
var file_smithy_smithy_db_proto_depIdxs = []int32{ var file_smithy_smithy_db_proto_depIdxs = []int32{
8, // 0: DBStove.data:type_name -> DBStove.DataEntry 8, // 0: DBStove.data:type_name -> DBStove.DataEntry
9, // 1: DBStove.skill:type_name -> DBStove.SkillEntry 9, // 1: DBStove.skill:type_name -> DBStove.SkillEntry
10, // 2: DBStove.forge:type_name -> DBStove.ForgeEntry 10, // 2: DBStove.forge:type_name -> DBStove.ForgeEntry
11, // 3: DBBusiness.shop:type_name -> DBBusiness.ShopEntry 11, // 3: DBTujian.tujian:type_name -> DBTujian.TujianEntry
1, // 4: DBBusinessData.data:type_name -> DBBusiness 5, // 4: DBSmithy.clang:type_name -> Clang
12, // 5: DBTujian.tujian:type_name -> DBTujian.TujianEntry 6, // 5: DBSmithy.orders:type_name -> OrderClang
5, // 6: DBSmithy.clang:type_name -> Clang 14, // 6: DBSmithy.items:type_name -> UserAssets
6, // 7: DBSmithy.orders:type_name -> OrderClang 12, // 7: DBSmithy.skill:type_name -> DBSmithy.SkillEntry
15, // 8: DBSmithy.items:type_name -> UserAssets 13, // 8: DBSmithy.deskFloor:type_name -> DBSmithy.DeskFloorEntry
13, // 9: DBSmithy.skill:type_name -> DBSmithy.SkillEntry 0, // 9: DBStove.DataEntry.value:type_name -> Mastery
14, // 10: DBSmithy.deskFloor:type_name -> DBSmithy.DeskFloorEntry 4, // 10: DBTujian.TujianEntry.value:type_name -> ForgeData
4, // 11: DBTujian.TujianEntry.value:type_name -> ForgeData 11, // [11:11] is the sub-list for method output_type
12, // [12:12] is the sub-list for method output_type 11, // [11:11] is the sub-list for method input_type
12, // [12:12] is the sub-list for method input_type 11, // [11:11] is the sub-list for extension type_name
12, // [12:12] is the sub-list for extension type_name 11, // [11:11] is the sub-list for extension extendee
12, // [12:12] is the sub-list for extension extendee 0, // [0:11] is the sub-list for field type_name
0, // [0:12] is the sub-list for field type_name
} }
func init() { file_smithy_smithy_db_proto_init() } func init() { file_smithy_smithy_db_proto_init() }
@ -819,7 +821,7 @@ func file_smithy_smithy_db_proto_init() {
file_comm_proto_init() file_comm_proto_init()
if !protoimpl.UnsafeEnabled { if !protoimpl.UnsafeEnabled {
file_smithy_smithy_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { file_smithy_smithy_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBStove); i { switch v := v.(*Mastery); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -831,7 +833,7 @@ func file_smithy_smithy_db_proto_init() {
} }
} }
file_smithy_smithy_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { file_smithy_smithy_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBBusiness); i { switch v := v.(*DBStove); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -843,7 +845,7 @@ func file_smithy_smithy_db_proto_init() {
} }
} }
file_smithy_smithy_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { file_smithy_smithy_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBBusinessData); i { switch v := v.(*DBCustomer); i {
case 0: case 0:
return &v.state return &v.state
case 1: case 1:
@ -921,7 +923,7 @@ func file_smithy_smithy_db_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_smithy_smithy_db_proto_rawDesc, RawDescriptor: file_smithy_smithy_db_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 15, NumMessages: 14,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },

View File

@ -112,9 +112,9 @@ type SmithyForgeEquipReq struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
EquipType int32 `protobuf:"varint,1,opt,name=equipType,proto3" json:"equipType"` // 装备类型 ReelId int32 `protobuf:"varint,1,opt,name=reelId,proto3" json:"reelId"` // 卷轴ID
Lava int32 `protobuf:"varint,2,opt,name=lava,proto3" json:"lava"` // 添加熔岩 Lava int32 `protobuf:"varint,2,opt,name=lava,proto3" json:"lava"` // 添加熔岩
Quality int32 `protobuf:"varint,3,opt,name=quality,proto3" json:"quality"` // 精益制造 Quality int32 `protobuf:"varint,3,opt,name=quality,proto3" json:"quality"` // 精益制造
} }
func (x *SmithyForgeEquipReq) Reset() { func (x *SmithyForgeEquipReq) Reset() {
@ -149,9 +149,9 @@ func (*SmithyForgeEquipReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{2} return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{2}
} }
func (x *SmithyForgeEquipReq) GetEquipType() int32 { func (x *SmithyForgeEquipReq) GetReelId() int32 {
if x != nil { if x != nil {
return x.EquipType return x.ReelId
} }
return 0 return 0
} }
@ -680,7 +680,7 @@ type SmithyRefreshShopResp struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Data *DBBusiness `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` CustomerIds []int32 `protobuf:"varint,1,rep,packed,name=customerIds,proto3" json:"customerIds"` //顾客
} }
func (x *SmithyRefreshShopResp) Reset() { func (x *SmithyRefreshShopResp) Reset() {
@ -715,9 +715,9 @@ func (*SmithyRefreshShopResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{13} return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{13}
} }
func (x *SmithyRefreshShopResp) GetData() *DBBusiness { func (x *SmithyRefreshShopResp) GetCustomerIds() []int32 {
if x != nil { if x != nil {
return x.Data return x.CustomerIds
} }
return nil return nil
} }
@ -728,8 +728,7 @@ type SmithySellItemReq struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // 装备ID Ids []int32 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids"` // 装备ID
Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count"` // 数量
} }
func (x *SmithySellItemReq) Reset() { func (x *SmithySellItemReq) Reset() {
@ -764,18 +763,11 @@ func (*SmithySellItemReq) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{14} return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{14}
} }
func (x *SmithySellItemReq) GetId() int32 { func (x *SmithySellItemReq) GetIds() []int32 {
if x != nil { if x != nil {
return x.Id return x.Ids
} }
return 0 return nil
}
func (x *SmithySellItemReq) GetCount() int32 {
if x != nil {
return x.Count
}
return 0
} }
type SmithySellItemResp struct { type SmithySellItemResp struct {
@ -783,7 +775,8 @@ type SmithySellItemResp struct {
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
Data *DBBusiness `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` CustomerId int32 `protobuf:"varint,1,opt,name=customerId,proto3" json:"customerId"` //顾客ID
Ids []int32 `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids"` //出售的装备
} }
func (x *SmithySellItemResp) Reset() { func (x *SmithySellItemResp) Reset() {
@ -818,9 +811,16 @@ func (*SmithySellItemResp) Descriptor() ([]byte, []int) {
return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{15} return file_smithy_smithy_msg_proto_rawDescGZIP(), []int{15}
} }
func (x *SmithySellItemResp) GetData() *DBBusiness { func (x *SmithySellItemResp) GetCustomerId() int32 {
if x != nil { if x != nil {
return x.Data return x.CustomerId
}
return 0
}
func (x *SmithySellItemResp) GetIds() []int32 {
if x != nil {
return x.Ids
} }
return nil return nil
} }
@ -1380,95 +1380,94 @@ var file_smithy_smithy_msg_proto_rawDesc = []byte{
0x0a, 0x16, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x0a, 0x16, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x76, 0x65,
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65,
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x61, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x5b, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79,
0x46, 0x6f, 0x72, 0x67, 0x65, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x06, 0x72, 0x65, 0x65, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72,
0x52, 0x09, 0x65, 0x71, 0x75, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x65, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x76, 0x61, 0x18, 0x02, 0x20,
0x61, 0x76, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x61, 0x76, 0x61, 0x12, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x61, 0x76, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61,
0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c,
0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4a, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x69, 0x74, 0x79, 0x22, 0x4a, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x46, 0x6f, 0x72,
0x74, 0x68, 0x79, 0x46, 0x6f, 0x72, 0x67, 0x65, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x73, 0x67, 0x65, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65,
0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x71, 0x75, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x65, 0x71, 0x75, 0x69,
0x52, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22,
0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x79, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x4f, 0x79, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x45, 0x71,
0x72, 0x64, 0x65, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x69, 0x70, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x69, 0x74, 0x65, 0x49,
0x73, 0x75, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x75, 0x69, 0x74, 0x65, 0x49, 0x64,
0x75, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x61, 0x76, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x6c, 0x61, 0x76, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x61, 0x76, 0x61,
0x52, 0x04, 0x6c, 0x61, 0x76, 0x61, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28,
0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x05, 0x52, 0x07, 0x71, 0x75, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x22, 0x4a, 0x0a, 0x14, 0x53, 0x6d,
0x22, 0x4a, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x45, 0x69, 0x74, 0x68, 0x79, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x45, 0x71, 0x75, 0x69, 0x70, 0x52, 0x65,
0x71, 0x75, 0x69, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x71, 0x75, 0x69, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28,
0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x12, 0x1c, 0x05, 0x52, 0x05, 0x65, 0x71, 0x75, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65,
0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x55, 0x70, 0x52, 0x65, 0x71, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x55, 0x70, 0x52, 0x65, 0x71, 0x22, 0x31, 0x0a, 0x11, 0x53, 0x6d,
0x22, 0x31, 0x0a, 0x11, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x55, 0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12,
0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e,
0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x3d, 0x0a,
0x0d, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x69, 0x73, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16,
0x0a, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x0e,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x69, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c,
0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44,
0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x22, 0x0a, 0x10,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x55, 0x70, 0x52, 0x65, 0x71,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
0x22, 0x31, 0x0a, 0x11, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x55,
0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x04, 0x64, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x04, 0x64,
0x61, 0x74, 0x61, 0x22, 0x3d, 0x0a, 0x0d, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x69, 0x73, 0x61, 0x74, 0x61, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x65, 0x66,
0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x01, 0x72, 0x65, 0x73, 0x68, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x22, 0x39, 0x0a, 0x15, 0x53,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x68, 0x6f, 0x70,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72,
0x6e, 0x74, 0x22, 0x2e, 0x0a, 0x0e, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x69, 0x73, 0x65, 0x49, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f,
0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x73, 0x22, 0x25, 0x0a, 0x11, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79,
0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x52, 0x04, 0x64, 0x61, 0x53, 0x65, 0x6c, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x69,
0x74, 0x61, 0x22, 0x22, 0x0a, 0x10, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x54, 0x6f, 0x6f, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x46, 0x0a,
0x73, 0x55, 0x70, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x65, 0x6c, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52,
0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x31, 0x0a, 0x11, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49,
0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x55, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x64, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x72, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05,
0x6f, 0x76, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x52, 0x03, 0x69, 0x64, 0x73, 0x22, 0x39, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x43,
0x74, 0x68, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x65, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a,
0x71, 0x22, 0x38, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x65, 0x66, 0x72, 0x65, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f,
0x73, 0x68, 0x53, 0x68, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x61, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x6e, 0x67, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72,
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x42, 0x75, 0x73, 0x22, 0x36, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
0x69, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x39, 0x0a, 0x11, 0x53, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74,
0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x65, 0x6c, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x71, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74,
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74,
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x34,
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x35, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72,
0x53, 0x65, 0x6c, 0x6c, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x44, 0x42, 0x42, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04,
0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x39, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x22, 0x32, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65,
0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x73, 0x6b, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08,
0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x21, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x6e, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x36, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74,
0x67, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x22, 0x36, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65, 0x73, 0x6b, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73,
0x68, 0x79, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73,
0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
0x22, 0x14, 0x0a, 0x12, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x53,
0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x22, 0x34, 0x0a, 0x13, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x71, 0x22, 0x37, 0x0a, 0x16, 0x53, 0x6d, 0x69,
0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52,
0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x32, 0x0a, 0x14, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61,
0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65, 0x73, 0x6b, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x74, 0x61, 0x22, 0x2e, 0x0a, 0x14, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52,
0x76, 0x52, 0x65, 0x71, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x65, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x70, 0x65, 0x6f, 0x70,
0x22, 0x36, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x44, 0x65, 0x73, 0x6b, 0x53, 0x6b, 0x6c, 0x65, 0x22, 0x34, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52,
0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x75,
0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73,
0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x6d, 0x69, 0x74, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x6d, 0x69, 0x74,
0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x68, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x22, 0x32, 0x0a, 0x11,
0x71, 0x22, 0x37, 0x0a, 0x16, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x53, 0x74, 0x6f, 0x76, 0x65, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4c, 0x76, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61,
0x69, 0x74, 0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2e, 0x0a, 0x14, 0x53, 0x6d, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52,
0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x05, 0x52, 0x06, 0x70, 0x65, 0x6f, 0x70, 0x6c, 0x65, 0x22, 0x34, 0x0a, 0x15, 0x53, 0x6d,
0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x52, 0x61, 0x6e, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
0x22, 0x12, 0x0a, 0x10, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65, 0x74, 0x4c, 0x69, 0x73,
0x74, 0x52, 0x65, 0x71, 0x22, 0x32, 0x0a, 0x11, 0x53, 0x6d, 0x69, 0x74, 0x68, 0x79, 0x47, 0x65,
0x74, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x04, 0x64, 0x61, 0x74,
0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x53, 0x6d, 0x69, 0x74,
0x68, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (
@ -1514,10 +1513,9 @@ var file_smithy_smithy_msg_proto_goTypes = []interface{}{
(*SmithyGetListReq)(nil), // 26: SmithyGetListReq (*SmithyGetListReq)(nil), // 26: SmithyGetListReq
(*SmithyGetListResp)(nil), // 27: SmithyGetListResp (*SmithyGetListResp)(nil), // 27: SmithyGetListResp
(*DBStove)(nil), // 28: DBStove (*DBStove)(nil), // 28: DBStove
(*DBBusiness)(nil), // 29: DBBusiness (*OrderClang)(nil), // 29: OrderClang
(*OrderClang)(nil), // 30: OrderClang (*DBSmithy)(nil), // 30: DBSmithy
(*DBSmithy)(nil), // 31: DBSmithy (*DBUser)(nil), // 31: DBUser
(*DBUser)(nil), // 32: DBUser
} }
var file_smithy_smithy_msg_proto_depIdxs = []int32{ var file_smithy_smithy_msg_proto_depIdxs = []int32{
28, // 0: SmithyGetStoveInfoResp.data:type_name -> DBStove 28, // 0: SmithyGetStoveInfoResp.data:type_name -> DBStove
@ -1526,20 +1524,18 @@ var file_smithy_smithy_msg_proto_depIdxs = []int32{
28, // 3: SmithyStoveUpResp.data:type_name -> DBStove 28, // 3: SmithyStoveUpResp.data:type_name -> DBStove
28, // 4: SmithyRiseResp.data:type_name -> DBStove 28, // 4: SmithyRiseResp.data:type_name -> DBStove
28, // 5: SmithyToolsUpResp.data:type_name -> DBStove 28, // 5: SmithyToolsUpResp.data:type_name -> DBStove
29, // 6: SmithyRefreshShopResp.data:type_name -> DBBusiness 29, // 6: SmithyCreateOrderReq.order:type_name -> OrderClang
29, // 7: SmithySellItemResp.data:type_name -> DBBusiness 30, // 7: SmithyCreateOrderResp.data:type_name -> DBSmithy
30, // 8: SmithyCreateOrderReq.order:type_name -> OrderClang 30, // 8: SmithyGetRewardResp.data:type_name -> DBSmithy
31, // 9: SmithyCreateOrderResp.data:type_name -> DBSmithy 30, // 9: SmithyDeskSkillLvResp.data:type_name -> DBSmithy
31, // 10: SmithyGetRewardResp.data:type_name -> DBSmithy 30, // 10: SmithyStoveSkillLvResp.data:type_name -> DBSmithy
31, // 11: SmithyDeskSkillLvResp.data:type_name -> DBSmithy 31, // 11: SmithyGetRandUserResp.user:type_name -> DBUser
31, // 12: SmithyStoveSkillLvResp.data:type_name -> DBSmithy 30, // 12: SmithyGetListResp.data:type_name -> DBSmithy
32, // 13: SmithyGetRandUserResp.user:type_name -> DBUser 13, // [13:13] is the sub-list for method output_type
31, // 14: SmithyGetListResp.data:type_name -> DBSmithy 13, // [13:13] is the sub-list for method input_type
15, // [15:15] is the sub-list for method output_type 13, // [13:13] is the sub-list for extension type_name
15, // [15:15] is the sub-list for method input_type 13, // [13:13] is the sub-list for extension extendee
15, // [15:15] is the sub-list for extension type_name 0, // [0:13] is the sub-list for field type_name
15, // [15:15] is the sub-list for extension extendee
0, // [0:15] is the sub-list for field type_name
} }
func init() { file_smithy_smithy_msg_proto_init() } func init() { file_smithy_smithy_msg_proto_init() }

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

View File

@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <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 GameNewSmithyData struct {
Id int32
ItemId int32
Type int32
Consume []*Gameatn
Temperature int32
Quality *Gameatn
NDrop int32
QDrop int32
}
const TypeId_GameNewSmithyData = -1249020316
func (*GameNewSmithyData) GetTypeId() int32 {
return -1249020316
}
func (_v *GameNewSmithyData)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["item_id"].(float64); !_ok_ { err = errors.New("item_id error"); return }; _v.ItemId = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["consume"].([]interface{}); !_ok_ { err = errors.New("consume error"); return }
_v.Consume = 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.Consume = append(_v.Consume, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["temperature"].(float64); !_ok_ { err = errors.New("temperature error"); return }; _v.Temperature = int32(_tempNum_) }
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["quality"].(map[string]interface{}); !_ok_ { err = errors.New("quality error"); return }; if _v.Quality, err = DeserializeGameatn(_x_); err != nil { return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["nDrop"].(float64); !_ok_ { err = errors.New("nDrop error"); return }; _v.NDrop = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["qDrop"].(float64); !_ok_ { err = errors.New("qDrop error"); return }; _v.QDrop = int32(_tempNum_) }
return
}
func DeserializeGameNewSmithyData(_buf map[string]interface{}) (*GameNewSmithyData, error) {
v := &GameNewSmithyData{}
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 GameSmithyProficiency struct {
_dataMap map[int32]*GameSmithyProficiencyData
_dataList []*GameSmithyProficiencyData
}
func NewGameSmithyProficiency(_buf []map[string]interface{}) (*GameSmithyProficiency, error) {
_dataList := make([]*GameSmithyProficiencyData, 0, len(_buf))
dataMap := make(map[int32]*GameSmithyProficiencyData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameSmithyProficiencyData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameSmithyProficiency{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameSmithyProficiency) GetDataMap() map[int32]*GameSmithyProficiencyData {
return table._dataMap
}
func (table *GameSmithyProficiency) GetDataList() []*GameSmithyProficiencyData {
return table._dataList
}
func (table *GameSmithyProficiency) Get(key int32) *GameSmithyProficiencyData {
return table._dataMap[key]
}

View File

@ -0,0 +1,51 @@
//------------------------------------------------------------------------------
// <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 GameSmithyProficiencyData struct {
Id int32
Proficiency int32
ReelId int32
ProficiencyLv int32
TitleText string
ContentText string
Type int32
Value1 int32
Value2 int32
}
const TypeId_GameSmithyProficiencyData = -1024047859
func (*GameSmithyProficiencyData) GetTypeId() int32 {
return -1024047859
}
func (_v *GameSmithyProficiencyData)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["proficiency"].(float64); !_ok_ { err = errors.New("proficiency error"); return }; _v.Proficiency = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["reelId"].(float64); !_ok_ { err = errors.New("reelId error"); return }; _v.ReelId = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["proficiency_lv"].(float64); !_ok_ { err = errors.New("proficiency_lv error"); return }; _v.ProficiencyLv = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["title_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TitleText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TitleText, _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["content_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.ContentText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.ContentText, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["type"].(float64); !_ok_ { err = errors.New("type error"); return }; _v.Type = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value1"].(float64); !_ok_ { err = errors.New("value1 error"); return }; _v.Value1 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value2"].(float64); !_ok_ { err = errors.New("value2 error"); return }; _v.Value2 = int32(_tempNum_) }
return
}
func DeserializeGameSmithyProficiencyData(_buf map[string]interface{}) (*GameSmithyProficiencyData, error) {
v := &GameSmithyProficiencyData{}
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 GameSmithyStoveV1 struct {
_dataMap map[int32]*GameSmithyStoveV1Data
_dataList []*GameSmithyStoveV1Data
}
func NewGameSmithyStoveV1(_buf []map[string]interface{}) (*GameSmithyStoveV1, error) {
_dataList := make([]*GameSmithyStoveV1Data, 0, len(_buf))
dataMap := make(map[int32]*GameSmithyStoveV1Data)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameSmithyStoveV1Data(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Star] = _v
}
}
return &GameSmithyStoveV1{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameSmithyStoveV1) GetDataMap() map[int32]*GameSmithyStoveV1Data {
return table._dataMap
}
func (table *GameSmithyStoveV1) GetDataList() []*GameSmithyStoveV1Data {
return table._dataList
}
func (table *GameSmithyStoveV1) Get(key int32) *GameSmithyStoveV1Data {
return table._dataMap[key]
}

View File

@ -0,0 +1,56 @@
//------------------------------------------------------------------------------
// <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 GameSmithyStoveV1Data struct {
Star int32
MaxTemperature int32
TemperatureRecovery int32
UpMaterial []*Gameatn
TitleText string
}
const TypeId_GameSmithyStoveV1Data = -1332837680
func (*GameSmithyStoveV1Data) GetTypeId() int32 {
return -1332837680
}
func (_v *GameSmithyStoveV1Data)Deserialize(_buf map[string]interface{}) (err error) {
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["star"].(float64); !_ok_ { err = errors.New("star error"); return }; _v.Star = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max_temperature"].(float64); !_ok_ { err = errors.New("max_temperature error"); return }; _v.MaxTemperature = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["temperature_recovery"].(float64); !_ok_ { err = errors.New("temperature_recovery error"); return }; _v.TemperatureRecovery = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["up_material"].([]interface{}); !_ok_ { err = errors.New("up_material error"); return }
_v.UpMaterial = 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.UpMaterial = append(_v.UpMaterial, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["title_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TitleText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TitleText, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
return
}
func DeserializeGameSmithyStoveV1Data(_buf map[string]interface{}) (*GameSmithyStoveV1Data, error) {
v := &GameSmithyStoveV1Data{}
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 GameSmithyTool struct {
_dataMap map[int32]*GameSmithyToolData
_dataList []*GameSmithyToolData
}
func NewGameSmithyTool(_buf []map[string]interface{}) (*GameSmithyTool, error) {
_dataList := make([]*GameSmithyToolData, 0, len(_buf))
dataMap := make(map[int32]*GameSmithyToolData)
for _, _ele_ := range _buf {
if _v, err2 := DeserializeGameSmithyToolData(_ele_); err2 != nil {
return nil, err2
} else {
_dataList = append(_dataList, _v)
dataMap[_v.Id] = _v
}
}
return &GameSmithyTool{_dataList:_dataList, _dataMap:dataMap}, nil
}
func (table *GameSmithyTool) GetDataMap() map[int32]*GameSmithyToolData {
return table._dataMap
}
func (table *GameSmithyTool) GetDataList() []*GameSmithyToolData {
return table._dataList
}
func (table *GameSmithyTool) Get(key int32) *GameSmithyToolData {
return table._dataMap[key]
}

View File

@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <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 GameSmithyToolData struct {
Id int32
SkillType int32
SkillLv int32
Preconditions int32
UpMaterial []*Gameatn
NameText string
ContentText string
Value int32
}
const TypeId_GameSmithyToolData = -2056914476
func (*GameSmithyToolData) GetTypeId() int32 {
return -2056914476
}
func (_v *GameSmithyToolData)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["skill_type"].(float64); !_ok_ { err = errors.New("skill_type error"); return }; _v.SkillType = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["skill_lv"].(float64); !_ok_ { err = errors.New("skill_lv error"); return }; _v.SkillLv = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["preconditions"].(float64); !_ok_ { err = errors.New("preconditions error"); return }; _v.Preconditions = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["up_material"].([]interface{}); !_ok_ { err = errors.New("up_material error"); return }
_v.UpMaterial = 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.UpMaterial = append(_v.UpMaterial, _list_v_)
}
}
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.NameText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.NameText, _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["content_text"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.ContentText error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.ContentText, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["value"].(float64); !_ok_ { err = errors.New("value error"); return }; _v.Value = int32(_tempNum_) }
return
}
func DeserializeGameSmithyToolData(_buf map[string]interface{}) (*GameSmithyToolData, error) {
v := &GameSmithyToolData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -31,14 +31,14 @@ func (*GameTrollGoodsData) GetTypeId() int32 {
func (_v *GameTrollGoodsData)Deserialize(_buf map[string]interface{}) (err error) { func (_v *GameTrollGoodsData)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["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
{ var _ok_ bool; if _v.Goodsname, _ok_ = _buf["goodsname"].(string); !_ok_ { err = errors.New("goodsname error"); return } } {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 _tempNum_ float64; if _tempNum_, _ok_ = _buf["goodsfor"].(float64); !_ok_ { err = errors.New("goodsfor error"); return }; _v.Goodsfor = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["goodsfor"].(float64); !_ok_ { err = errors.New("goodsfor error"); return }; _v.Goodsfor = int32(_tempNum_) }
{ var _ok_ bool; if _v.Goodsinfor, _ok_ = _buf["goodsinfor"].(string); !_ok_ { err = errors.New("goodsinfor 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; 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 _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["goodsprice"].(float64); !_ok_ { err = errors.New("goodsprice error"); return }; _v.Goodsprice = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["star_money"].(float64); !_ok_ { err = errors.New("star_money error"); return }; _v.StarMoney = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["star_money"].(float64); !_ok_ { err = errors.New("star_money error"); return }; _v.StarMoney = int32(_tempNum_) }
{ var _ok_ bool; if _v.Uptext, _ok_ = _buf["uptext"].(string); !_ok_ { err = errors.New("uptext error"); return } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["uptext"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Uptext error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Uptext, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; if _v.Suptext, _ok_ = _buf["suptext"].(string); !_ok_ { err = errors.New("suptext error"); return } } {var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["suptext"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Suptext error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Suptext, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max"].(float64); !_ok_ { err = errors.New("max error"); return }; _v.Max = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["max"].(float64); !_ok_ { err = errors.New("max error"); return }; _v.Max = int32(_tempNum_) }
return return
} }

View File

@ -18,6 +18,9 @@ type GameWorldTaskData struct {
Group int32 Group int32
Des int32 Des int32
Icon string Icon string
TaskTname string
TaskName string
TaskDisplay string
Npc []string Npc []string
GetafterEvent []int32 GetafterEvent []int32
Completetask int32 Completetask int32
@ -40,6 +43,9 @@ func (_v *GameWorldTaskData)Deserialize(_buf map[string]interface{}) (err error)
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["group"].(float64); !_ok_ { err = errors.New("group error"); return }; _v.Group = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["group"].(float64); !_ok_ { err = errors.New("group error"); return }; _v.Group = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["des"].(float64); !_ok_ { err = errors.New("des error"); return }; _v.Des = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["des"].(float64); !_ok_ { err = errors.New("des error"); return }; _v.Des = int32(_tempNum_) }
{ var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } } { var _ok_ bool; if _v.Icon, _ok_ = _buf["icon"].(string); !_ok_ { err = errors.New("icon error"); return } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_Tname"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskTname error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskTname, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskName error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskName, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["task_display"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.TaskDisplay error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.TaskDisplay, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ {
var _arr_ []interface{} var _arr_ []interface{}
var _ok_ bool var _ok_ bool

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

View File

@ -0,0 +1,143 @@
//------------------------------------------------------------------------------
// <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 GamepandsmasexpData struct {
Id int32
Bossid int32
Name string
ReadyID int32
Difficulty int32
BattleReadyID int32
Captionrecommend []int32
Firstprize []*Gameatn
Dropshow []*Gameatn
Drop int32
Scene string
Bossmodel int32
BossSkill int32
Boss []int32
PsConsume []*Gameatn
PsMg []*Gameatn
}
const TypeId_GamepandsmasexpData = 192857656
func (*GamepandsmasexpData) GetTypeId() int32 {
return 192857656
}
func (_v *GamepandsmasexpData)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["bossid"].(float64); !_ok_ { err = errors.New("bossid error"); return }; _v.Bossid = int32(_tempNum_) }
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["name"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Name error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Name, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["ReadyID"].(float64); !_ok_ { err = errors.New("ReadyID error"); return }; _v.ReadyID = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["difficulty"].(float64); !_ok_ { err = errors.New("difficulty error"); return }; _v.Difficulty = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["BattleReadyID"].(float64); !_ok_ { err = errors.New("BattleReadyID error"); return }; _v.BattleReadyID = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["captionrecommend"].([]interface{}); !_ok_ { err = errors.New("captionrecommend error"); return }
_v.Captionrecommend = 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.Captionrecommend = append(_v.Captionrecommend, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["firstprize"].([]interface{}); !_ok_ { err = errors.New("firstprize error"); return }
_v.Firstprize = 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.Firstprize = append(_v.Firstprize, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["dropshow"].([]interface{}); !_ok_ { err = errors.New("dropshow error"); return }
_v.Dropshow = 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.Dropshow = append(_v.Dropshow, _list_v_)
}
}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["drop"].(float64); !_ok_ { err = errors.New("drop error"); return }; _v.Drop = int32(_tempNum_) }
{ var _ok_ bool; if _v.Scene, _ok_ = _buf["scene"].(string); !_ok_ { err = errors.New("scene error"); return } }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["bossmodel"].(float64); !_ok_ { err = errors.New("bossmodel error"); return }; _v.Bossmodel = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["boss_skill"].(float64); !_ok_ { err = errors.New("boss_skill error"); return }; _v.BossSkill = int32(_tempNum_) }
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["boss"].([]interface{}); !_ok_ { err = errors.New("boss error"); return }
_v.Boss = 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.Boss = append(_v.Boss, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["ps_consume"].([]interface{}); !_ok_ { err = errors.New("ps_consume error"); return }
_v.PsConsume = 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.PsConsume = append(_v.PsConsume, _list_v_)
}
}
{
var _arr_ []interface{}
var _ok_ bool
if _arr_, _ok_ = _buf["ps_mg"].([]interface{}); !_ok_ { err = errors.New("ps_mg error"); return }
_v.PsMg = 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.PsMg = append(_v.PsMg, _list_v_)
}
}
return
}
func DeserializeGamepandsmasexpData(_buf map[string]interface{}) (*GamepandsmasexpData, error) {
v := &GamepandsmasexpData{}
if err := v.Deserialize(_buf); err == nil {
return v, nil
} else {
return nil, err
}
}

View File

@ -159,6 +159,12 @@ type Tables struct {
MainStartype *GameMainStartype MainStartype *GameMainStartype
Battletasktesting *GameBattletasktesting Battletasktesting *GameBattletasktesting
BattleReady *GameBattleReady BattleReady *GameBattleReady
NewSmithy *GameNewSmithy
SmithyProficiency *GameSmithyProficiency
SmithyStoveV1 *GameSmithyStoveV1
SmithyTool *GameSmithyTool
pandsmasexp *Gamepandsmasexp
SmithyCustomer *GameSmithyCustomer
} }
func NewTables(loader JsonLoader) (*Tables, error) { func NewTables(loader JsonLoader) (*Tables, error) {
@ -1054,5 +1060,41 @@ func NewTables(loader JsonLoader) (*Tables, error) {
if tables.BattleReady, err = NewGameBattleReady(buf) ; err != nil { if tables.BattleReady, err = NewGameBattleReady(buf) ; err != nil {
return nil, err return nil, err
} }
if buf, err = loader("game_newsmithy") ; err != nil {
return nil, err
}
if tables.NewSmithy, err = NewGameNewSmithy(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_smithyproficiency") ; err != nil {
return nil, err
}
if tables.SmithyProficiency, err = NewGameSmithyProficiency(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_smithystovev1") ; err != nil {
return nil, err
}
if tables.SmithyStoveV1, err = NewGameSmithyStoveV1(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_smithytool") ; err != nil {
return nil, err
}
if tables.SmithyTool, err = NewGameSmithyTool(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_pandsmasexp") ; err != nil {
return nil, err
}
if tables.pandsmasexp, err = NewGamepandsmasexp(buf) ; err != nil {
return nil, err
}
if buf, err = loader("game_smithycustomer") ; err != nil {
return nil, err
}
if tables.SmithyCustomer, err = NewGameSmithyCustomer(buf) ; err != nil {
return nil, err
}
return tables, nil return tables, nil
} }