Package | Description |
---|---|
com.github.ocraft.s2client.bot | |
com.github.ocraft.s2client.bot.gateway |
Modifier and Type | Method | Description |
---|---|---|
ActionInterface |
S2Agent.actions() |
Interface for issuing actions to units.
|
Modifier and Type | Method | Description |
---|---|---|
ActionInterface |
AgentControlInterface.action() |
|
ActionInterface |
ActionInterface.sendChat(java.lang.String message,
ActionChat.Channel channel) |
Sends a message to the game chat.
|
ActionInterface |
ActionInterface.toggleAutocast(Tag unitTag,
Ability ability) |
Enables or disables autocast of an ability on a unit.
|
ActionInterface |
ActionInterface.toggleAutocast(java.util.List<Tag> unitTags,
Ability ability) |
Enables or disables autocast of an ability on a list of units.
|
ActionInterface |
ActionInterface.unitCommand(Unit unit,
Ability ability,
boolean queuedCommand) |
Issues a command to a unit.
|
ActionInterface |
ActionInterface.unitCommand(Unit unit,
Ability ability,
Point2d point,
boolean queuedCommand) |
Issues a command to a unit.
|
ActionInterface |
ActionInterface.unitCommand(Unit unit,
Ability ability,
Unit target,
boolean queuedCommand) |
Issues a command to a unit.
|
ActionInterface |
ActionInterface.unitCommand(java.util.List<Unit> units,
Ability ability,
boolean queuedMove) |
Issues a command to multiple units (prefer this where possible).
|
ActionInterface |
ActionInterface.unitCommand(java.util.List<Unit> units,
Ability ability,
Point2d point,
boolean queuedCommand) |
Issues a command to multiple units (prefer this where possible).
|
ActionInterface |
ActionInterface.unitCommand(java.util.List<Unit> units,
Ability ability,
Unit target,
boolean queuedCommand) |
Issues a command to multiple units (prefer this where possible).
|
Copyright © 2017–2018 Ocraft Project. All rights reserved.