mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
39 lines
944 B
Go
39 lines
944 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 (
|
|
"demo/luban"
|
|
)
|
|
|
|
import "errors"
|
|
|
|
type TestFoo struct {
|
|
Y1 int32
|
|
Y2 int32
|
|
Y3 int32
|
|
}
|
|
|
|
const TypeId_TestFoo = -1147950774
|
|
|
|
func (*TestFoo) GetTypeId() int32 {
|
|
return -1147950774
|
|
}
|
|
|
|
func NewTestFoo(_buf *luban.ByteBuf) (_v *TestFoo, err error) {
|
|
_v = &TestFoo{}
|
|
{ if _v.Y1, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
|
{ if _v.Y2, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
|
{ if _v.Y3, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
|
return
|
|
}
|
|
|