上传洗练配置表上传
This commit is contained in:
parent
cad863345a
commit
5600d6848f
@ -321,6 +321,10 @@
|
||||
6000
|
||||
],
|
||||
"DrawCard_supplement1": 1000001,
|
||||
"DrawCard_supplement10": 1000002
|
||||
"DrawCard_supplement10": 1000002,
|
||||
"CGPloatTxt": [
|
||||
"First_plot1",
|
||||
"First_plot2"
|
||||
]
|
||||
}
|
||||
]
|
@ -141,6 +141,7 @@ type GameGlobalData struct {
|
||||
EquipmentConsumption []int32
|
||||
DrawCardSupplement1 int32
|
||||
DrawCardSupplement10 int32
|
||||
CGPloatTxt []string
|
||||
}
|
||||
|
||||
const TypeId_GameGlobalData = 477542761
|
||||
@ -579,6 +580,20 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["DrawCard_supplement1"].(float64); !_ok_ { err = errors.New("DrawCard_supplement1 error"); return }; _v.DrawCardSupplement1 = int32(_tempNum_) }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["DrawCard_supplement10"].(float64); !_ok_ { err = errors.New("DrawCard_supplement10 error"); return }; _v.DrawCardSupplement10 = int32(_tempNum_) }
|
||||
{
|
||||
var _arr_ []interface{}
|
||||
var _ok_ bool
|
||||
if _arr_, _ok_ = _buf["CGPloatTxt"].([]interface{}); !_ok_ { err = errors.New("CGPloatTxt error"); return }
|
||||
|
||||
_v.CGPloatTxt = make([]string, 0, len(_arr_))
|
||||
|
||||
for _, _e_ := range _arr_ {
|
||||
var _list_v_ string
|
||||
{ if _list_v_, _ok_ = _e_.(string); !_ok_ { err = errors.New("_list_v_ error"); return } }
|
||||
_v.CGPloatTxt = append(_v.CGPloatTxt, _list_v_)
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user