mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-06-26 19:34:47 +00:00
39 lines
1.0 KiB
Go
39 lines
1.0 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 AiGetOwnerPlayer struct {
|
|
Id int32
|
|
NodeName string
|
|
PlayerActorKey string
|
|
}
|
|
|
|
const TypeId_AiGetOwnerPlayer = -999247644
|
|
|
|
func (*AiGetOwnerPlayer) GetTypeId() int32 {
|
|
return -999247644
|
|
}
|
|
|
|
func NewAiGetOwnerPlayer(_buf *luban.ByteBuf) (_v *AiGetOwnerPlayer, err error) {
|
|
_v = &AiGetOwnerPlayer{}
|
|
{ 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.PlayerActorKey, err = _buf.ReadString(); err != nil { err = errors.New("error"); return } }
|
|
return
|
|
}
|
|
|