package
0.3.0
Repository: https://github.com/chippydip/go-sc2ai.git
Documentation: pkg.go.dev

# Functions

CurrentReplayPath provides access to the replay filename and full path of the current replay (if any).
OpponentID returns the current ladder opponent ID or an empty string.
Random1v1Map returns a random map name from the current 1v1 ladder map pool.
RunAgent starts the game.
Set changes the default value of a command line flag.
SetComputer sets the default computer opponent flags (can still be overridden on the command line).
SetConnectTimeout sets how long to wait for a connection to the game.
SetExecutable sets the default executable path to use.
SetGameVersion specifies a specific base game and data version to use when launching.
SetInterfaceOptions sets the interface launch options when starting a game.
SetMap sets the default map to use.
SetRealtime sets the default realtime option to enabled.
SetReplayFilter provides a filter which determines if a replay should be run.
SetReplayPath sets a directory of replay files or a single replay to load.
SetReplayPlayerID specifies which player the agent would like to observe.