|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SOCMessageForGame | |
---|---|
soc.message | |
soc.robot | |
soc.server |
Uses of SOCMessageForGame in soc.message |
---|
Classes in soc.message that implement SOCMessageForGame | |
---|---|
class |
SOCAcceptOffer
This message means that the player is accepting an offer. |
class |
SOCAdminPing
This message is a way for the admin to test if a robot is connected and running |
class |
SOCBankTrade
This message means that a player wants to trade with the bank or a port. |
class |
SOCBoardLayout
This message contains the board layout information. |
class |
SOCBoardLayout2
This message contains the board's layout information and its encoding version. |
class |
SOCBoardSpecialEdge
This message from the server to clients announces that an edge on the game board has become a Special Edge, or is no longer a Special Edge. |
class |
SOCBuildRequest
This message, from client to server, says which piece type the current player wants to build. |
class |
SOCBuyCardRequest
This message means that the player wants to buy a development card. |
class |
SOCCancelBuildRequest
This message type has five possible meanings, depending on game state and direction sent: |
class |
SOCChangeFace
This message says that a player is changing the face icon. |
class |
SOCChoosePlayer
This message from client to server has a few purposes, all related to robbing: After a server's SOCChoosePlayerRequest ,
it says which player the current player wants to
steal from. |
class |
SOCChoosePlayerRequest
This message from server to client asks a player to choose a player to steal from. |
class |
SOCClearOffer
This message means that the player is retracting an offer. |
class |
SOCClearTradeMsg
This message means that the server wants the trade message cleared. |
class |
SOCDebugFreePlace
This debug message from client to server means that a player is asking to place a piece on the board, without spending resources or checking the current player. |
class |
SOCDeleteGame
This message means that a soc game has been destroyed. |
class |
SOCDevCardAction
This message from the server means that a player is drawing or playing
a development card; response to SOCPlayDevCardRequest . |
class |
SOCDevCardCount
This message says how many development cards are in the deck. |
class |
SOCDiceResult
This message reports total of what was rolled on the dice. |
class |
SOCDiceResultResources
All resources gained by players from a dice roll. |
class |
SOCDiscard
This message means that a player is discarding. |
class |
SOCDiscardRequest
This message from server to a client requests that the player discard a particular number of cards. |
class |
SOCDiscoveryPick
This message says which resources the player picked for a Discovery card |
class |
SOCEndTurn
This message means that a player wants to end the turn |
class |
SOCFirstPlayer
This message says who the first player is |
class |
SOCGameMembers
This message lists all the members of a game. |
class |
SOCGameOptionInfo
Information on one available SOCGameOption game option. |
class |
SOCGameServerText
This message contains a text message or announcement from the server for a SoC game. |
class |
SOCGameState
This message communicates the current state of the game. |
class |
SOCGameStats
This message contains the scores for the people at a game. |
class |
SOCGamesWithOptions
List of all games currently on the server, including their game options . |
class |
SOCGameTextMsg
This message contains a text message for a SoC game. |
class |
SOCInventoryItemAction
This message is a client player request, or server response or announcement, about SOCInventoryItem s in a player's inventory. |
class |
SOCJoinGameAuth
This message from server to a client means that the client's player is allowed to join the game. |
class |
SOCLargestArmy
This message says which player has largest army. |
class |
SOCLastSettlement
This message tells the client where the last settlement was places Used for robots during init set up |
class |
SOCLeaveGame
This message means that someone is leaving a game. |
class |
SOCLegalEdges
This message contains a list of legal edges (ships or roads). |
class |
SOCLocalizedStrings
Message from server for i18n localization of item types such as game options or scenarios, such as SOCLocalizedStrings.TYPE_GAMEOPT or SOCLocalizedStrings.TYPE_SCENARIO , or request from client to get
localized strings for specific keys of certain item types. |
class |
SOCLongestRoad
This message says which player has longest road. |
class |
SOCMakeOffer
This message means that a player wants to trade with other players |
class |
SOCMessageTemplate0
Template for per-game message types with no parameters. |
class |
SOCMessageTemplate1i
Template for per-game message types with 1 integer parameter. |
class |
SOCMessageTemplate1s
Template for per-game message types with 1 string parameter. |
class |
SOCMessageTemplate2i
Template for per-game message types with 2 integer parameters. |
class |
SOCMessageTemplate2s
Template for per-game message types with 2 string parameters. |
class |
SOCMessageTemplate3i
Template for per-game message types with 3 integer parameters. |
class |
SOCMessageTemplate3s
Template for per-game message types with 3 string parameters. |
class |
SOCMessageTemplate4i
Template for per-game message types with 4 integer parameters. |
class |
SOCMessageTemplateMi
Template for message types with variable number of integer parameters. |
class |
SOCMessageTemplateMs
Template for message types with variable number of string parameters. |
class |
SOCMonopolyPick
This message says what resource the current player wants to monopolize |
class |
SOCMovePiece
This server-broadcast message announces a player is moving a piece that's already on the board, to a new location. |
class |
SOCMovePieceRequest
This client-to-server message requests moving a piece that's already on the board, to a new location. |
class |
SOCMoveRobber
This message (from client to server) means that a client player wants to move the robber or pirate ship, or (from server to all players) a player has moved the robber or pirate ship. |
class |
SOCNewGame
This message to all clients means that a new game has been created. |
class |
SOCNewGameWithOptions
This broadcast message from server announces a new game, with a certain version and possibly game options , to all clients. |
class |
SOCPickResources
This message from client means that the client player has picked these resources to receive from the gold hex. |
class |
SOCPickResourcesRequest
This message from server to a client informs the client's player that in a game they're playing, they must pick which resources they want from a gold hex. |
class |
SOCPieceValue
This message from server updates the value(s) of a piece on the board. |
class |
SOCPlayDevCardRequest
This message from client means that a player wants to play a development card. |
class |
SOCPlayerElement
This message conveys one part of the player's status, such as their number of settlements remaining. |
class |
SOCPlayerElements
This message from the server holds information on some parts of the player's status, such as resource type counts. |
class |
SOCPlayerStats
Statistics of one type for one player. |
class |
SOCPotentialSettlements
This message contains a list of potential settlements. |
class |
SOCPutPiece
This message means that a player is asking to place, or has placed, a piece on the board. |
class |
SOCRejectOffer
This message means that the player is rejecting an offer. |
class |
SOCRemovePiece
This message from server announces a SOCShip removed from the board. |
class |
SOCResetBoardAuth
This message from server informs the client that a game they're playing has been "reset" to a new game (with same name and players, new layout), and they should join at the given position. |
class |
SOCResetBoardReject
This message from server informs all clients that voting has ended, and the board reset request has been rejected. |
class |
SOCResetBoardRequest
This message from client to server requests a "reset board" of a game being played. |
class |
SOCResetBoardVote
This bi-directional message gives the client's vote on a "board reset", which was requested by another player in that game. |
class |
SOCResetBoardVoteRequest
This message from server informs the client that in a game they're playing, another player requests a "board reset" (new game with same name and players, new layout), and they should vote yes or no. |
class |
SOCResourceCount
This message has the total resource count for a player |
class |
SOCRevealFogHex
This message from server reveals a hex previously hidden by fog on the large sea board. |
class |
SOCRobotDismiss
This message means that the server wants the robot who receives this message to leave the game. |
class |
SOCRobotJoinGameRequest
This message means that the server is asking this robot client to join a game. |
class |
SOCRollDice
This message is a request from client to server; client player wants to roll the dice. |
class |
SOCRollDicePrompt
This message from server informs all players whose turn it is, so they may roll the dice, or take other action allowable at that time. |
class |
SOCRollDiceRequest
This message requests that the player rolls the dice this client to join a game |
class |
SOCScenarioInfo
A client's request for updated SOCScenario info,
or server's reply with information on one available SOCScenario
(including localization). |
class |
SOCSetPlayedDevCard
This message sets the flag which says if a player has played a development card this turn |
class |
SOCSetSeatLock
This message sets the lock state of a seat. |
class |
SOCSetSpecialItem
This message is to pick, set, or clear a SOCSpecialItem in the game and/or owning player's Special Item list. |
class |
SOCSetTurn
This message from server to client says whose turn it is. |
class |
SOCSetupDone
This message means that all players are done placing their initial settlements. |
class |
SOCSimpleAction
This generic message from the server to clients handles a simple action or event for a client player in a game. |
class |
SOCSimpleRequest
This generic message handles a simple request from a client player in a game. |
class |
SOCSitDown
This message means that a player wants to sit down to play. |
class |
SOCStartGame
From client, this message means that a player wants to start the game; from server, it means that a game has just started, leaving state NEW . |
class |
SOCSVPTextMessage
Message from server to game's clients, with the number of Special Victory Points (SVP) and reason the player was awarded them. |
class |
SOCTimingPing
This message contains a timing ping sent by the server to each robot, once each second. |
class |
SOCTurn
This message from server to client signals end of the current player's turn. |
Uses of SOCMessageForGame in soc.robot |
---|
Methods in soc.robot with parameters of type SOCMessageForGame | |
---|---|
protected void |
SOCRobotClient.handlePutBrainQ(SOCMessageForGame mes)
handle any per-game message that just needs to go into its game's SOCRobotClient.brainQs . |
Uses of SOCMessageForGame in soc.server |
---|
Methods in soc.server with parameters of type SOCMessageForGame | |
---|---|
boolean |
SOCGameHandler.processCommand(SOCGame ga,
SOCMessageForGame mes,
StringConnection c)
|
abstract boolean |
GameHandler.processCommand(SOCGame ga,
SOCMessageForGame mes,
StringConnection c)
Process one command from a client player of this game. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |