definitions

package
v0.0.0-...-8951fd8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FrontendWindow fyne.Window
View Source
var Icon []byte

Functions

This section is empty.

Types

type ELOHistoryStruct

type ELOHistoryStruct struct {
	Time int64   `json:"time"`
	ELO  float64 `json:"elo"`
}

type EndOfSeasonStatsStruct

type EndOfSeasonStatsStruct struct {
	Season    int     `json:"season"`
	Rank      int     `json:"rank"`
	ELO       float64 `json:"elo"`
	TeamKills int     `json:"teamKills"`
	History   string  `json:"history"`
}

type LookupDataStruct

type LookupDataStruct struct {
	UID      string `json:"id"`
	PID      string `json:"pid"`
	Category string `json:"category"`
}

type LookupResultsTypeStruct

type LookupResultsTypeStruct struct {
	PID         string `json:"pid"`
	MessageType string `json:"type"`
	OrgType     string `json:"orgType"`
}

type LookupStruct

type LookupStruct struct {
	MessageType string           `json:"type"`
	Data        LookupDataStruct `json:"data"`
}

type PayloadTypeStruct

type PayloadTypeStruct struct {
	MessageType string `json:"type"`
}

type PongStruct

type PongStruct struct {
	PID         uuid.UUID `json:"pid"`
	MessageType string    `json:"type"`
}

type SpawnTypeStruct

type SpawnTypeStruct struct {
	EF24G   int `json:"0"`
	T55     int `json:"1"`
	Invalid int `json:"2"`
	AH94    int `json:"3"`
	F45A    int `json:"4"`
	FA26B   int `json:"5"`
	AV42C   int `json:"6"`
}

type UserLookupResultDataStruct

type UserLookupResultDataStruct struct {
	ID                      string   `json:"_id"`
	UID                     string   `json:"id"`
	PilotNames              []string `json:"pilotNames"`
	LoginTimes              []int64  `json:"loginTimes"`
	LogoutTimes             []int64  `json:"logoutTimes"`
	Kills                   int
	Deaths                  int
	Spawns                  SpawnTypeStruct          `json:"spawns"`
	ELO                     float64                  `json:"elo"`
	ELOHistory              []ELOHistoryStruct       `json:"eloHistory"`
	Rank                    int                      `json:"rank"`
	History                 []string                 `json:"history"`
	DiscordID               string                   `json:"discordId"`
	IsBanned                bool                     `json:"isBanned"`
	TeamKills               int                      `json:"teamKills"`
	IgnoreKillsAgainstUsers []string                 `json:"ignoreKillsAgainstUsers"`
	EndOfSeasonStats        []EndOfSeasonStatsStruct `json:"endOfSeasonStats"`
	ELOFreeze               bool                     `json:"eloFreeze"`
}

type UserLookupResultStruct

type UserLookupResultStruct struct {
	PID         string                     `json:"pid"`
	MessageType string                     `json:"type"`
	OrgType     string                     `json:"orgType"`
	Result      UserLookupResultDataStruct `json:"result"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL