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 AiBlackboardKey struct {
|
|
Name string
|
|
Desc string
|
|
IsStatic bool
|
|
Type int32
|
|
TypeClassName string
|
|
}
|
|
|
|
const TypeId_AiBlackboardKey = -511559886
|
|
|
|
func (*AiBlackboardKey) GetTypeId() int32 {
|
|
return -511559886
|
|
}
|
|
|
|
func NewAiBlackboardKey(_buf *luban.ByteBuf) (_v *AiBlackboardKey, err error) {
|
|
_v = &AiBlackboardKey{}
|
|
{ if _v.Name, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
|
{ if _v.Desc, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
|
{ if _v.IsStatic, err = _buf.ReadBool(); err != nil { err = errors.New("error"); err = errors.New("error"); return } }
|
|
{ if _v.Type, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
|
{ if _v.TypeClassName, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
|
return
|
|
}
|
|
|