//------------------------------------------------------------------------------
// <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 AiExecuteTimeStatistic struct {
    Id int32
    NodeName string
}

const TypeId_AiExecuteTimeStatistic = 990693812

func (*AiExecuteTimeStatistic) GetTypeId() int32 {
    return 990693812
}

func NewAiExecuteTimeStatistic(_buf *luban.ByteBuf) (_v *AiExecuteTimeStatistic, err error) {
    _v = &AiExecuteTimeStatistic{}
    { 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 } }
    return
}