配置文件提交

This commit is contained in:
meixiongfeng 2022-08-19 12:09:40 +08:00
parent 703039326e
commit 50408695ca
3 changed files with 17 additions and 13 deletions

View File

@ -56,52 +56,52 @@
"duplicate_removal": 1, "duplicate_removal": 1,
"base_pool_cost": { "base_pool_cost": {
"a": "item", "a": "item",
"t": "10001", "t": "10018",
"n": 1 "n": 1
}, },
"camp1_pool_cost": { "camp1_pool_cost": {
"a": "item", "a": "item",
"t": "10002", "t": "10017",
"n": 1 "n": 1
}, },
"camp2_pool_cost": { "camp2_pool_cost": {
"a": "item", "a": "item",
"t": "10003", "t": "10017",
"n": 1 "n": 1
}, },
"camp3_pool_cost": { "camp3_pool_cost": {
"a": "item", "a": "item",
"t": "10004", "t": "10017",
"n": 1 "n": 1
}, },
"camp4_pool_cost": { "camp4_pool_cost": {
"a": "item", "a": "item",
"t": "10005", "t": "10017",
"n": 1 "n": 1
}, },
"base_pool_10cost": { "base_pool_10cost": {
"a": "item", "a": "item",
"t": "10001", "t": "10018",
"n": 10 "n": 10
}, },
"camp1_pool_10cost": { "camp1_pool_10cost": {
"a": "item", "a": "item",
"t": "10002", "t": "10017",
"n": 10 "n": 10
}, },
"camp2_pool_10cost": { "camp2_pool_10cost": {
"a": "item", "a": "item",
"t": "10003", "t": "10017",
"n": 10 "n": 10
}, },
"camp3_pool_10cost": { "camp3_pool_10cost": {
"a": "item", "a": "item",
"t": "10004", "t": "10017",
"n": 10 "n": 10
}, },
"camp4_pool_10cost": { "camp4_pool_10cost": {
"a": "item", "a": "item",
"t": "10005", "t": "10017",
"n": 10 "n": 10
}, },
"camp1_pool1": "camp1_pool", "camp1_pool1": "camp1_pool",
@ -134,12 +134,13 @@
"camp_pool_star3": 9000, "camp_pool_star3": 9000,
"camp_pool_star4": 900, "camp_pool_star4": 900,
"camp_pool_star5": 100, "camp_pool_star5": 100,
"gourmet": 500, "gourmet": 3600,
"smithy_maxplayer": 20, "smithy_maxplayer": 20,
"smithy_maxtime": 36000, "smithy_maxtime": 36000,
"chat_expression_small": [ "chat_expression_small": [
"lt_bq_icon001,lt_bq_icon002,lt_bq_icon003,lt_bq_icon004,lt_bq_icon005,lt_bq_icon006,lt_bq_icon007,lt_bq_icon008,lt_bq_icon009,lt_bq_icon010,lt_bq_icon011,lt_bq_icon012" "lt_bq_icon001,lt_bq_icon002,lt_bq_icon003,lt_bq_icon004,lt_bq_icon005,lt_bq_icon006,lt_bq_icon007,lt_bq_icon008,lt_bq_icon009,lt_bq_icon010,lt_bq_icon011,lt_bq_icon012"
], ],
"viking_num": 10,
"kungfu_time": 30 "kungfu_time": 30
} }
] ]

View File

@ -134,12 +134,13 @@
"camp_pool_star3": 9000, "camp_pool_star3": 9000,
"camp_pool_star4": 900, "camp_pool_star4": 900,
"camp_pool_star5": 100, "camp_pool_star5": 100,
"gourmet": 500, "gourmet": 3600,
"smithy_maxplayer": 20, "smithy_maxplayer": 20,
"smithy_maxtime": 36000, "smithy_maxtime": 36000,
"chat_expression_small": [ "chat_expression_small": [
"lt_bq_icon001,lt_bq_icon002,lt_bq_icon003,lt_bq_icon004,lt_bq_icon005,lt_bq_icon006,lt_bq_icon007,lt_bq_icon008,lt_bq_icon009,lt_bq_icon010,lt_bq_icon011,lt_bq_icon012" "lt_bq_icon001,lt_bq_icon002,lt_bq_icon003,lt_bq_icon004,lt_bq_icon005,lt_bq_icon006,lt_bq_icon007,lt_bq_icon008,lt_bq_icon009,lt_bq_icon010,lt_bq_icon011,lt_bq_icon012"
], ],
"viking_num": 10 "viking_num": 10,
"kungfu_time": 30
} }
] ]

View File

@ -73,6 +73,7 @@ type GameGlobalData struct {
SmithyMaxtime int32 SmithyMaxtime int32
ChatExpressionSmall []string ChatExpressionSmall []string
VikingNum int32 VikingNum int32
KungfuTime int32
} }
const TypeId_GameGlobalData = 477542761 const TypeId_GameGlobalData = 477542761
@ -222,6 +223,7 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
} }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["viking_num"].(float64); !_ok_ { err = errors.New("viking_num error"); return }; _v.VikingNum = int32(_tempNum_) } { var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["viking_num"].(float64); !_ok_ { err = errors.New("viking_num error"); return }; _v.VikingNum = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["kungfu_time"].(float64); !_ok_ { err = errors.New("kungfu_time error"); return }; _v.KungfuTime = int32(_tempNum_) }
return return
} }