//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ package cfg; import ( "demo/luban" ) import "errors" type AiIntKeyData struct { Value int32 } const TypeId_AiIntKeyData = -342751904 func (*AiIntKeyData) GetTypeId() int32 { return -342751904 } func NewAiIntKeyData(_buf *luban.ByteBuf) (_v *AiIntKeyData, err error) { _v = &AiIntKeyData{} { if _v.Value, err = _buf.ReadInt(); err != nil { err = errors.New("error"); return } } return }