refactor(fight): 重构战斗模式与状态枚举,新增加载进度功能并优化战斗初始化逻辑

This commit is contained in:
1
2025-09-25 14:51:11 +00:00
parent 1f73310bf0
commit 3f37ce63de
13 changed files with 84 additions and 41 deletions

View File

@@ -14,4 +14,5 @@ type FightI interface {
ChangePet(c PlayerI, id uint32)
Capture(c PlayerI, id uint32)
GetRand() *rand.Rand
LoadPercent(c PlayerI, percent int32)
}

View File

@@ -15,5 +15,6 @@ type PlayerI interface {
GetInfo() *model.PlayerInfo
SendAttackValue(info.AttackValueS)
SendChangePet(info.ChangePetInfo)
SendLoadPercent(info.LoadPercentOutboundInfo)
SetFightC(FightI)
}