mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
41 lines
1.1 KiB
Go
41 lines
1.1 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 AiUeTimeLimit struct {
|
||
|
Id int32
|
||
|
NodeName string
|
||
|
FlowAbortMode int32
|
||
|
LimitTime float32
|
||
|
}
|
||
|
|
||
|
const TypeId_AiUeTimeLimit = 338469720
|
||
|
|
||
|
func (*AiUeTimeLimit) GetTypeId() int32 {
|
||
|
return 338469720
|
||
|
}
|
||
|
|
||
|
func NewAiUeTimeLimit(_buf *luban.ByteBuf) (_v *AiUeTimeLimit, err error) {
|
||
|
_v = &AiUeTimeLimit{}
|
||
|
{ if _v.Id, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
||
|
{ if _v.NodeName, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
||
|
{ if _v.FlowAbortMode, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } }
|
||
|
{ if _v.LimitTime, err = _buf.ReadFloat(); err != nil { err = errors.New("error"); return } }
|
||
|
return
|
||
|
}
|
||
|
|