mapshot

package
v0.0.0-...-3366ea4 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(username, binPath string) *Client

func (*Client) Mapshot

func (c *Client) Mapshot(mapName, mapSettings string) error

func (*Client) Mapshots

func (c *Client) Mapshots(mapNames []string, settings MapSettings) error

type IClientController

type IClientController interface {
	Command(cmd string, options ezquake.CommandOptions)
	CommandWithOptions(cmd string, options ezquake.CommandOptions)
}

type MapSettings

type MapSettings map[string]string

func NewMapSettingsFromJsonFile

func NewMapSettingsFromJsonFile(filePath string) (MapSettings, error)

func (MapSettings) HasMap

func (s MapSettings) HasMap(mapName string) bool

func (MapSettings) MapNames

func (s MapSettings) MapNames() []string

Jump to

Keyboard shortcuts

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