mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 11:24:46 +00:00
41 lines
918 B
Go
41 lines
918 B
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 TestTbTestGlobal struct {
|
|
_data *TestTestGlobal
|
|
}
|
|
|
|
func NewTestTbTestGlobal(_buf *luban.ByteBuf) (*TestTbTestGlobal, error) {
|
|
if size, err := _buf.ReadSize() ; err != nil {
|
|
return nil, err
|
|
} else if size != 1 {
|
|
return nil, errors.New(" size != 1 ")
|
|
} else {
|
|
if _v, err2 := NewTestTestGlobal(_buf); err2 != nil {
|
|
return nil, err2
|
|
} else {
|
|
return &TestTbTestGlobal{_data:_v}, nil
|
|
}
|
|
}
|
|
}
|
|
|
|
func (table *TestTbTestGlobal) Get() *TestTestGlobal {
|
|
return table._data
|
|
}
|
|
|
|
|