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