//------------------------------------------------------------------------------
// <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 AiFloatKeyData struct {
    Value float32
}

const TypeId_AiFloatKeyData = -719747885

func (*AiFloatKeyData) GetTypeId() int32 {
    return -719747885
}

func NewAiFloatKeyData(_buf *luban.ByteBuf) (_v *AiFloatKeyData, err error) {
    _v = &AiFloatKeyData{}
    { if _v.Value, err = _buf.ReadFloat(); err != nil { err = errors.New("error"); return } }
    return
}