Documentation ¶
Index ¶
- type Chat
- type Global
- type Lobby
- func (Lobby) LobbyBan(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyChangeOwner(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyClose(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyCreate(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyJoin(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyKick(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyLeave(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyRemoveRegionLock(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyRemoveSteamRestriction(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyRemoveTwitchRestriction(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyServerReset(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbySetRequirement(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbySetTeamName(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbyShuffle(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbySpectatorJoin(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) LobbySpectatorLeave(so *wsevent.Client, args struct{ ... }) interface{}
- func (Lobby) Name(s string) string
- func (Lobby) RequestLobbyListData(so *wsevent.Client, _ struct{}) interface{}
- func (Lobby) ServerVerify(so *wsevent.Client, args struct{ ... }) interface{}
- type Mumble
- type Player
- func (Player) Name(s string) string
- func (Player) PlayerDisableTwitchBot(so *wsevent.Client, _ struct{}) interface{}
- func (Player) PlayerEnableTwitchBot(so *wsevent.Client, _ struct{}) interface{}
- func (Player) PlayerNotReady(so *wsevent.Client, _ struct{}) interface{}
- func (Player) PlayerProfile(so *wsevent.Client, args struct{ ... }) interface{}
- func (Player) PlayerReady(so *wsevent.Client, _ struct{}) interface{}
- func (Player) PlayerRecentLobbies(so *wsevent.Client, args struct{ ... }) interface{}
- func (Player) PlayerSettingsGet(so *wsevent.Client, args struct{ ... }) interface{}
- func (Player) PlayerSettingsSet(so *wsevent.Client, args struct{ ... }) interface{}
- type Requirement
- type Restriction
- type Serveme
- type Unauth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Lobby ¶
type Lobby struct{}
func (Lobby) LobbyChangeOwner ¶
func (Lobby) LobbyClose ¶
func (Lobby) LobbyCreate ¶
func (Lobby) LobbyCreate(so *wsevent.Client, args struct { Map *string `json:"map"` Type *string `json:"type" valid:"debug,6s,highlander,4v4,ultiduo,bball"` League *string `json:"league" valid:"ugc,etf2l,esea,asiafortress,ozfortress,bballtf"` ServerType *string `json:"serverType" valid:"server,storedServer,serveme"` Serveme *servemeServer `json:"serveme" empty:"-"` Server *string `json:"server" empty:"-"` RconPwd *string `json:"rconpwd" empty:"-"` WhitelistID *string `json:"whitelistID"` Mumble *bool `json:"mumbleRequired"` Password *string `json:"password" empty:"-"` SteamGroupWhitelist *string `json:"steamGroupWhitelist" empty:"-"` // restrict lobby slots to twitch subs for a particular channel // not a pointer, since it is set to false when the argument json // string doesn't have the field TwitchWhitelistSubscribers bool `json:"twitchWhitelistSubs"` TwitchWhitelistFollowers bool `json:"twitchWhitelistFollows"` RegionLock bool `json:"regionLock"` Requirements *struct { Classes map[string]Requirement `json:"classes,omitempty"` General Requirement `json:"general,omitempty"` } `json:"requirements" empty:"-"` Discord *struct { RedChannel *string `json:"redChannel,omitempty"` BluChannel *string `json:"bluChannel,omitempty"` } `json:"discord" empty:"-"` }) interface{}
func (Lobby) LobbyLeave ¶
func (Lobby) LobbyRemoveRegionLock ¶
func (Lobby) LobbyRemoveSteamRestriction ¶
func (Lobby) LobbyRemoveTwitchRestriction ¶
func (Lobby) LobbyServerReset ¶
func (Lobby) LobbySetRequirement ¶
func (Lobby) LobbySetTeamName ¶
func (Lobby) LobbyShuffle ¶
func (Lobby) LobbySpectatorJoin ¶
func (Lobby) LobbySpectatorLeave ¶
func (Lobby) RequestLobbyListData ¶
type Mumble ¶
type Mumble struct{}
Mumble object contains methods for changing mumble details for a user
func (Mumble) GetMumblePassword ¶
func (Mumble) ResetMumblePassword ¶
type Player ¶
type Player struct{}
func (Player) PlayerDisableTwitchBot ¶
func (Player) PlayerEnableTwitchBot ¶
func (Player) PlayerNotReady ¶
func (Player) PlayerProfile ¶
func (Player) PlayerReady ¶
func (Player) PlayerRecentLobbies ¶
func (Player) PlayerSettingsGet ¶
type Requirement ¶
type Requirement struct { Hours int `json:"hours"` Lobbies int `json:"lobbies"` Restricted Restriction `json:"restricted"` }
type Restriction ¶
type Serveme ¶
type Serveme struct{}
func (Serveme) GetServemeServers ¶
func (Serveme) GetStoredServers ¶
type Unauth ¶
type Unauth struct{}
func (Unauth) LobbySpectatorJoin ¶
func (Unauth) LobbySpectatorLeave ¶
Click to show internal directories.
Click to hide internal directories.