rpc

package
v0.0.0-...-937b28e Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: GPL-3.0 Imports: 8 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectRPC

func ConnectRPC(amqpConn *amqp.Connection)

func DisallowPlayer

func DisallowPlayer(lobbyId uint, steamId string, playerID uint) error

func End

func End(lobbyId uint)

func FumbleLobbyCreated

func FumbleLobbyCreated(lobbyID uint) error

func FumbleLobbyEnded

func FumbleLobbyEnded(lobbyID uint)

func ReExecConfig

func ReExecConfig(lobbyId uint, changeMap bool) error

func Say

func Say(lobbyId uint, text string)

func SetupServer

func SetupServer(lobbyId uint, info gameserver.ServerRecord, lobbyType format.Format, league string,
	whitelist string, mapName string) error

func TwitchBotAnnouce

func TwitchBotAnnouce(channel string, lobbyid uint)

func TwitchBotJoin

func TwitchBotJoin(channel string)

func TwitchBotLeave

func TwitchBotLeave(channel string)

func VerifyInfo

func VerifyInfo(info gameserver.ServerRecord) error

Types

type Args

type Args struct {
	Id        uint
	Info      gameserver.ServerRecord
	Type      format.Format
	League    string
	Whitelist string
	Map       string
	SteamId   string
	SteamId2  string
	Slot      string
	Text      string
	ChangeMap bool
}

Jump to

Keyboard shortcuts

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