This commit is contained in:
aozhiwei 2020-11-30 16:50:06 +08:00
parent a2ed440577
commit dddecf22f7

View File

@ -1,9 +1,28 @@
package main
import (
"q5"
"f5"
)
type Game2005 struct {
}
func (this *Game2005) Init() {
f5.Timer().AddRepeatTimer(1000 * 10,
func (params* q5.XParams) {
},
func (params* q5.XParams) {
this.FetchEventTimerFunc()
})
f5.Timer().AddFixedTimer(1000 * 10,
func (params* q5.XParams) {
},
func (params* q5.XParams) {
this.DailyMailTimerFunc()
})
}
func (this *Game2005) UnInit() {
@ -13,3 +32,11 @@ func (this *Game2005) UnInit() {
func (this *Game2005) GetGameId() int32 {
return 2005
}
func (this *Game2005) FetchEventTimerFunc() {
}
func (this *Game2005) DailyMailTimerFunc() {
}