1
This commit is contained in:
parent
6533a253fa
commit
256389acc0
@ -255,4 +255,13 @@ func (this *RiskMgr) __opsInfo(w* http.ResponseWriter, r *http.Request) {
|
|||||||
安装定时器定时更新逻辑
|
安装定时器定时更新逻辑
|
||||||
*/
|
*/
|
||||||
func (this *RiskMgr) OnGameConfCreate(gameId int32, channel int32) {
|
func (this *RiskMgr) OnGameConfCreate(gameId int32, channel int32) {
|
||||||
|
f5.Timer().AddRepeatTimer(1000 * 30,
|
||||||
|
func (params* q5.XParams) {
|
||||||
|
},
|
||||||
|
func (params* q5.XParams) {
|
||||||
|
gameConf := this.GetGameConf(gameId, channel)
|
||||||
|
if gameConf != nil {
|
||||||
|
gameConf.SyncConf()
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user