Archived
1
This repository has been archived on 2022-11-04. You can view files and clone it, but cannot push or open issues or pull requests.
i2_bot/lib/statistics/statisticsinterface/statisticinterface.go

24 lines
611 B
Go
Raw Permalink Normal View History

// i2_bot Instinct PokememBro Bot
// Copyright (c) 2017 Vladimir "fat0troll" Hodakov
package statisticsinterface
2018-02-05 12:37:46 +04:00
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
2018-05-19 12:14:25 +04:00
"github.com/fat0troll/i2_bot/lib/dbmapping"
2018-02-05 12:37:46 +04:00
)
// StatisticsInterface implements Statistics for importing via appcontext.
type StatisticsInterface interface {
Init()
2017-11-24 00:16:22 +04:00
SquadStatictics(squadID int) string
GetPoints(pointsStr string) int
GetPrintablePoints(points int) string
PossibilityRequiredPokeballs(location int, grade int, lvl int) (float64, int)
2018-02-05 12:37:46 +04:00
TopList(update *tgbotapi.Update, playerRaw *dbmapping.Player) string
}