挑战卷消耗配置
This commit is contained in:
parent
c917a96ced
commit
fc0414d665
@ -172,13 +172,13 @@
|
|||||||
"n": 1
|
"n": 1
|
||||||
},
|
},
|
||||||
"hunting_reset": 1,
|
"hunting_reset": 1,
|
||||||
"hunting_cap": [
|
"enchantboss_initial": 10,
|
||||||
25001,
|
"enchantboss_max": 10,
|
||||||
25004,
|
"enchantboss_cos": {
|
||||||
34006,
|
"a": "item",
|
||||||
35001,
|
"t": "100005",
|
||||||
35002
|
"n": 1
|
||||||
],
|
},
|
||||||
"game_time": [
|
"game_time": [
|
||||||
1,
|
1,
|
||||||
24
|
24
|
||||||
@ -325,6 +325,8 @@
|
|||||||
"CGPloatTxt": [
|
"CGPloatTxt": [
|
||||||
"First_plot1",
|
"First_plot1",
|
||||||
"First_plot2"
|
"First_plot2"
|
||||||
]
|
],
|
||||||
|
"VIP_DaysSent": 7,
|
||||||
|
"MonthlyCard_DaysSent": 30
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -87,7 +87,9 @@ type GameGlobalData struct {
|
|||||||
HuntingRecovery int32
|
HuntingRecovery int32
|
||||||
HuntingCos *Gameatn
|
HuntingCos *Gameatn
|
||||||
HuntingReset int32
|
HuntingReset int32
|
||||||
HuntingCap []int32
|
EnchantbossInitial int32
|
||||||
|
EnchantbossMax int32
|
||||||
|
EnchantbossCos *Gameatn
|
||||||
GameTime []int32
|
GameTime []int32
|
||||||
SellingTipsStrengthen int32
|
SellingTipsStrengthen int32
|
||||||
SellingTipsStar int32
|
SellingTipsStar int32
|
||||||
@ -142,6 +144,8 @@ type GameGlobalData struct {
|
|||||||
DrawCardSupplement1 int32
|
DrawCardSupplement1 int32
|
||||||
DrawCardSupplement10 int32
|
DrawCardSupplement10 int32
|
||||||
CGPloatTxt []string
|
CGPloatTxt []string
|
||||||
|
VIPDaysSent int32
|
||||||
|
MonthlyCardDaysSent int32
|
||||||
}
|
}
|
||||||
|
|
||||||
const TypeId_GameGlobalData = 477542761
|
const TypeId_GameGlobalData = 477542761
|
||||||
@ -292,20 +296,9 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
|
|||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hunting_recovery"].(float64); !_ok_ { err = errors.New("hunting_recovery error"); return }; _v.HuntingRecovery = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hunting_recovery"].(float64); !_ok_ { err = errors.New("hunting_recovery error"); return }; _v.HuntingRecovery = int32(_tempNum_) }
|
||||||
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["hunting_cos"].(map[string]interface{}); !_ok_ { err = errors.New("hunting_cos error"); return }; if _v.HuntingCos, err = DeserializeGameatn(_x_); err != nil { return } }
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["hunting_cos"].(map[string]interface{}); !_ok_ { err = errors.New("hunting_cos error"); return }; if _v.HuntingCos, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hunting_reset"].(float64); !_ok_ { err = errors.New("hunting_reset error"); return }; _v.HuntingReset = int32(_tempNum_) }
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["hunting_reset"].(float64); !_ok_ { err = errors.New("hunting_reset error"); return }; _v.HuntingReset = int32(_tempNum_) }
|
||||||
{
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["enchantboss_initial"].(float64); !_ok_ { err = errors.New("enchantboss_initial error"); return }; _v.EnchantbossInitial = int32(_tempNum_) }
|
||||||
var _arr_ []interface{}
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["enchantboss_max"].(float64); !_ok_ { err = errors.New("enchantboss_max error"); return }; _v.EnchantbossMax = int32(_tempNum_) }
|
||||||
var _ok_ bool
|
{ var _ok_ bool; var _x_ map[string]interface{}; if _x_, _ok_ = _buf["enchantboss_cos"].(map[string]interface{}); !_ok_ { err = errors.New("enchantboss_cos error"); return }; if _v.EnchantbossCos, err = DeserializeGameatn(_x_); err != nil { return } }
|
||||||
if _arr_, _ok_ = _buf["hunting_cap"].([]interface{}); !_ok_ { err = errors.New("hunting_cap error"); return }
|
|
||||||
|
|
||||||
_v.HuntingCap = 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.HuntingCap = append(_v.HuntingCap, _list_v_)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
{
|
||||||
var _arr_ []interface{}
|
var _arr_ []interface{}
|
||||||
var _ok_ bool
|
var _ok_ bool
|
||||||
@ -594,6 +587,8 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["VIP_DaysSent"].(float64); !_ok_ { err = errors.New("VIP_DaysSent error"); return }; _v.VIPDaysSent = int32(_tempNum_) }
|
||||||
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["MonthlyCard_DaysSent"].(float64); !_ok_ { err = errors.New("MonthlyCard_DaysSent error"); return }; _v.MonthlyCardDaysSent = int32(_tempNum_) }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user