Documentation
¶
Index ¶
Constants ¶
View Source
const ( SvPresenceChangeEvent = "sv.PresenceChange" SvConfigChangeEvent = "sv.ConfigChange" SvErrorChangeEvent = "sv.ErrorChange" SvServerInfoChange = "sv.ServerInfoChange" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppState ¶
type Presence ¶
type Presence struct { InGame bool `json:"inGame"` Error string `json:"error"` UserID steam.ID `json:"userID"` AvatarURI string `json:"avatarURL"` Username string `json:"username"` Clan string `json:"clan"` Name string `json:"name"` GameID steam.ID `json:"gameID"` GameIconURI string `json:"gameIconURI"` GameHeroURI string `json:"gameHeroURI"` GameDir string `json:"gameDir"` Humans data.SliceSet[steam.Profile] `json:"humans"` Bots data.SliceSet[steam.Profile] `json:"bots"` Server string `json:"server"` Ts time.Time `json:"ts"` }
Click to show internal directories.
Click to hide internal directories.