structs

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetScriptByName

func GetScriptByName(userInput string) string

Convert user input into a valid script mode (or return empty if not found)

Types

type TMAvatar

type TMAvatar struct {
	FileName string `json:"FileName" xmlrpc:"FileName"`
	Checksum string `json:"Checksum" xmlrpc:"Checksum"`
}

type TMBanListEntry

type TMBanListEntry struct {
	Login      string `json:"Login" xmlrpc:"Login"`
	ClientName string `json:"ClientName" xmlrpc:"ClientName"`
	IPAddress  string `json:"IPAddress" xmlrpc:"IPAddress"`
}

type TMBlackListEntry

type TMBlackListEntry struct {
	Login string `json:"Login" xmlrpc:"Login"`
}

type TMCurrentCallVote

type TMCurrentCallVote struct {
	CallerLogin string `json:"CallerLogin" xmlrpc:"CallerLogin"`
	CmdName     string `json:"CmdName" xmlrpc:"CmdName"`
	CmdParam    string `json:"CmdParam" xmlrpc:"CmdParam"`
}

type TMForceShowAllOpponents

type TMForceShowAllOpponents struct {
	CurrentValue int `json:"CurrentValue" xmlrpc:"CurrentValue"`
	NextValue    int `json:"NextValue" xmlrpc:"NextValue"`
}
type TMForcedClubLinks struct {
	ClubLink1 string `json:"ClubLink1" xmlrpc:"ClubLink1"`
	ClubLink2 string `json:"ClubLink2" xmlrpc:"ClubLink2"`
}

type TMGuestListEntry

type TMGuestListEntry struct {
	Login string `json:"Login" xmlrpc:"Login"`
}

type TMLadderStats

type TMLadderStats struct {
	LastMatchScore float32         `json:"LastMatchScore" xmlrpc:"LastMatchScore"`
	NbrMatchWins   int             `json:"NbrMatchWins" xmlrpc:"NbrMatchWins"`
	NbrMatchDraws  int             `json:"NbrMatchDraws" xmlrpc:"NbrMatchDraws"`
	NbrMatchLosses int             `json:"NbrMatchLosses" xmlrpc:"NbrMatchLosses"`
	TeamName       string          `json:"TeamName" xmlrpc:"TeamName"`
	PlayerRankings []TMZoneRanking `json:"PlayerRankings" xmlrpc:"PlayerRankings"`
	TeamRankings   []any           `json:"TeamRankings" xmlrpc:"TeamRankings"`
}

type TMMapInfo

type TMMapInfo struct {
	Name           string `json:"Name" xmlrpc:"Name"`
	UId            string `json:"UId" xmlrpc:"UId"`
	FileName       string `json:"FileName" xmlrpc:"FileName"`
	Author         string `json:"Author" xmlrpc:"Author"`
	AuthorNickname string `json:"AuthorNickname" xmlrpc:"AuthorNickname"`
	Environnement  string `json:"Environnement" xmlrpc:"Environnement"`
	Mood           string `json:"Mood" xmlrpc:"Mood"`
	BronzeTime     int    `json:"BronzeTime" xmlrpc:"BronzeTime"`
	SilverTime     int    `json:"SilverTime" xmlrpc:"SilverTime"`
	GoldTime       int    `json:"GoldTime" xmlrpc:"GoldTime"`
	AuthorTime     int    `json:"AuthorTime" xmlrpc:"AuthorTime"`
	CopperPrice    int    `json:"CopperPrice" xmlrpc:"CopperPrice"`
	LapRace        bool   `json:"LapRace" xmlrpc:"LapRace"`
	NbLaps         int    `json:"NbLaps" xmlrpc:"NbLaps"`
	NbCheckpoints  int    `json:"NbCheckpoints" xmlrpc:"NbCheckpoints"`
	MapType        string `json:"MapType" xmlrpc:"MapType"`
	MapStyle       string `json:"MapStyle" xmlrpc:"MapStyle"`
}

type TMMaxPlayers

type TMMaxPlayers struct {
	CurrentValue int `json:"CurrentValue" xmlrpc:"CurrentValue"`
	NextValue    int `json:"NextValue" xmlrpc:"NextValue"`
}

type TMMaxSpectators

type TMMaxSpectators struct {
	CurrentValue int `json:"CurrentValue" xmlrpc:"CurrentValue"`
	NextValue    int `json:"NextValue" xmlrpc:"NextValue"`
}

type TMMethodSignature

type TMMethodSignature struct {
	ReturnType string   `json:"ReturnType" xmlrpc:"ReturnType"`
	ParamTypes []string `json:"ParamTypes" xmlrpc:"ParamTypes"`
}

type TMModeScriptInfo

type TMModeScriptInfo struct {
	Name               string                 `json:"Name" xmlrpc:"Name"`
	CompatibleMapTypes string                 `json:"CompatibleMapTypes" xmlrpc:"CompatibleMapTypes"`
	Description        string                 `json:"Description" xmlrpc:"Description"`
	Version            string                 `json:"Version" xmlrpc:"Version"`
	ParamDescs         []TMScriptParamDescs   `json:"ParamDescs" xmlrpc:"ParamDescs"`
	CommandDescs       []TMScriptCommandDescs `json:"CommandDescs" xmlrpc:"CommandDescs"`
}

type TMModeScriptSettings

type TMModeScriptSettings map[string]any

type TMNetworkStats

type TMNetworkStats struct {
	Uptime             int               `json:"Uptime" xmlrpc:"Uptime"`
	NbrConnection      int               `json:"NbrConnection" xmlrpc:"NbrConnection"`
	MeanConnectionTime int               `json:"MeanConnectionTime" xmlrpc:"MeanConnectionTime"`
	MeanNbrPlayer      int               `json:"MeanNbrPlayer" xmlrpc:"MeanNbrPlayer"`
	RecvNetRate        int               `json:"RecvNetRate" xmlrpc:"RecvNetRate"`
	SendNetRate        int               `json:"SendNetRate" xmlrpc:"SendNetRate"`
	TotalReceivingSize int               `json:"TotalReceivingSize" xmlrpc:"TotalReceivingSize"`
	TotalSendingSize   int               `json:"TotalSendingSize" xmlrpc:"TotalSendingSize"`
	PlayerNetInfos     []TMPlayerNetInfo `json:"PlayerNetInfos" xmlrpc:"PlayerNetInfos"`
}

Deprecated

type TMPackDesc

type TMPackDesc struct {
	FileName string `json:"FileName" xmlrpc:"FileName"`
	Checksum string `json:"Checksum" xmlrpc:"Checksum"`
}

type TMPlayerDetailedInfo

type TMPlayerDetailedInfo struct {
	Login                     string        `json:"Login" xmlrpc:"Login"`
	NickName                  string        `json:"NickName" xmlrpc:"NickName"`
	PlayerId                  int           `json:"PlayerId" xmlrpc:"PlayerId"`
	TeamId                    int           `json:"TeamId" xmlrpc:"TeamId"`
	Path                      string        `json:"Path" xmlrpc:"Path"`
	Language                  string        `json:"Language" xmlrpc:"Language"`
	ClientVersion             string        `json:"ClientVersion" xmlrpc:"ClientVersion"`
	ClientTitleVersion        string        `json:"ClientTitleVersion" xmlrpc:"ClientTitleVersion"`
	IPAddress                 string        `json:"IPAddress" xmlrpc:"IPAddress"`
	DownloadRate              int           `json:"DownloadRate" xmlrpc:"DownloadRate"`
	UploadRate                int           `json:"UploadRate" xmlrpc:"UploadRate"`
	IsSpectator               bool          `json:"IsSpectator" xmlrpc:"IsSpectator"`
	IsInOfficialMode          bool          `json:"IsInOfficialMode" xmlrpc:"IsInOfficialMode"`
	IsReferee                 bool          `json:"IsReferee" xmlrpc:"IsReferee"`
	Avatar                    TMAvatar      `json:"Avatar" xmlrpc:"Avatar"`
	Skins                     []TMSkin      `json:"Skins" xmlrpc:"Skins"`
	LadderStats               TMLadderStats `json:"LadderStats" xmlrpc:"LadderStats"`
	HoursSinceZoneInscription int           `json:"HoursSinceZoneInscription" xmlrpc:"HoursSinceZoneInscription"`
	BroadcasterLogin          string        `json:"BroadcasterLogin" xmlrpc:"BroadcasterLogin"`
	Allies                    []string      `json:"Allies" xmlrpc:"Allies"`
	ClubLink                  string        `json:"ClubLink" xmlrpc:"ClubLink"`
}

type TMPlayerInfo

type TMPlayerInfo struct {
	Login           string  `json:"Login" xmlrpc:"Login"`
	NickName        string  `json:"NickName" xmlrpc:"NickName"`
	PlayerId        int     `json:"PlayerId" xmlrpc:"PlayerId"`
	TeamId          int     `json:"TeamId" xmlrpc:"TeamId"`
	SpectatorStatus int     `json:"SpectatorStatus" xmlrpc:"SpectatorStatus"`
	LadderRanking   int     `json:"LadderRanking" xmlrpc:"LadderRanking"`
	Flags           int     `json:"Flags" xmlrpc:"Flags"`
	LadderScore     float32 `json:"LadderScore" xmlrpc:"LadderScore"`
}

type TMPlayerNetInfo

type TMPlayerNetInfo struct {
	Login                 string  `json:"Login" xmlrpc:"Login"`
	IPAddress             string  `json:"IPAddress" xmlrpc:"IPAddress"`
	StateUpdateLatency    int     `json:"StateUpdateLatency" xmlrpc:"StateUpdateLatency"`
	StateUpdatePeriod     int     `json:"StateUpdatePeriod" xmlrpc:"StateUpdatePeriod"`
	LatestNetworkActivity int     `json:"LatestNetworkActivity" xmlrpc:"LatestNetworkActivity"`
	PacketLossRate        float32 `json:"PacketLossRate" xmlrpc:"PacketLossRate"`
}

type TMPlayerRanking

type TMPlayerRanking struct {
	Login    string `json:"Login" xmlrpc:"Login"`
	NickName string `json:"NickName" xmlrpc:"NickName"`
	PlayerId int    `json:"PlayerId" xmlrpc:"PlayerId"`
	Rank     int    `json:"Rank" xmlrpc:"Rank"`

	BestTime        int     `json:"BestTime" xmlrpc:"BestTime"`               // Deprecated
	BestCheckpoints []int   `json:"BestCheckpoints" xmlrpc:"BestCheckpoints"` // Deprecated
	Score           int     `json:"Score" xmlrpc:"Score"`                     // Deprecated
	NbrLapsFinished int     `json:"NbrLapsFinished" xmlrpc:"NbrLapsFinished"` // Deprecated
	LadderScore     float32 `json:"LadderScore" xmlrpc:"LadderScore"`         // Deprecated
}

type TMPlayerScore

type TMPlayerScore struct {
	PlayerId int `json:"PlayerId" xmlrpc:"PlayerId"`
	Score    int `json:"Score" xmlrpc:"Score"`
}

type TMSEntryVal

type TMSEntryVal struct {
	Name  string `json:"Name" xmlrpc:"Name"`
	Value string `json:"Value" xmlrpc:"Value"`
}

type TMSMapInfo

type TMSMapInfo struct {
	Uid            string `json:"Uid" xmlrpc:"Uid"`
	Name           string `json:"Name" xmlrpc:"Name"`
	FileName       string `json:"FileName" xmlrpc:"FileName"`
	Author         string `json:"Author" xmlrpc:"Author"`
	AuthorNickname string `json:"AuthorNickname" xmlrpc:"AuthorNickname"`
	Environnement  string `json:"Environnement" xmlrpc:"Environnement"`
	Mood           string `json:"Mood" xmlrpc:"Mood"`
	BronzeTime     int    `json:"BronzeTime" xmlrpc:"BronzeTime"`
	SilverTime     int    `json:"SilverTime" xmlrpc:"SilverTime"`
	GoldTime       int    `json:"GoldTime" xmlrpc:"GoldTime"`
	AuthorTime     int    `json:"AuthorTime" xmlrpc:"AuthorTime"`
	CopperPrice    int    `json:"CopperPrice" xmlrpc:"CopperPrice"`
	LapRace        bool   `json:"LapRace" xmlrpc:"LapRace"`
	NbLaps         int    `json:"NbLaps" xmlrpc:"NbLaps"`
	NbCheckpoints  int    `json:"NbCheckpoints" xmlrpc:"NbCheckpoints"`
	MapType        string `json:"MapType" xmlrpc:"MapType"`
	MapStyle       string `json:"MapStyle" xmlrpc:"MapStyle"`
}

type TMSPlayerInfo

type TMSPlayerInfo struct {
	Login           string `json:"Login" xmlrpc:"Login"`
	NickName        string `json:"NickName" xmlrpc:"NickName"`
	PlayerId        int    `json:"PlayerId" xmlrpc:"PlayerId"`
	TeamId          int    `json:"TeamId" xmlrpc:"TeamId"`
	SpectatorStatus int    `json:"SpectatorStatus" xmlrpc:"SpectatorStatus"`
	LadderRanking   int    `json:"LadderRanking" xmlrpc:"LadderRanking"`
	Flags           int    `json:"Flags" xmlrpc:"Flags"`
}

type TMSPlayerRanking

type TMSPlayerRanking struct {
	Login           string  `json:"Login" xmlrpc:"Login"`
	NickName        string  `json:"NickName" xmlrpc:"NickName"`
	PlayerId        int     `json:"PlayerId" xmlrpc:"PlayerId"`
	Rank            int     `json:"Rank" xmlrpc:"Rank"`
	BestTime        int     `json:"BestTime" xmlrpc:"BestTime"`
	BestCheckpoints []int   `json:"BestCheckpoints" xmlrpc:"BestCheckpoints"`
	Score           int     `json:"Score" xmlrpc:"Score"`
	NbrLapsFinished int     `json:"NbrLapsFinished" xmlrpc:"NbrLapsFinished"`
	LadderScore     float32 `json:"LadderScore" xmlrpc:"LadderScore"`
}

type TMScriptCommandDescs

type TMScriptCommandDescs struct {
	Name    string `json:"Name" xmlrpc:"Name"`
	Desc    string `json:"Desc" xmlrpc:"Desc"`
	Type    string `json:"Type" xmlrpc:"Type"`
	Default string `json:"Default" xmlrpc:"Default"`
}

type TMScriptMode

type TMScriptMode string

TMScriptMode represents a type for TrackMania Script Modes.

const (
	ScriptTimeAttack TMScriptMode = "Trackmania/TM_TimeAttack_Online.Script.txt"
	ScriptLaps       TMScriptMode = "Trackmania/TM_Laps_Online.Script.txt"
	ScriptRounds     TMScriptMode = "Trackmania/TM_Rounds_Online.Script.txt"
	ScriptCup        TMScriptMode = "Trackmania/TM_Cup_Online.Script.txt"
	ScriptTeams      TMScriptMode = "Trackmania/TM_Teams_Online.Script.txt"
	ScriptKnockout   TMScriptMode = "Trackmania/TM_Knockout_Online.Script.txt"
	ScriptChampion   TMScriptMode = "Trackmania/Deprecated/TM_Champion_Online.Script.txt"
	ScriptRoyal      TMScriptMode = "Trackmania/TM_RoyalTimeAttack_Online.Script.txt"
	ScriptStunt      TMScriptMode = "Trackmania/TM_StuntMulti_Online.Script.txt"
	ScriptPlatform   TMScriptMode = "Trackmania/TM_Platform_Online.Script.txt"
	ScriptTMWC       TMScriptMode = "TrackMania/TM_TMWC2023_Online.Script.txt"
	ScriptTMWT       TMScriptMode = "TrackMania/TM_TMWTTeams_Online.Script.txt"
)

Define all possible script modes.

type TMScriptName

type TMScriptName struct {
	CurrentValue string `json:"CurrentValue" xmlrpc:"CurrentValue"`
	NextValue    string `json:"NextValue" xmlrpc:"NextValue"`
}

type TMScriptParamDescs

type TMScriptParamDescs struct {
	Name    string `json:"Name" xmlrpc:"Name"`
	Desc    string `json:"Desc" xmlrpc:"Desc"`
	Type    string `json:"Type" xmlrpc:"Type"`
	Default string `json:"Default" xmlrpc:"Default"`
}

type TMServerOptions

type TMServerOptions struct {
	Name                                       string  `json:"Name,omitempty" xmlrpc:"Name"`
	Comment                                    string  `json:"Comment,omitempty" xmlrpc:"Comment"`
	Password                                   string  `json:"Password,omitempty" xmlrpc:"Password"`
	PasswordForSpectator                       string  `json:"PasswordForSpectator,omitempty" xmlrpc:"PasswordForSpectator"`
	NextCallVoteTimeOut                        int     `json:"NextCallVoteTimeOut,omitempty" xmlrpc:"NextCallVoteTimeOut"`
	CallVoteRatio                              float32 `json:"CallVoteRatio,omitempty" xmlrpc:"CallVoteRatio"`
	HideServer                                 int     `json:"HideServer,omitempty" xmlrpc:"HideServer"`
	CurrentMaxPlayers                          int     `json:"CurrentMaxPlayers,omitempty" xmlrpc:"CurrentMaxPlayers"`
	NextMaxPlayers                             int     `json:"NextMaxPlayers,omitempty" xmlrpc:"NextMaxPlayers"`
	CurrentMaxSpecators                        int     `json:"CurrentMaxSpecators,omitempty" xmlrpc:"CurrentMaxSpecators"`
	NextMaxSpectators                          int     `json:"NextMaxSpectators,omitempty" xmlrpc:"NextMaxSpectators"`
	KeepPlayerSlots                            bool    `json:"KeepPlayerSlots,omitempty" xmlrpc:"KeepPlayerSlots"`
	CurrentCallVoteTimeOut                     int     `json:"CurrentCallVoteTimeOut,omitempty" xmlrpc:"CurrentCallVoteTimeOut"`
	AllowMapDownload                           bool    `json:"AllowMapDownload,omitempty" xmlrpc:"AllowMapDownload"`
	AutoSaveReplays                            bool    `json:"AutoSaveReplays,omitempty" xmlrpc:"AutoSaveReplays"`
	ClientInputsMaxLatency                     int     `json:"ClientInputsMaxLatency,omitempty" xmlrpc:"ClientInputsMaxLatency"`
	DisableHorns                               bool    `json:"DisableHorns,omitempty" xmlrpc:"DisableHorns"`
	DisableServiceAnnounces                    bool    `json:"DisableServiceAnnounces,omitempty" xmlrpc:"DisableServiceAnnounces"`
	PacketAssembly_PacketsPerFrame             int     `json:"PacketAssembly_PacketsPerFrame,omitempty" xmlrpc:"PacketAssembly_PacketsPerFrame"`
	PacketAssembly_FullPacketsPerFrame         int     `json:"PacketAssembly_FullPacketsPerFrame,omitempty" xmlrpc:"PacketAssembly_FullPacketsPerFrame"`
	TrustClientSimu_ClientToServer_SendingRate int     `json:"TrustClientSimu_ClientToServer_SendingRate,omitempty" xmlrpc:"TrustClientSimu_ClientToServer_SendingRate"`
	DelayedVisuals_ServerToClient_SendingRate  int     `json:"DelayedVisuals_ServerToClient_SendingRate,omitempty" xmlrpc:"DelayedVisuals_ServerToClient_SendingRate"`
	DelayedVisuals_RestrictToSpectators        bool    `json:"DelayedVisuals_RestrictToSpectators,omitempty" xmlrpc:"DelayedVisuals_RestrictToSpectators"`
}

type TMServerOptionsRequest

type TMServerOptionsRequest struct {
	Name                 string  `json:"Name,omitempty" xmlrpc:"Name"`
	Comment              string  `json:"Comment,omitempty" xmlrpc:"Comment"`
	Password             string  `json:"Password,omitempty" xmlrpc:"Password"`
	PasswordForSpectator string  `json:"PasswordForSpectator,omitempty" xmlrpc:"PasswordForSpectator"`
	NextCallVoteTimeOut  int     `json:"NextCallVoteTimeOut" xmlrpc:"NextCallVoteTimeOut"`
	CallVoteRatio        float32 `json:"CallVoteRatio" xmlrpc:"CallVoteRatio"`

	HideServer                                 *int  `json:"HideServer,omitempty" xmlrpc:"HideServer"`                                                                 // Optional
	CurrentMaxPlayers                          *int  `json:"CurrentMaxPlayers,omitempty" xmlrpc:"CurrentMaxPlayers"`                                                   // Optional
	NextMaxPlayers                             *int  `json:"NextMaxPlayers,omitempty" xmlrpc:"NextMaxPlayers"`                                                         // Optional
	CurrentMaxSpecators                        *int  `json:"CurrentMaxSpecators,omitempty" xmlrpc:"CurrentMaxSpecators"`                                               // Optional
	NextMaxSpectators                          *int  `json:"NextMaxSpectators,omitempty" xmlrpc:"NextMaxSpectators"`                                                   // Optional
	KeepPlayerSlots                            *bool `json:"KeepPlayerSlots,omitempty" xmlrpc:"KeepPlayerSlots"`                                                       // Optional
	CurrentCallVoteTimeOut                     *int  `json:"CurrentCallVoteTimeOut,omitempty" xmlrpc:"CurrentCallVoteTimeOut"`                                         // Optional
	AllowMapDownload                           *bool `json:"AllowMapDownload,omitempty" xmlrpc:"AllowMapDownload"`                                                     // Optional
	AutoSaveReplays                            *bool `json:"AutoSaveReplays,omitempty" xmlrpc:"AutoSaveReplays"`                                                       // Optional
	ClientInputsMaxLatency                     *int  `json:"ClientInputsMaxLatency,omitempty" xmlrpc:"ClientInputsMaxLatency"`                                         // Optional
	DisableHorns                               *bool `json:"DisableHorns,omitempty" xmlrpc:"DisableHorns"`                                                             // Optional
	DisableServiceAnnounces                    *bool `json:"DisableServiceAnnounces,omitempty" xmlrpc:"DisableServiceAnnounces"`                                       // Optional
	PacketAssembly_PacketsPerFrame             *int  `json:"PacketAssembly_PacketsPerFrame,omitempty" xmlrpc:"PacketAssembly_PacketsPerFrame"`                         // Optional
	PacketAssembly_FullPacketsPerFrame         *int  `json:"PacketAssembly_FullPacketsPerFrame,omitempty" xmlrpc:"PacketAssembly_FullPacketsPerFrame"`                 // Optional
	TrustClientSimu_ClientToServer_SendingRate *int  `json:"TrustClientSimu_ClientToServer_SendingRate,omitempty" xmlrpc:"TrustClientSimu_ClientToServer_SendingRate"` // Optional
	DelayedVisuals_ServerToClient_SendingRate  *int  `json:"DelayedVisuals_ServerToClient_SendingRate,omitempty" xmlrpc:"DelayedVisuals_ServerToClient_SendingRate"`   // Optional
	DelayedVisuals_RestrictToSpectators        *bool `json:"DelayedVisuals_RestrictToSpectators,omitempty" xmlrpc:"DelayedVisuals_RestrictToSpectators"`               // Optional
}

type TMServerTag

type TMServerTag struct {
	Name  string `json:"Name" xmlrpc:"Name"`
	Value string `json:"Value" xmlrpc:"Value"`
}

type TMSkin

type TMSkin struct {
	Environnement string     `json:"Environnement" xmlrpc:"Environnement"`
	PackDesc      TMPackDesc `json:"PackDesc" xmlrpc:"PackDesc"`
}

type TMStatus

type TMStatus struct {
	Code int    `json:"Code"`
	Name string `json:"Name"`
}

type TMSystemInfo

type TMSystemInfo struct {
	PublishedIp            string `json:"PublishedIp"`
	Port                   int    `json:"Port"`
	P2PPort                int    `json:"P2PPort"`
	TitleId                string `json:"TitleId"`
	ServerLogin            string `json:"ServerLogin"`
	ServerPlayerId         int    `json:"ServerPlayerId"`
	ConnectionDownloadRate int    `json:"ConnectionDownloadRate"`
	ConnectionUploadRate   int    `json:"ConnectionUploadRate"`
	IsServer               bool   `json:"IsServer"`
	IsDedicated            bool   `json:"IsDedicated"`
}

type TMTeamInfo

type TMTeamInfo struct {
	Name         string  `json:"Name" xmlrpc:"Name"`
	ZonePath     string  `json:"ZonePath" xmlrpc:"ZonePath"`
	City         string  `json:"City" xmlrpc:"City"`
	EmblemUrl    string  `json:"EmblemUrl" xmlrpc:"EmblemUrl"`
	ClubLinkUrl  string  `json:"ClubLinkUrl" xmlrpc:"ClubLinkUrl"`
	HuePrimary   float32 `json:"HuePrimary" xmlrpc:"HuePrimary"`
	HueSecondary float32 `json:"HueSecondary" xmlrpc:"HueSecondary"`
	RGB          string  `json:"RGB" xmlrpc:"RGB"`
}

type TMVersion

type TMVersion struct {
	Name       string `json:"Name"`
	TitleId    string `json:"TitleId"`
	Version    string `json:"Version"`
	Build      string `json:"Build"`
	ApiVersion string `json:"ApiVersion"`
}

type TMZoneRanking

type TMZoneRanking struct {
	Path       string  `json:"Path" xmlrpc:"Path"`
	Score      float32 `json:"Score" xmlrpc:"Score"`
	Ranking    int     `json:"Ranking" xmlrpc:"Ranking"`
	TotalCount int     `json:"TotalCount" xmlrpc:"TotalCount"`
}

Jump to

Keyboard shortcuts

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