示例#1
0
func (bouncer *bouncer) Disable() {
	events.RemoveHandler("RecvFromClient", "bouncer")
	events.RemoveHandler("RecvFromServer", "bouncer")
}
示例#2
0
文件: ping.go 项目: stefanha/bouncin
func (ping *ping) Disable() {
	events.RemoveHandler("RecvFromClient", "ping")
	events.RemoveHandler("RecvFromServer", "ping")
}