Files
bl/logic/service/player/ai.go
昔念 24c413030f
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
实装大乱斗经验
2026-02-14 04:27:57 +08:00

45 lines
684 B
Go

package player
import (
"blazing/logic/service/fight/info"
"blazing/modules/player/model"
)
type AI_player struct {
baseplayer
petinfo []model.PetInfo //精灵信息
CanCapture int
Prop [6]int8
}
func (p *AI_player) Getfightinfo() info.Fightinfo {
return info.Fightinfo{}
}
func (f *AI_player) SendPack(b []byte) error {
return nil
}
func (f *AI_player) MessWin(b bool) {
}
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 (p *AI_player) CanFight() bool {
return true
}