game

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	ReadConfigFile(path string) (*config.Config, error)
	ReadGlobalConfig(game handler.Game) (*config.Config, error)
	GetProfileKeys(game handler.Game) ([]string, error)
	ReadProfileConfig(game handler.Game, profileKey string) (*config.Config, error)
	PurgeShaderCache(game handler.Game) error
	PurgeLogoCache(game handler.Game) error
	BuildProfilesFolderPath(game handler.Game) (string, error)
}

type Profile added in v0.1.0

type Profile struct {
	Key  string
	Name string
	Type ProfileType
}

type ProfileType added in v0.1.4

type ProfileType int
const (
	ProfileTypeMultiplayer ProfileType = iota
	ProfileTypeSingleplayer
)

Directories

Path Synopsis
Methods for working specifically with Battlefield 2 configuration files (.con)
Methods for working specifically with Battlefield 2 configuration files (.con)

Jump to

Keyboard shortcuts

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