37 lines
914 B
Go
Raw Normal View History

2023-11-05 03:26:09 +08:00
//------------------------------------------------------------------------------
// <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 TestTestGlobal struct {
UnlockEquip int32
UnlockHero int32
}
const TypeId_TestTestGlobal = -12548655
func (*TestTestGlobal) GetTypeId() int32 {
return -12548655
}
func NewTestTestGlobal(_buf *luban.ByteBuf) (_v *TestTestGlobal, err error) {
_v = &TestTestGlobal{}
{ if _v.UnlockEquip, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
{ if _v.UnlockHero, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
return
}