refactor(fight): 重构战斗模块

- 移除未使用的结构体和接口
- 优化战斗准备和邀请逻辑
- 调整玩家和怪物信息的处理方式
- 更新战斗相关的数据结构
- 重构战斗模式和邀请相关代码
This commit is contained in:
2025-09-02 00:45:29 +08:00
parent 0dbb7d9a8d
commit 39893e4df9
16 changed files with 408 additions and 325 deletions

View File

@@ -7,9 +7,9 @@ import (
const Input_ctx = "player"
type BattleInputSourceEntity struct {
FightUserInfo //用户信息
FightUserInfo //用户信息
PetEntities []*BattlePetEntity //宠物信息
ctx context.Context //输入源的上下文
ctx context.Context //输入源的上下文
}