DESKTOP-5RP3AKU\Jisol 0014eff5e0 update
2023-11-05 03:26:09 +08:00

37 lines
1.3 KiB
Go

//------------------------------------------------------------------------------
// <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 TestInnerGroup struct {
Y1 int32
Y2 int32
Y3 int32
Y4 int32
}
const TypeId_TestInnerGroup = -587873083
func (*TestInnerGroup) GetTypeId() int32 {
return -587873083
}
func NewTestInnerGroup(_buf map[string]interface{}) (_v *TestInnerGroup, err error) {
_v = &TestInnerGroup{}
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["y1"].(float64); !_ok_ { err = errors.New("y1 error"); return }; _v.Y1 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["y2"].(float64); !_ok_ { err = errors.New("y2 error"); return }; _v.Y2 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["y3"].(float64); !_ok_ { err = errors.New("y3 error"); return }; _v.Y3 = int32(_tempNum_) }
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["y4"].(float64); !_ok_ { err = errors.New("y4 error"); return }; _v.Y4 = int32(_tempNum_) }
return
}