mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
33 lines
1013 B
Go
33 lines
1013 B
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 TestTestBeRef struct {
|
|
Id int32
|
|
Count int32
|
|
}
|
|
|
|
const TypeId_TestTestBeRef = 1934403938
|
|
|
|
func (*TestTestBeRef) GetTypeId() int32 {
|
|
return 1934403938
|
|
}
|
|
|
|
func NewTestTestBeRef(_buf map[string]interface{}) (_v *TestTestBeRef, err error) {
|
|
_v = &TestTestBeRef{}
|
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["id"].(float64); !_ok_ { err = errors.New("id error"); return }; _v.Id = int32(_tempNum_) }
|
|
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["count"].(float64); !_ok_ { err = errors.New("count error"); return }; _v.Count = int32(_tempNum_) }
|
|
return
|
|
}
|
|
|