refactor(fight): 重构战斗相关代码
- 移除未使用的战斗模式枚举和相关代码 - 更新 BurnEffect 结构,增加生命周期管理 - 删除多余的 Skill 结构和 Effect 相关代码 - 调整 NoteReadyToFightInfo 结构的位置
This commit is contained in:
10
logic/service/fight/info/BattleInputSourceEntity.go
Normal file
10
logic/service/fight/info/BattleInputSourceEntity.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package info
|
||||
|
||||
type FightUserInfo struct {
|
||||
// 用户ID(野怪为0),对应Java的@UInt long
|
||||
UserID uint32 `fieldDesc:"userID 如果为野怪则为0" `
|
||||
|
||||
// 玩家名称(野怪为UTF-8的'-',固定16字节)
|
||||
// 使用[16]byte存储固定长度的字节数组
|
||||
Nickname [16]byte ` `
|
||||
}
|
||||
Reference in New Issue
Block a user