配置表解析上传
This commit is contained in:
parent
0f35317220
commit
703039326e
@ -72,7 +72,7 @@ type GameGlobalData struct {
|
|||||||
SmithyMaxplayer int32
|
SmithyMaxplayer int32
|
||||||
SmithyMaxtime int32
|
SmithyMaxtime int32
|
||||||
ChatExpressionSmall []string
|
ChatExpressionSmall []string
|
||||||
KungfuTime int32
|
VikingNum int32
|
||||||
}
|
}
|
||||||
|
|
||||||
const TypeId_GameGlobalData = 477542761
|
const TypeId_GameGlobalData = 477542761
|
||||||
@ -221,7 +221,7 @@ func (_v *GameGlobalData)Deserialize(_buf map[string]interface{}) (err error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
{ 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_) }
|
{ 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_) }
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user