Modifier and Type | Method and Description |
---|---|
private NetworkCookie |
Personality.GetCookie(java.lang.String username,
int id,
int game) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
Personality.CommandExecutor(java.lang.StringBuilder param,
NetworkCookie cookie) |
private <T extends java.io.Serializable> |
Personality.CommandExecutor(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.Class<T> objClass) |
private java.lang.String |
Personality.CommandExecutor(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
private <T extends java.io.Serializable> |
Personality.CommandExecutor(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object,
java.lang.Class<T> objClass) |
Modifier and Type | Field and Description |
---|---|
protected NetworkCookie |
CookieBuilder.cookie |
Modifier and Type | Method and Description |
---|---|
abstract ICommand |
Factory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object)
Gets the necessary command from the provided data.
|
ICommand |
CommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
void |
CookieBuilder.SetCookie(NetworkCookie cookie)
Data to be set from the cookie.
|
Constructor and Description |
---|
CookieCommand(NetworkCookie cookie) |
Modifier and Type | Method and Description |
---|---|
ICommand |
GameCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Constructor and Description |
---|
GameAddAICommand(NetworkCookie cookie,
AIType type)
Creates a command to add a certain type of AI to the game.
|
GameCommandsCommand(NetworkCookie cookie,
java.util.List<ICommand> commands)
Creates a command to allow the execution of commands.
|
GameListAICommand(NetworkCookie cookie)
Creates a command to get the available AI list.
|
GameModelCommand(NetworkCookie cookie,
int version)
Gets a game model from the server.
|
GameResetCommand(NetworkCookie cookie)
Creates a command that allows the game to be reset.
|
Modifier and Type | Field and Description |
---|---|
private NetworkCookie |
GamesJoinCommand.cookie |
Modifier and Type | Method and Description |
---|---|
ICommand |
GamesCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Constructor and Description |
---|
GamesJoinCommand(NetworkCookie cookie,
int gameID,
CatanColor color)
Creates a command to join a game.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
MovesCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Constructor and Description |
---|
MovesAcceptTradeCommand(NetworkCookie cookie,
int playerIndex,
boolean willAccept)
Creates a command to accept the trade.
|
MovesBuildCityCommand(NetworkCookie cookie,
int playerIndex,
Coordinate point)
Creates a command that builds a city.
|
MovesBuildRoadCommand(NetworkCookie cookie,
int playerIndex,
Coordinate start,
Coordinate end,
boolean free)
Creates a command object that builds a road.
|
MovesBuildSettlementCommand(NetworkCookie cookie,
int playerIndex,
Coordinate point,
boolean free)
Creates a command the builds a settlement.
|
MovesBuyDevCardCommand(NetworkCookie cookie,
int playerIndex)
Creates a command object that buys a Dev card.
|
MovesCommand(NetworkCookie cookie,
int playerIndex) |
MovesDiscardCardsCommand(NetworkCookie cookie,
int playerIndex,
java.util.List<java.lang.Integer> toDiscard)
Creates a command that handles discarding.
|
MovesFinishTurnCommand(NetworkCookie cookie,
int playerIndex)
Creates a command object that finishes a player's turn.
|
MovesMaritimeTradeCommand(NetworkCookie cookie,
int playerIndex,
int ratio,
ResourceType input,
ResourceType output)
Creates a command to perform a maritime trade.
|
MovesMonopolyCommand(NetworkCookie cookie,
int playerIndex,
ResourceType resource)
Creates a command object to play the monopoly card.
|
MovesMonumentCommand(NetworkCookie cookie,
int playerIndex)
Creates a command object to play the monument card.
|
MovesOfferTradeCommand(NetworkCookie cookie,
int playerIndex,
int receiverIndex,
java.util.List<java.lang.Integer> offer)
Creates a command that offers a trade.
|
MovesRoadBuildingCommand(NetworkCookie cookie,
int playerIndex,
Coordinate start1,
Coordinate end1,
Coordinate start2,
Coordinate end2)
Creates a command object for building roads.
|
MovesRobPlayerCommand(NetworkCookie cookie,
int playerIndex,
int victimIndex,
Coordinate point)
Creates a command class that robs a player.
|
MovesRollNumberCommand(NetworkCookie cookie,
int playerIndex,
int roll)
Creates a command object to handle dice rolls.
|
MovesSendChatCommand(NetworkCookie cookie,
int playerIndex,
java.lang.String message)
Creates a command to send a chat.
|
MovesSoldierCommand(NetworkCookie cookie,
int playerIndex,
int victimIndex,
Coordinate point)
Creates a command object to place a soldier card.
|
MovesYearOfPlentyCommand(NetworkCookie cookie,
int playerIndex,
ResourceType resource1,
ResourceType resource2)
Creates a command object that plays the Year of Plenty card.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
UserCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Modifier and Type | Method and Description |
---|---|
ICommand |
UtilCommandFactory.GetCommand(java.lang.StringBuilder param,
NetworkCookie cookie,
java.lang.String object) |
Modifier and Type | Field and Description |
---|---|
private NetworkCookie |
CommandFactoryTest.cookie |