public interface IServer
Modifier and Type | Field and Description |
---|---|
static int |
CLIENT_VERSION |
static int |
CLIENT_VERSION_CAN_RECONNECT |
static int |
CLIENT_VERSION_UNDERSTANDS_PING |
static int |
MINIMUM_CLIENT_VERSION |
Modifier and Type | Method and Description |
---|---|
void |
acquireAngel(Legion legion,
CreatureType angelType) |
void |
applyCarries(BattleHex hex) |
void |
assignColor(PlayerColor color) |
void |
assignFirstMarker(java.lang.String markerId) |
void |
assignStrikePenalty(java.lang.String prompt) |
void |
checkServerConnection() |
void |
clientConfirmedCatchup() |
void |
concede(Legion legion) |
void |
doBattleMove(int tag,
BattleHex hex) |
void |
doMove(Legion legion,
MasterHex hex,
EntrySide entrySide,
boolean teleport,
CreatureType teleportingLord) |
void |
doneWithBattleMoves() |
void |
doneWithEngagements() |
void |
doneWithMoves() |
void |
doneWithRecruits() |
void |
doneWithSplits() |
void |
doneWithStrikes() |
void |
doNotConcede(Legion legion) |
void |
doNotFlee(Legion legion) |
void |
doRecruit(Recruitment event) |
void |
doSplit(Legion parent,
java.lang.String childMarker,
java.util.List<CreatureType> creaturesToSplit)
Executes a split of certain creatures from a legion.
|
void |
doSummon(Summoning event)
Handles a summon event
|
void |
engage(MasterHex hex) |
void |
fight(MasterHex hex) |
void |
flee(Legion legion) |
void |
joinGame(java.lang.String playerName) |
void |
leaveCarryMode() |
void |
loadGame(java.lang.String filename) |
void |
makeProposal(java.lang.String proposalString) |
void |
mulligan() |
void |
newGame() |
void |
saveGame(java.lang.String filename) |
void |
sendDisconnect() |
void |
stopGame() |
void |
strike(int tag,
BattleHex hex) |
void |
undoBattleMove(BattleHex hex) |
void |
undoMove(Legion legion) |
void |
undoRecruit(Legion legion) |
void |
undoSplit(Legion splitoff) |
void |
withdrawFromGame() |
static final int CLIENT_VERSION
static final int CLIENT_VERSION_UNDERSTANDS_PING
static final int CLIENT_VERSION_CAN_RECONNECT
static final int MINIMUM_CLIENT_VERSION
void leaveCarryMode()
void doneWithBattleMoves()
void doneWithStrikes()
void acquireAngel(Legion legion, CreatureType angelType)
void doSummon(Summoning event)
event
- The summon event or null if summoning is not wanted.void doRecruit(Recruitment event)
void engage(MasterHex hex)
void concede(Legion legion)
void doNotConcede(Legion legion)
void flee(Legion legion)
void doNotFlee(Legion legion)
void makeProposal(java.lang.String proposalString)
void fight(MasterHex hex)
void doBattleMove(int tag, BattleHex hex)
void strike(int tag, BattleHex hex)
void applyCarries(BattleHex hex)
void undoBattleMove(BattleHex hex)
void assignStrikePenalty(java.lang.String prompt)
void mulligan()
void undoSplit(Legion splitoff)
void undoMove(Legion legion)
void undoRecruit(Legion legion)
void doneWithSplits()
void doneWithMoves()
void doneWithEngagements()
void doneWithRecruits()
void withdrawFromGame()
void sendDisconnect()
void stopGame()
void doSplit(Legion parent, java.lang.String childMarker, java.util.List<CreatureType> creaturesToSplit)
parent
- The legion to split the creatures out of.childMarker
- A marker for the new legion.creaturesToSplit
- The creatures to split out.void doMove(Legion legion, MasterHex hex, EntrySide entrySide, boolean teleport, CreatureType teleportingLord)
void assignColor(PlayerColor color)
void assignFirstMarker(java.lang.String markerId)
void newGame()
void loadGame(java.lang.String filename)
void saveGame(java.lang.String filename)
void checkServerConnection()
void clientConfirmedCatchup()
void joinGame(java.lang.String playerName)