mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-11 08:38:45 +00:00
update
This commit is contained in:
36
luban_examples/Projects/Go_bin/gen/test.Test3.go
Normal file
36
luban_examples/Projects/Go_bin/gen/test.Test3.go
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TestTest3 struct {
|
||||
X int32
|
||||
Y int32
|
||||
}
|
||||
|
||||
const TypeId_TestTest3 = 638540133
|
||||
|
||||
func (*TestTest3) GetTypeId() int32 {
|
||||
return 638540133
|
||||
}
|
||||
|
||||
func NewTestTest3(_buf *luban.ByteBuf) (_v *TestTest3, err error) {
|
||||
_v = &TestTest3{}
|
||||
{ if _v.X, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
||||
{ if _v.Y, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user