mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-11 08:38:45 +00:00
update
This commit is contained in:
42
luban_examples/Projects/Go_bin/gen/test.TestString.go
Normal file
42
luban_examples/Projects/Go_bin/gen/test.TestString.go
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <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 TestTestString struct {
|
||||
Id string
|
||||
S1 string
|
||||
S2 string
|
||||
Cs1 *TestCompactString
|
||||
Cs2 *TestCompactString
|
||||
}
|
||||
|
||||
const TypeId_TestTestString = 338485823
|
||||
|
||||
func (*TestTestString) GetTypeId() int32 {
|
||||
return 338485823
|
||||
}
|
||||
|
||||
func NewTestTestString(_buf *luban.ByteBuf) (_v *TestTestString, err error) {
|
||||
_v = &TestTestString{}
|
||||
{ if _v.Id, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
||||
{ if _v.S1, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
||||
{ if _v.S2, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
||||
{ if _v.Cs1, err = NewTestCompactString(_buf); err != nil { err = errors.New("error"); return } }
|
||||
{ if _v.Cs2, err = NewTestCompactString(_buf); err != nil { err = errors.New("error"); return } }
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user