//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ package cfg; import ( "demo/luban" ) import "errors" type TestTest3 struct { X int32 Y int32 } const TypeId_TestTest3 = 638540133 func (*TestTest3) GetTypeId() int32 { return 638540133 } func NewTestTest3(_buf *luban.ByteBuf) (_v *TestTest3, err error) { _v = &TestTest3{} { if _v.X, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } } { if _v.Y, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } } return }