diff --git a/server/mailman/game2005.go b/server/mailman/game2005.go index 831b595..a8dc187 100644 --- a/server/mailman/game2005.go +++ b/server/mailman/game2005.go @@ -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() { + +}