Files
bl/logic/service/fight/input/itemover.go
xinian 0622f4710b
Some checks failed
ci/woodpecker/push/my-first-workflow Pipeline failed
feat: 添加道具捕捉后的回调机制
2026-03-27 17:06:18 +08:00

13 lines
158 B
Go

package input
var FuncM = make(map[int64]FuncI, 0)
func InitFunc(id int64, t FuncI) {
FuncM[id] = t
}
func GetFunc(id int64) FuncI {
return FuncM[id]
}