Files
bl/logic/service/player/ai.go

48 lines
769 B
Go
Raw Normal View History

package player
import (
"blazing/logic/service/common"
"blazing/logic/service/fight/info"
"blazing/modules/blazing/model"
)
type AI_player struct {
baseplayer
petinfo []model.PetInfo //精灵信息
CanCapture int
Prop [6]int8
}
2025-11-18 22:16:55 +00:00
func (p *AI_player) Getfightinfo() info.Fightinfo {
return info.Fightinfo{}
2025-11-16 20:30:17 +00:00
}
func (f *AI_player) SendPack(b []byte) error {
return nil
}
2025-11-18 20:52:04 +00:00
func (f *AI_player) SendPackCmd(_ uint32, _ any) {
//fmt.Println("战斗结束")
}
func (p *AI_player) GetPetInfo() []model.PetInfo {
return p.petinfo
}
func (lw *AI_player) SendLoadPercent(info.LoadPercentOutboundInfo) {
}
func (f *AI_player) InvitePlayer(ff common.PlayerI) {
}
func (p *AI_player) QuitFight() {
}
func (p *AI_player) CanFight() bool {
return true
}