Package | Description |
---|---|
com.github.ocraft.s2client.bot | |
com.github.ocraft.s2client.bot.syntax |
Modifier and Type | Method | Description |
---|---|---|
static SettingsSyntax |
S2Coordinator.setup() |
Modifier and Type | Method | Description |
---|---|---|
SettingsSyntax |
SettingsSyntax.loadLadderSettings(java.lang.String[] args) |
Used to load ladder settings.
|
SettingsSyntax |
SettingsSyntax.loadSettings(java.lang.String[] args) |
Used to load settings.
|
SettingsSyntax |
SettingsSyntax.setDataDir(java.nio.file.Path dataDirPath) |
Override the path to find the data package.
|
SettingsSyntax |
SettingsSyntax.setDataVersion(java.lang.String version) |
Set the correct data version of a replay to allow faster replay loading.
|
SettingsSyntax |
SettingsSyntax.setEglPath(java.nio.file.Path eglPath) |
Sets the path the to hardare rendering library.
|
SettingsSyntax |
SettingsSyntax.setFeatureLayers(SpatialCameraSetup settings) |
Indicates whether feature layers should be provided in the observation.
|
SettingsSyntax |
SettingsSyntax.setMultithreaded(java.lang.Boolean value) |
Specifies whether bots or replays onStep function should be run in parallel.
|
SettingsSyntax |
SettingsSyntax.setOsMesaPath(java.nio.file.Path osMesaPath) |
Sets the path the to software rendering library.
|
SettingsSyntax |
SettingsSyntax.setPortStart(java.lang.Integer portStart) |
Sets the first port number to use.
|
SettingsSyntax |
SettingsSyntax.setProcessPath(java.nio.file.Path path) |
Sets the path to the StarCraft II binary.
|
SettingsSyntax |
SettingsSyntax.setRealtime(java.lang.Boolean value) |
Specifies whether the game should run in realtime or not.
|
SettingsSyntax |
SettingsSyntax.setRender(SpatialCameraSetup settings) |
Indicates whether render layers should be provided in the observation.
|
SettingsSyntax |
SettingsSyntax.setStepSize(java.lang.Integer stepSize) |
Sets the number of game loops to run for each step.
|
SettingsSyntax |
SettingsSyntax.setTimeoutMS(java.lang.Integer timeoutInMillis) |
Sets the timeout for network operations.
|
SettingsSyntax |
SettingsSyntax.setTmpDir(java.nio.file.Path tmpDirPath) |
Overrides the directory that temp files are created in.
|
SettingsSyntax |
SettingsSyntax.setTraced(java.lang.Boolean value) |
Enables logging on client of all protocol requests/responses to com.github.ocraft.s2client.api.log.DataFlowTracer
logger on level TRACE (JSON format).
|
SettingsSyntax |
SettingsSyntax.setUseGeneralizedAbilityId(java.lang.Boolean value) |
Uses generalized abilities where possible.
|
SettingsSyntax |
SettingsSyntax.setVerbose(java.lang.Boolean value) |
Enables logging on game server of all protocol requests/responses to std::err.
|
SettingsSyntax |
SettingsSyntax.setWindowLocation(java.lang.Integer x,
java.lang.Integer y) |
Sets the game window location.
|
SettingsSyntax |
SettingsSyntax.setWindowSize(java.lang.Integer width,
java.lang.Integer height) |
Sets the game window dimensions.
|
Copyright © 2017–2018 Ocraft Project. All rights reserved.