All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat(xmlres): 使用rawFlexibleString替换字符串类型以支持灵活解析 - 将EffectArg结构体中的SideEffectArg字段类型从string改为rawFlexibleString - 将Move结构体中的Name字段类型从string改为rawFlexibleString,并更新反序列化逻辑 - 统一配置文件解析方式,移除磁盘回退机制并简化readConfigContent函数 - 移除不再使用的导入包和变量 fix(fight): 修复战斗系统中的空技能和无效数据问题 - 在
14 lines
335 B
Go
14 lines
335 B
Go
package xmlres
|
|
|
|
type EffectArg struct {
|
|
SideEffects struct {
|
|
SideEffect []struct {
|
|
ID int `json:"ID"`
|
|
SideEffectArgcount int `json:"SideEffectArgcount"`
|
|
SideEffectArg rawFlexibleString `json:"SideEffectArg,omitempty"`
|
|
} `json:"SideEffect"`
|
|
} `json:"SideEffects"`
|
|
}
|
|
|
|
var EffectArgs map[int]int
|