steamcmd

package
v1.0.70 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SteamDir = ""
)

Functions

func BuildScriptFile

func BuildScriptFile() (string, error)

func DownloadSteamCMD

func DownloadSteamCMD() error

func ExtractArchive

func ExtractArchive(file *os.File) error

func GetLatestVersion added in v1.0.70

func GetLatestVersion() (int64, error)

func InitSteamCMD

func InitSteamCMD()

func InstallSFServer added in v1.0.70

func InstallSFServer() (string, error)

func IsInstalled

func IsInstalled() bool

Types

type DepotData added in v1.0.70

type DepotData struct {
	Data struct {
		AppId struct {
			Depots struct {
				Branches struct {
					Public struct {
						Buildid string `json:"buildid"`
					} `json:"public"`
					Experimental struct {
						Buildid string `json:"buildid"`
					} `json:"experimental"`
				} `json:"branches"`
			} `json:"depots"`
		} `json:"1690800"`
	} `json:"data"`
}

Jump to

Keyboard shortcuts

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