Files
bl/logic/service/fight/input/rule.go
xinian 1969c01f3e
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
feat: 添加战胜规则配置模块
2026-03-21 00:57:18 +08:00

13 lines
158 B
Go

package input
var RuleM = make(map[int64]RuleI, 0)
func InitRule(id int64, t RuleI) {
RuleM[id] = t
}
func GetRule(id int64) RuleI {
return RuleM[id]
}