37 lines
860 B
Go
Raw Permalink Normal View History

2023-11-05 03:26:09 +08:00
//------------------------------------------------------------------------------
// <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 (
"demo/luban"
)
import "errors"
type TestDemoD2 struct {
X1 int32
X2 int32
}
const TypeId_TestDemoD2 = -2138341747
func (*TestDemoD2) GetTypeId() int32 {
return -2138341747
}
func NewTestDemoD2(_buf *luban.ByteBuf) (_v *TestDemoD2, err error) {
_v = &TestDemoD2{}
{ if _v.X1, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
{ if _v.X2, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
return
}