refactor(fight): 重构战斗模块
- 移除未使用的结构体和接口 - 优化战斗准备和邀请逻辑 - 调整玩家和怪物信息的处理方式 - 更新战斗相关的数据结构 - 重构战斗模式和邀请相关代码
This commit is contained in:
@@ -7,9 +7,9 @@ import (
|
||||
const Input_ctx = "player"
|
||||
|
||||
type BattleInputSourceEntity struct {
|
||||
FightUserInfo //用户信息
|
||||
FightUserInfo //用户信息
|
||||
PetEntities []*BattlePetEntity //宠物信息
|
||||
ctx context.Context //输入源的上下文
|
||||
ctx context.Context //输入源的上下文
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user