25 lines
674 B
Go
25 lines
674 B
Go
package common
|
|
|
|
import (
|
|
"blazing/logic/service/fight/info"
|
|
"blazing/modules/player/model"
|
|
)
|
|
|
|
type FightI interface {
|
|
Over(c PlayerI, id model.EnumBattleOverReason) //逃跑
|
|
UseSkill(c PlayerI, id uint32) //使用技能
|
|
GetCurrPET(c PlayerI) *info.BattlePetEntity //当前精灵
|
|
GetOverInfo() model.FightOverInfo
|
|
Ownerid() uint32
|
|
ReadyFight(c PlayerI) //是否准备战斗
|
|
ChangePet(c PlayerI, id uint32)
|
|
Capture(c PlayerI, id uint32)
|
|
|
|
LoadPercent(c PlayerI, percent int32)
|
|
UseItem(c PlayerI, cacthid, itemid uint32)
|
|
Chat(c PlayerI, msg string)
|
|
IsFirst(c PlayerI) bool
|
|
GetOverChan() chan struct{}
|
|
GetAttackValue(bool) *model.AttackValue
|
|
}
|