JisolGame/luban_examples/Projects/Go_bin/gen/test.CompositeJsonTable1.go
DESKTOP-5RP3AKU\Jisol 0014eff5e0 update
2023-11-05 03:26:09 +08:00

37 lines
938 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 TestCompositeJsonTable1 struct {
Id int32
X string
}
const TypeId_TestCompositeJsonTable1 = 1566207894
func (*TestCompositeJsonTable1) GetTypeId() int32 {
return 1566207894
}
func NewTestCompositeJsonTable1(_buf *luban.ByteBuf) (_v *TestCompositeJsonTable1, err error) {
_v = &TestCompositeJsonTable1{}
{ if _v.Id, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
{ if _v.X, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
return
}