1
This commit is contained in:
parent
a2ed440577
commit
dddecf22f7
@ -1,9 +1,28 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"q5"
|
||||||
|
"f5"
|
||||||
|
)
|
||||||
|
|
||||||
type Game2005 struct {
|
type Game2005 struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *Game2005) Init() {
|
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() {
|
func (this *Game2005) UnInit() {
|
||||||
@ -13,3 +32,11 @@ func (this *Game2005) UnInit() {
|
|||||||
func (this *Game2005) GetGameId() int32 {
|
func (this *Game2005) GetGameId() int32 {
|
||||||
return 2005
|
return 2005
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *Game2005) FetchEventTimerFunc() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *Game2005) DailyMailTimerFunc() {
|
||||||
|
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user