go_dreamfactory/modules/robot/modulerobot_gm.go
2023-09-06 16:44:07 +08:00

35 lines
612 B
Go

package robot
import (
cfg "go_dreamfactory/sys/configure/structs"
"google.golang.org/protobuf/proto"
)
//用户模块 机器人
type ModuleRobot_GM struct {
}
func (this *ModuleRobot_GM) Init() (err error) {
return
}
//接收到消息
func (this *ModuleRobot_GM) Receive(robot IRobot, stype string, message proto.Message) (err error) {
return
}
//机器人执行流
func (this *ModuleRobot_GM) DoPipeline(robot IRobot) (err error) {
return
}
//做任务
func (this *ModuleRobot_GM) DoTask(robot IRobot, taskconf *cfg.GameWorldTaskData, condconf *cfg.GameBuriedCondiData) (err error) {
return
}