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