Modifier and Type | Class | Description |
---|---|---|
static class |
S2Controller.Builder |
Modifier and Type | Method | Description |
---|---|---|
com.typesafe.config.Config |
getConfig() |
|
java.lang.Process |
getS2Process() |
|
boolean |
inState(GameStatus expectedStatus) |
|
void |
isInState(GameStatus expectedStatus) |
|
void |
onComplete() |
|
void |
onError(java.lang.Throwable e) |
|
void |
onNext(Response response) |
|
S2Controller |
relaunchIfNeeded(int baseBuild,
java.lang.String dataVersion) |
|
void |
restart() |
|
static S2Controller.Builder |
starcraft2Game() |
|
void |
stop() |
|
boolean |
stopAndWait() |
|
boolean |
stopAndWait(long timeoutInMillis) |
|
S2Controller |
untilReady() |
public static S2Controller.Builder starcraft2Game()
public S2Controller untilReady()
public void stop()
public boolean stopAndWait()
public boolean stopAndWait(long timeoutInMillis)
public void isInState(GameStatus expectedStatus)
public boolean inState(GameStatus expectedStatus)
public com.typesafe.config.Config getConfig()
public void onNext(Response response)
public void onComplete()
public void onError(java.lang.Throwable e)
public S2Controller relaunchIfNeeded(int baseBuild, java.lang.String dataVersion)
public void restart()
public java.lang.Process getS2Process()
Copyright © 2017–2018 Ocraft Project. All rights reserved.