mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
43 lines
1.2 KiB
Go
43 lines
1.2 KiB
Go
|
|
//------------------------------------------------------------------------------
|
|
// <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
|
|
}
|
|
|