mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
33 lines
1.0 KiB
Go
33 lines
1.0 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 TestCompositeJsonTable3 struct {
|
|
A int32
|
|
B int32
|
|
}
|
|
|
|
const TypeId_TestCompositeJsonTable3 = 1566207896
|
|
|
|
func (*TestCompositeJsonTable3) GetTypeId() int32 {
|
|
return 1566207896
|
|
}
|
|
|
|
func NewTestCompositeJsonTable3(_buf map[string]interface{}) (_v *TestCompositeJsonTable3, err error) {
|
|
_v = &TestCompositeJsonTable3{}
|
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["a"].(float64); !_ok_ { err = errors.New("a error"); return }; _v.A = int32(_tempNum_) }
|
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["b"].(float64); !_ok_ { err = errors.New("b error"); return }; _v.B = int32(_tempNum_) }
|
|
return
|
|
}
|
|
|