45 lines
684 B
Go
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
|
|
}
|