JisolGame/luban_examples/Projects/Go_bin/gen/test.CompositeJsonTable3.go

37 lines
932 B
Go
Raw 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 TestCompositeJsonTable3 struct {
A int32
B int32
}
const TypeId_TestCompositeJsonTable3 = 1566207896
func (*TestCompositeJsonTable3) GetTypeId() int32 {
return 1566207896
}
func NewTestCompositeJsonTable3(_buf *luban.ByteBuf) (_v *TestCompositeJsonTable3, err error) {
_v = &TestCompositeJsonTable3{}
{ if _v.A, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
{ if _v.B, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
return
}