mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
39 lines
962 B
Go
39 lines
962 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 TestDemoE1 struct {
|
||
|
X1 int32
|
||
|
X3 int32
|
||
|
X4 int32
|
||
|
}
|
||
|
|
||
|
const TypeId_TestDemoE1 = -2138341717
|
||
|
|
||
|
func (*TestDemoE1) GetTypeId() int32 {
|
||
|
return -2138341717
|
||
|
}
|
||
|
|
||
|
func NewTestDemoE1(_buf *luban.ByteBuf) (_v *TestDemoE1, err error) {
|
||
|
_v = &TestDemoE1{}
|
||
|
{ if _v.X1, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
||
|
{ if _v.X3, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
||
|
{ if _v.X4, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
||
|
return
|
||
|
}
|
||
|
|