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
616 B
Go
Raw 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 (
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
2018-02-05 12:37:46 +04:00
"github.com/go-telegram-bot-api/telegram-bot-api"
)
// 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
}