cggenevents

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CGGenEvents

func CGGenEvents(cgeVersion, outputDir, url, language string) error

CGGenEvents downloads and executes the correct version of cg-gen-events.

func GetCGEVersion

func GetCGEVersion(baseURL string) (string, error)

GetCGEVersion returns the CGE version of the game server in the format 'x.y'.

func GetEventNames

func GetEventNames(url, cgeVersion string) ([]string, error)

GetEventNames uses CGGenEvents() to get a list of all the available events of the game server at url. It only works for CGE versions >= 0.3.

func LatestCGEVersion

func LatestCGEVersion() (string, error)

LatestCGEVersion returns the latest CGE version in the format 'x.y'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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