public final class GameSettings
extends java.lang.Object
Constructor | Description |
---|---|
GameSettings() |
|
GameSettings(java.lang.String mapName) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
java.util.Optional<BattlenetMap> |
getBattlenetMap() |
|
java.util.Optional<LocalMap> |
getLocalMap() |
|
MultiplayerOptions |
getMultiplayerOptions() |
|
java.util.List<PlayerSettings> |
getPlayerSettings() |
|
int |
hashCode() |
|
static java.util.Optional<java.nio.file.Path> |
libraryPath(java.nio.file.Path filePath) |
|
static java.util.Optional<java.nio.file.Path> |
libraryPath(java.nio.file.Path filePath,
java.nio.file.Path root) |
|
java.util.Optional<PlayerSettings> |
playerSettingsFor(S2Agent agent) |
|
GameSettings |
resolveMap(ProcessSettings processSettings) |
|
GameSettings |
resolveMap(java.lang.String mapName) |
|
GameSettings |
setBattlenetMap(BattlenetMap battlenetMap) |
|
GameSettings |
setLocalMap(LocalMap localMap) |
|
GameSettings |
setMultiplayerOptions(MultiplayerOptions multiplayerOptions) |
|
GameSettings |
setPlayerSettings(java.util.List<PlayerSettings> playerSettings) |
|
java.lang.String |
toString() |
public GameSettings()
public GameSettings(java.lang.String mapName)
public GameSettings resolveMap(java.lang.String mapName)
public GameSettings resolveMap(ProcessSettings processSettings)
public static java.util.Optional<java.nio.file.Path> libraryPath(java.nio.file.Path filePath)
public static java.util.Optional<java.nio.file.Path> libraryPath(java.nio.file.Path filePath, java.nio.file.Path root)
public GameSettings setLocalMap(LocalMap localMap)
public java.util.Optional<LocalMap> getLocalMap()
public GameSettings setBattlenetMap(BattlenetMap battlenetMap)
public java.util.Optional<BattlenetMap> getBattlenetMap()
public java.util.List<PlayerSettings> getPlayerSettings()
public GameSettings setPlayerSettings(java.util.List<PlayerSettings> playerSettings)
public GameSettings setMultiplayerOptions(MultiplayerOptions multiplayerOptions)
public MultiplayerOptions getMultiplayerOptions()
public java.util.Optional<PlayerSettings> playerSettingsFor(S2Agent agent)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017–2018 Ocraft Project. All rights reserved.