Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
LowLatencyStatistics = GlobalStatistics{Last_updated: time.Date(1990, 1, 1, 1, 1, 1, 1, time.UTC)}
)
Functions ¶
This section is empty.
Types ¶
type GlobalStatistics ¶
type MachineLearningMetrics ¶
type MachineLearningMetrics struct {
ROCAUC float64 `json:"ROC-AUC"`
MeanAccuracy float64 `json:"Mean Accuracy"`
RecallClass0 float64 `json:"Recall Class 0"`
RecallClass1 float64 `json:"Recall Class 1"`
AccuracyClass0 float64 `json:"Accuracy Class 0"`
AccuracyClass1 float64 `json:"Accuracy Class 1"`
}
type MinigameToplist ¶
type MinigameToplist struct {
Minigame string `json:"minigame"`
LastUpdated time.Time `json:"lastUpdated"`
Count int `json:"count"`
Metrics MachineLearningMetrics `json:"Metrics"`
}
type Player ¶
type Player struct {
Username string
SkillGains map[string]float64 // these are daily stats so float is required.
SkillGainsRatio map[string]float64
MinigameGains map[string]float64
Skills map[string]int64 // Skill : Experience directly from Hiscores
SkillLevels map[string]int
SkillRatios map[string]float64 // 32 bits will have enough useful data
Minigames map[string]int
CombatLevel int
TotalLevel int
TotalExperience int64
}
type ProfileStats ¶
type RegisterType ¶
type SimplePlayer ¶
type SimplePlayer struct {
Username string
PID int
CombatLevel int
TotalLevel int
TotalExperience int64
Skills map[string]int // Skill : Experience directly from Hiscores
SkillLevels map[string]int
SkillRatios map[string]float32 // 32 bits will have enough useful data
Minigames map[string]int // Minigame/activity : score directly from Hiscores
}
type Toplist ¶
type Toplist struct {
Id int `json:"id"`
LastUpdated time.Time `json:"lastUpdated"`
Activities []string `json:"Activities"`
LifetimeCount int `json:"lifetimeCount"`
UnbannedCount int `json:"UnbannedCount"`
BannedCount int `json:"BannedCount"`
UnbannedPlayerIds []int `json:"unbannedPlayerIds"`
BannedPlayerIds []int `json:"bannedPlayerIds"`
}
Click to show internal directories.
Click to hide internal directories.