|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
SOCBoardLarge.getAdjacentEdgesToEdge(int)
.
SOCBoardLarge.getAdjacentEdgesToHex(int)
, the offset to add to the hex
coordinate to get all adjacent edge coords, starting at
index 0 at the top (northeastern edge of hex) and going clockwise.
SOCBoardLarge.getAdjacentHexesToHex(int, boolean)
, the offsets to add to the hex
row and column to get all adjacent hex coords, starting at
index 0 at the northeastern edge of the hex and going clockwise.
SOCBoardLarge.getAdjacentNodeToHex(int, int)
, the offset to add to the hex
coordinate to get all adjacent node coords, starting at
index 0 at the top (northern corner of hex) and going clockwise.
SOCInventoryItemAction.ADD_PLAYABLE
or SOCInventoryItemAction.PLAY
PTEMain.NewDestSrcDialog.dest
and may dispose the dialog.
PTEMain.OpenDestSrcDialog.src
from PTEMain.OpenDestSrcDialog.src1
, PTEMain.OpenDestSrcDialog.src2
, or PTEMain.OpenDestSrcDialog.srcOther
.
SOCPlayerElement.SET
, SOCPlayerElement.GAIN
, or SOCPlayerElement.LOSE
SOCPlayerElement.SET
, SOCPlayerElement.GAIN
, or SOCPlayerElement.LOSE
SOCPlayer.addLegalSettlement(int, boolean)
, or 0.
server games list
.
SOCRobotDM.getETABonus(int, int, float)
Special Building Phase
.
SOCServer.DEBUG_COMMANDS_HELP
?
Default is false.
NewGameOptionsFrame.scenDropdown
, if NewGameOptionsFrame.opts
contains the "SC"
game option, or null.
ServerGametypeInfo.allScenStringsReceived
).
null
.
Server.cliConnDisconPrintsPending
; null unless isArriveNotDepart
SOCGame.SPECIAL_BUILDING
phase of the 6-player game.
Special Building Phase
.
NotifyDialog
.ServerGametypeInfo.askedDefaultsAlready
, the time it was asked,
as returned by System.currentTimeMillis()
.
System.currentTimeMillis()
, or 0.
SOCStringManager
to something like "a Market (+1VP)"
reqType
piece must be at a 3:1 or 2:1 port.
authOrRejectClientUser(....)
result: Failed authentication, failed name validation, or name is already logged in and that
connection hasn't timed out yet
authOrRejectClientUser(....)
result: Authentication succeeded
authOrRejectClientUser(....)
result: Authentication succeeded, is taking over another connection
SOCServer.PLAYER_NAME_MAX_LENGTH
, name
in use but not timed out versus takeover, etc.
SOCAuthRequest
.
SOCAuthRequest.SCHEME_CLIENT_PLAINTEXT
.
AWTToolTip.parentComp
?
PTEMain.NewDestSrcDialog.src
, or null
if couldn't be determined
PropertiesTranslatorEditor.sPan
at bottom of window
SOCBoard.getBoardEncodingFormat()
:
Land hexes are same encoding as SOCBoard.BOARD_ENCODING_ORIGINAL
.
SOCBoard.getBoardEncodingFormat()
:
Allows up to 127 x 127 board with an arbitrary mix of land and water tiles.
SOCBoard.getBoardEncodingFormat()
:
Hexadecimal 0x00 to 0xFF along 2 diagonal axes.
SOCBoard.BOARD_ENCODING_ORIGINAL
(default, original).
SOCBoard.getBoardEncodingFormat()
.
SOCBoard.BoardFactory
for creating new boards in the SOCGame constructors.
SOCBoardPanel.isLargeBoard
,
Minimum visual SOCBoard.getBoardHeight()
= 17 for
enough height for SOCHandPanel
s to left and right.
SOCPlayerInterface.doLayout()
?
SOCBoardLayout.numberLayout
.
SOCGame.READY_RESET_WAIT_ROBOT_DISMISS
).
SOCBoardSpecialEdge
).
SOCBoardPanel.isLargeBoard
,
Minimum visual SOCBoard.getBoardWidth()
= 18 for good-looking aspect ratio, and
enough width for SOCBuildingPanel
contents below.
SOCGameOption.key
; value = Checkbox
if bool/intbool option.
PTEMain.OpenDestSrcDialog.src1
, PTEMain.OpenDestSrcDialog.src2
, PTEMain.OpenDestSrcDialog.srcOther
.
PTEMain.OpenDestSrcDialog.src1
, PTEMain.OpenDestSrcDialog.src2
, PTEMain.OpenDestSrcDialog.srcOther
.
PTEMain.OpenDestSrcDialog.src1
, PTEMain.OpenDestSrcDialog.src2
, PTEMain.OpenDestSrcDialog.srcOther
.
ParsedPropsFilePair.cont
by combining the parsed source (ParsedPropsFilePair.parsed
) and destination (destKeys
).
SOCPossiblePiece
.
SOCRobotDM.ourPlayerData
's building plan; a stack of SOCPossiblePiece
.
SOCRobotNegotiator.ourPlayerData
's building plan.
SOCRobotBrain.buildingPlan
.pop()
,
unless we've already been told by the server to not build it.
SOCGame.hasSeaBoard
, or null.
SOCBoardLarge.hexLayoutLg
,
as returned by SOCBoardLarge.getLandHexCoords()
, or null.
PTEMain.NewDestSrcDialog.baseName
+ PTEMain.NewDestSrcDialog.tfLang
+ PTEMain.NewDestSrcDialog.tfRegion
, or null
.
SOCPlayerTracker.getWinGameETA()
.
Special Building Phase
,
can the player currently request to special build?
See 'throws' for the conditions checked.
SOCGame.attackPirateFortress(SOCShip)
.
SOCGame.PLACING_ROAD
, etc),
and for initial settlement placement.
SOCHandPanel.playCardBut
in state SOCGame.PLACING_INV_ITEM
.
SOCInventoryItem.canCancelPlay
.
NewGameOptionsFrame.readOnly
SOCPlayingPiece.ROAD
, SETTLEMENT, ...) to cancel
SOCGame.PLACING_INV_ITEM
, the current player is canceling special SOCInventoryItem
placement.
SOCGame.hasSeaBoard
.
SOCGame.WAITING_FOR_ROB_CHOOSE_PLAYER
or SOCGame.WAITING_FOR_PICK_GOLD_RESOURCE
.
SOCGame.hasSeaBoard
and when robbing with the pirate
(SOCGame.getRobberyPirateFlag()
).
SOCConnectOrPracticePanel.checkCanLaunchServer()
.
SOCBoardLarge.isHexOnWater(int)
.
getTotal()
must == SOCPlayer.getNeedToPickGoldHexResources()
.
_SC_FTRI
,
can a "gift" port be placed at this edge? SOCGame.hasSeaBoard
is true
Must be a coastal edge: SOCBoardLarge.isEdgeCoastline(int)
No port already at this edge or an adjacent edge
Player must have a settlement or city at one node (one end) of the edge
Player is current player
Does not check whether SOCGameOption.K_SC_FTRI
is set.
SOCPlayer.isPotentialSettlement(int)
.
SOCPlayer.isPotentialShip(int)
and must not be adjacent to SOCBoardLarge.getPirateHex()
.
SOCInventoryItem
now? Checks the game state, scenario options, and
player's inventory.
SOCGame.PLAY
or SOCGame.PLAY1
.
_SC_FTRI
,
can a "gift" port at this edge be removed for placement elsewhere?
_SC_FTRI
,
can a "gift" port be removed from this edge? SOCGame.hasSeaBoard
is true
Player is current player
Game state is SOCGame.PLACING_SHIP
, SOCGame.PLACING_FREE_ROAD1
or SOCGame.PLACING_FREE_ROAD2
edge
has a port
Port must be in no land area (LA == 0), or in SOCBoardLarge.getPlayerExcludedLandAreas()
Does not check whether SOCGameOption.K_SC_FTRI
is set.
SOCHandPanel.playCardBut
SOCPlayerClient.GameAwtDisplay.MAIN_PANEL
, SOCPlayerClient.GameAwtDisplay.MESSAGE_PANEL
or
(if launched from jar, or with no command-line arguments)
SOCPlayerClient.GameAwtDisplay.CONNECT_OR_PRACTICE_PANEL
.
TradeOfferPanel.messagePanel
or TradeOfferPanel.offerPanel
.
SOCDevCardConstants.ROADS
PTEMain.NewDestSrcDialog.doDocEvent(DocumentEvent)
when text field contents change
SOCPlayerClient.GameAwtDisplay.jc
button.
SOCPlayerInterface.textDisplaysLargerTemp
.
SecurityManager
about being a tcp server.
SOCSpecialItem.getCost()
, if any?
SOCServer.clientHasLocalizedStrs_gameScenarios(StringConnection)
,
storing the result in SOCClientData.localeHasScenStrings
.
SOCSpecialItem.req
requirements?
"SC"
),
check that the scenario is known and that its game options don't conflict with any others specified
in the properties or command line.
SOCShip
s) away from a newly closed end, to
determine if the other end is closed or still open, and close this route if
necessary.
PropertiesTranslatorEditor.hasUnsavedChanges()
and return any.
PropertiesTranslatorEditor.pair
.unsavedSrc
|| PropertiesTranslatorEditor.pair
.unsavedDest
) and if any, ask the
user if they want to save before closing.
SOCPlayerClient.GameAwtDisplay.jc
button or by double-click.
SOCChoosePlayer.CHOICE_NO_PLAYER
to choose no one,
or SOCChoosePlayer.CHOICE_MOVE_ROBBER
to move the robber
or SOCChoosePlayer.CHOICE_MOVE_PIRATE
to move the pirate ship.
SOCChoosePlayer.getChoice()
in game state
WAITING_FOR_ROBBER_OR_PIRATE: move Pirate Ship (not robber).
SOCChoosePlayer.getChoice()
in game state
WAITING_FOR_ROBBER_OR_PIRATE: move Robber (not pirate ship).
SOCChoosePlayer.getChoice()
in response to server's SOCChoosePlayerRequest
,
if player has chosen to not rob from any player.
SOCGame.WAITING_FOR_ROBBER_OR_PIRATE
.
SOCGame.WAITING_FOR_ROBBER_OR_PIRATE
)
chose whether to move the robber or the pirate,
or (game state SOCGame.WAITING_FOR_ROB_CLOTH_OR_RESOURCE
)
chose whether to steal a resource or cloth.
SOCGame.WAITING_FOR_ROBBER_OR_PIRATE
)
chose whether to move the robber or the pirate,
or (game state SOCGame.WAITING_FOR_ROB_CLOTH_OR_RESOURCE
)
chose whether to steal a resource or cloth.
PTEMain.chooseFile(boolean, String)
for the "Other" source option.
City
.
city
StringBuilder.length()
.
SOCBoardPanel.NONE
, no hilight, usually from a piece-placement mode.
Server.cliVersionsConnected
set every so often (33 minutes).
Server.cliVersionsConnected
before doing a full check.
SOCAccountClient.conn_sentAuth
flag.
SOCDevCard
).
SOCConnectOrPracticePanel.run_servport
Server.ConnExcepDelayedPrintTask
.
hands[]
, if we are
active in a game.
SOCPlayerInterface.clientHand
, or -1.
SOCScenario
names and descriptions?
Checks these conditions:
c.scd.wantsI18N
flag is set:
Has locale, new-enough version, has requested I18N strings (see that flag's javadocs).
SOCPlayerInterface.getClientHand()
will return non-null.
Server.cliVersionsConnected
.
Server.cliVersionsConnected
.
Server.cliVersionsConnected
.
Server.cliVersionsConnected
.
SOCAccountClient.strings
.
SOCPlayerClient.strings
.
StringConnection.getVersion()
.
Server.cliVersionsConnected
, the
count of "quick" consistency-checks since the last full check.
SOCInventoryItem
.
SOCSpecialItem
.
_SC_CLVI
, the
amount of cloth left in the board's "general supply".
SOCVillage.distributeCloth(SOCGame)
.
SOCPlayer.getCloth()
)
for scenario game option _SC_CLVI
.
_SC_CLVI
; null otherwise.
null
; each one contains leading "# "
_SC_PIRI
.
SOCAccountClient.connPanel
.
SOCAccountClient.connPanel
.
SOCAccountClient.connPanel
.
SOCAccountClient.connPanel
.
SOCAuthRequest
has been sent to the server from SOCAccountClient.connPanel
.
SOCAccountClient.connPanel
.
SOCAccountClient.connPanel
.
Server.cliConnDisconPrintsPending
;
non-null unless isArriveNotDepart; if so,
connection name from StringConnection.getData()
SOCPlayerClient.GameAwtDisplay.MESSAGE_PANEL
.
SOCPlayerClient.ClientNetwork.localTCPServer
)?
SOCPlayerClient.ClientNetwork.practiceServer
is not a TCP server.
Connection.outQueue
messages to the net.SOCPlayerClient.GameAwtDisplay.initVisualElements()
.
SOCAccountClient.CONN_PANEL
), for when
server needs authentication to create a user account.
StringConnection.getData()
!= null
.
ParsedPropsFilePair.parsed
:
Source and dest file-pair line-by-line grid contents, from parsing and editing;
also contains ParsedPropsFilePair.destOnlyPairs
.
ParsedPropsFilePair.cont
and also goes here
ParsedPropsFilePair.cont
and also goes here
SOCGameOption
within NewGameOptionsFrame.opts
.
ParsedPropsFilePair.FileKeyEntry.newAdd
flag;
inspect these for keys and values, and if needed convert them to ParsedPropsFilePair.FileCommentEntry
.
SOCResourceConstants.UNKNOWN
.
null
.
null
_SC_WOND
scenario.
SpeechBalloon.setBalloonPoint(boolean)
)
when the counter-offer is visible.
TradeOfferPanel.OfferPanel.setCounterOfferVisible(boolean)
to change.
TradeOfferPanel.OfferPanel.squares
.
SOCServer.numberOfGamesFinished
writes.
NewGameOptionsFrame.readOnly
userName
in the users
table.
users
: SOCDBHelper.CREATE_ACCOUNT_COMMAND
SOCLocalRobotClient
thread.
SOCHandPanel.createAndAddResourceColorSquare(Color, String)
.
SOCHandPanel.createAndAddResourceColorSquare(Color, String)
.
type
among the scenario's item types.
SOCGameListAtServer.GAME_TIME_EXPIRE_MINUTES
minutes.
SOCVillage.distributeCloth(SOCGame)
results.
null
.
SOCServer.PROP_JSETTLERS_ACCOUNTS_ADMINS
, or null
if disabled.
SOCDBHelper.initialize(String, String, Properties)
).
SOCGameHandler.SOC_DEBUG_COMMANDS_HELP
, etc.
SOCGameHandler.SOC_DEBUG_COMMANDS_HELP
, etc.
SOCDevCardConstants
.
SOCGameHandler.SOC_DEBUG_COMMANDS_HELP
, etc.
name
or player number, find that player in the game.
SOCGame.debugFreePlacement
during initial placement? Set in SOCGame.putPiece(SOCPlayingPiece)
.
String
s.
System.err
or as SOCGameTextMsg
sent to the game's members,
by calling SOCRobotBrain.debugPrintBrainStatus()
.
SOCRobotClient.debugRandomPause
is true but not SOCRobotClient.debugRandomPauseActive
,
frequency of activating it; checked for each non-SOCGameTextMsg
and non-SOCGameServerText
message received during our own turn.
SOCRobotClient.debugRandomPauseActive
is activated, pause this many seconds
before continuing.
SOCRobotClient.debugRandomPause
currently in effect for this client?
If so, store messages into SOCRobotClient.debugRandomPauseQueue
instead of
sending them to SOCRobotClient.robotBrains
immediately.
SOCRobotClient.debugRandomPauseActive
is true, store incoming messages
from the server into this queue until SOCRobotClient.debugRandomPauseUntil
.
SOCRobotClient.debugRandomPauseActive
is true, resume at this time;
same format as System.currentTimeMillis()
.
MonopolyStrategy.getMonopolyChoice()
if so.
SOCGame.destroyGame()
via SOCGameList.deleteGame(String)
.
SOCGame.destroyGame()
.
null
if they cancelled; see PTEMain.NewDestSrcDialog.src
PTEMain.OpenDestSrcDialog.src
#
and are trimmed; may be null or "" on blank lines.
null
;
same format as PropsFileParser.KeyPairLine.comment
null
if none.
null
if none.
SOCPlayerClient.dispose()
.
SOCClientData.getcurrentCreatedChannels()
.
SOCClientData.getCurrentCreatedGames()
.
null
.
SOCDevCardAction
message; before v2.0.00, this type was DEVCARD
(class name SOCDevCard
).
Graphics.drawString
).
SOCBoardPanel.diceNumberCircleFont
.
SOCDiceResultResources
- All resources gained by players from a dice roll.
SOCPlayerInterface.game
's scenario's
descriptive text in a popup window when the client joined,
or if the game has no scenario.
SOCChoosePlayerDialog.doLayout()
),
and not change position again afterwards.
SOCGame.getFirstPlayer()
change?
SOCGame.setFirstPlayer(int)
will also calculate
its lastPlayer based on vacant seats and firstPlayer.
SOCGame.WAITING_FOR_DISCARDS
or SOCGame.WAITING_FOR_PICK_GOLD_RESOURCE
.
GameStatisticsFrame.RollPanel.values
SOCPlayerClient.GameAwtDisplay.newGameOptsFrame
reference to null if it's to this frame.
PTEMain.NewDestSrcDialog.tfLang
, PTEMain.NewDestSrcDialog.tfRegion
, PTEMain.NewDestSrcDialog.tfDestFilename
.
SpeechBalloon.setBalloonPoint(boolean)
)
when the counter-offer is visible.
wantShip
)?
Container.doLayout()
, then if this is the first time placing it,
place the dialog in the top-center of the game window.
SOCHandPanel.doneBut
's label is Restart (SOCHandPanel.DONE_RESTART
)
SOCBoardPanel.hilight
, SOCBoardPanel.hoverTip
) if applicable.
_SC_FTRI
: In board mode SOCBoardPanel.SC_FTRI_PLACE_PORT
,
draw the possible coastal edges where the port can be placed, and if the SOCBoardPanel.hilight
cursor is at
such an edge, draw the port semi-transparently and a solid hilight line at the edge.
SOCBoardPanel.drawBoardEmpty_drawDebugShowPotentials(Graphics)
.
SOCBoardPanel.debugShowPotentials
[] is set, besides 8,
draw it on the board.
_SC_PIRI
game scenario on SOCBoardLarge
,
draw the path that the pirate fleet takes around the board.
_SC_FTRI
game scenario on SOCBoardLarge
,
draw markers at all Special Edges for the players to reach and be rewarded.
SOCBoardLarge
, draw markers at a set of Special Nodes for the players
to reach and be rewarded, retrieved with SOCBoardLarge.getAddedLayoutPart(String)
.
System.currentTimeMillis()
.
large board
.
SOCBoardPanel.is6player
), draw the ring of surrounding water/ports.
_SC_FTRI
,
dev cards or other items waiting to be claimed by any player.
SOCBoardPanel.superText1
, SOCBoardPanel.superText2
; if necessary, calculate SOCBoardPanel.superText1_w
and other fields.
SOCBoardPanel.superTextTop
; if necessary, calculate SOCBoardPanel.superTextTop_w
and other fields.
SOCRobotDM.FAST_STRATEGY
).
SOCPlayerElement.SETTLEMENTS
SOCPlayerElement.CLAY
, matching
up with each item of SOCPlayerElements.values
SOCCreateAccount.getEmail()
.
pa[]
elements can't be parsed over the network.
pa[]
elements can't be parsed over the network
with the current tokenizer.
SOCGameOption.OTYPE_ENUM
and SOCGameOption.OTYPE_ENUMBOOL
, descriptive text for each possible value;
null for other types.
IntPair.equals(IntPair)
, the order matters.
null
SOCPlayerClient.ClientNetwork.putNet(String)
, or null.
SOCPlayerTracker.addOurNewRoadOrShip(SOCRoad, HashMap, int)
;
how far away to look for possible future settlements
(level of recursion).
SOCPlayerTracker.EXPAND_LEVEL
for
SOCPlayerTracker.expandRoadOrShip(SOCPossibleRoad, SOCPlayer, SOCPlayer, HashMap, int)
.
ParsedPropsFilePair.cont
.
START3A
game state.
START3B
game state.
START3A
state.
START3B
state.
SOCGame.startTime
);
Same format as System.currentTimeMillis()
.
PropsFileWriter.write(List, String)
.
SOCRobotDM.threatenedRoads
or SOCRobotDM.goodRoads
in SOCRobotDM.smartGameStrategy(int[])
.
SOCRobotDM.goodSettlements
or SOCRobotDM.threatenedSettlements
.
SOCServerFeatures
constants for currently defined features.
dupeKeys
map.
SOCVersionedItem.isKnown
).
f
is multi-line.
SOCInventoryItemAction.canCancelPlay
flag position for sending over network in a bit field
SOCGameOption.optFlags
bitfield constant to indicate option should be dropped if unset/default.
SOCGameOption.optFlags
bitfield constant to indicate option is an internal property.
SOCInventoryItemAction.isKept
flag position for sending over network in a bit field
SOCInventoryItemAction.isVP
flag position for sending over network in a bit field
SOCLocalizedStrings.FLAG_SENT_ALL
.
Fog hex
color.
SOCBoardLarge.FOG_HEX
.
SOCBoardLargeAtServer.FOR_TRI_LANDHEX_COORD_MAIN
) on the short eastern side.
SOCForceEndTurnResult.getReturnedInvItem()
.
SOCGame.forceEndTurn()
SOCGame.forceEndTurn()
return values.
SOCGame.PLAY1
, already OK to end turn.
SOCBoardLarge.GOLD_HEX
or a canceled piece placement.
SOCBoardLarge.GOLD_HEX
or a canceled piece placement.
SOCGame.START1A
or SOCGame.START3A
.
SOCGame.START2A
.
SOCGame.PLAY1
, and SOCGame.endTurn()
should be called.
SOCGame.discard(int, SOCResourceSet)
,
or gain random resources by calling SOCGame.pickGoldHexResources(int, SOCResourceSet)
.
_SC_PIRI
,
the "pirate fortress" that this player must defeat to win.
Fortress
.
SOCBoardLargeAtServer.FOUR_ISL_LANDHEX_COORD_3PL
.
SOCBoardLargeAtServer.FOUR_ISL_LANDHEX_COORD_4PL
.
SOCBoardLargeAtServer.FOUR_ISL_LANDHEX_COORD_6PL
.
SOCMessageForGame
SOCMessageTemplate*
message types
(which all implement SOCMessageForGame
) are used for convenience for non-game messages
such as SOCLocalizedStrings
.
*ADDTIME*
command is used by a player.
SOCGameTimeoutChecker.run()
.
SOCGame
objects
SOCMessage
.
SOCGameList.GameInfo
; includes mutexes to synchronize game state access,
game options, and other per-game info
SOCRobotBrain.game
we're playing is on the 6-player board.
SOCGame.START2B
or SOCGame.START3B
to SOCGame.PLAY
).
SOCGame.getSpecialItem(String, int, int, int)
.
StringConnection
s)
SOCPlayerClient.GameOptionsTimeoutTask
) at 5 seconds.
game options defaults
.
game options info
.
SOCGameServerText
- Game text announcements from the server.
SOCGame.NEW
).
SOCPlayerClient.serverGames
that player has asked to join,
and been told they can't.
SOCGameTextMsg
- Game text from players.
SOCServer.robotCookie
.
SOCServer.generateRobotCookie()
.
SOCPlayer.addLegalSettlement(int, boolean)
.
SC_4ISL
).
SOCGameOption
s whose SOCGameOption.refreshDisplay()
methods have been called, and clear the internal static copy.
SOCGame.isSeatVacant(int)
, and game
option "PL" (maximum players) or SOCGame.maxPlayers
.
SOCPlayerInterface
's use, to set its size and position
SOCBoard.getBoardEncodingFormat()
version
SOCBoardLarge.BOARDHEIGHT_LARGE
by SOCBoardLarge.BOARDWIDTH_LARGE
,
unless gameOpts contains "_BHW" Board Height and Width.
BoardFactoryAtServer.createBoard
:
The default size BOARDHEIGHT_LARGE
by
BOARDWIDTH_LARGE
,
unless gameOpts contains a scenario ("SC") whose layout has a custom height/width.
SOCDevCard.getCardTypeName(int, SOCGame, boolean, SOCStringManager)
.
SOCGameOption.ChangeListener
, if any
GameHandler.processDebugCommand(StringConnection, String, String, String)
.
null
if none.
ParsedPropsFilePair.getDestOnly()
.
SOCRobotDM.SMART_STRATEGY
based on improvements to Win Game ETA (WGETA)
from buying knights or +1 VP cards, weighted by their distribution, tunable SOCRobotDM.devCardMultiplier
,
and effects on the leading opponent players' WGETAs.
SOCServerFeatures.SOCServerFeatures(String)
.
bonus
for eta
and our etaBonusFactor
.
_SC_PIRI
, get the Pirate Fortress
at this node location, if any.
_SC_PIRI
,
the "pirate fortress" that this player must defeat to win.
SOCMessageForGame.getGame()
for details.
SOCGame.getSpecialItem(String, int, int, int)
.
SOCGame
object.
SOCGameOption
s, if stored and parsed
SOCGameOption
s, as a packed string
SOCGame
data available; some games in SOCGameList.getGameNames()
may not have associated SOCGame data, so this enumeration may have fewer
elements than getGameNames()
or even 0 elements.
SOCGameListAtServer.GameInfoAtServer
.
SOCBoard.setHexLayout(int[])
value range.
StringConnection.setI18NStringManager(SOCStringManager, String)
.
SOCDevCard
s and other occasional items.
StringManager.get(String)
,
to look up and send the text of as part of this message.
StringManager.get(String)
,
to look up and send the text of as part of this message.
SOCResourceConstants.CLAY
to SOCResourceConstants.WOOD
,
excluding SOCResourceConstants.UNKNOWN
or SOCResourceConstants.GOLD_LOCAL
.
SOCResourceConstants.CLAY
to SOCResourceConstants.WOOD
,
excluding SOCResourceConstants.UNKNOWN
or SOCResourceConstants.GOLD_LOCAL
.
SOCBoardLarge.makeNewBoard(Map)
.
_SC_PIRI
,
get the list of Legal Sea Edges arranged for the players not vacant.
SOCPlayer.calcLongestRoad2()
.
SOCMoveRobberResult.getVictims()
.size() == 1.
SOCBoardPanel.isRotated()
.
SOCDiceResultResources.VERSION_FOR_DICERESULTRESOURCES
).
SOCVersionedItem.minVersion
and the option's current value.
SOCVersionedItem.minVersion
and the item's current value.
TradeOfferPanel.OFFER_MODE
, or TradeOfferPanel.MESSAGE_MODE
,
which has been set by using
TradeOfferPanel.setOffer(soc.game.SOCTradeOffer)
or TradeOfferPanel.setMessage(java.lang.String)
MonopolyStrategy.decidePlayMonopoly()
returns true.
SOCPossibleRoad.addNecessaryRoad(SOCPossibleRoad)
.
SOCPossibleSettlement.addNecessaryRoad(SOCPossibleRoad)
.
SOCPossibleRoad.addNewPossibility(SOCPossiblePiece)
.
SOCBoard.setNumberLayout(int[])
value range.
SOCInventoryItem.isVPItem()
.
_SC_PIRI
,
the number of SOCShip
s that have been converted to warships
to defend against the pirate fleet and attack the SOCFortress
.
null
.
SOCGame.PLACING_INV_ITEM
,
if any, from the most recent call to SOCGame.setPlacingItem(SOCInventoryItem)
.
game
.
SOCPlayerClient.ClientNetwork.SOC_PORT_DEFAULT
.
SOCStringManager.get(key)
.
_SC_FTRI
,
calculate if the player has any coastal settlement or city where
they can place a moved "gift" port without it being adjacent to another port,
and the edges where it could be placed next to such settlements or cities.
SOCBoard.FACING_NW
.
SOCBoard.SHEEP_PORT
.
SOCPossibleRoad
, SOCPossibleShip
).
SOCGame.getRobberyPirateFlag()
,
get the list of victims with adjacent settlements/cities or ships.
SOCBoardLarge.setPirateHex(int, boolean)
where rememberPrevious == true, get the previous coordinate
of the pirate.
SOCBoard.setRobberHex(int, boolean)
where rememberPrevious == true, get the previous coordinate
of the robber.
SOCGame.rollDice()
, figure out what resources a player gets on a given roll,
based on the hexes adjacent to the player's settlements and cities
and based on the robber's position.
SOCPossiblePiece.getType()
), the resources
a player needs to build or buy this possible piece.
_SC_PIRI
),
or null
if all sea edges are legal for ships.
SOCResourceConstants.CLAY
to SOCResourceConstants.WOOD
).
r
of the contents.
_SC_PIRI
, get the player's ship closest to their Fortress (the ship farthest west).
_SC_PIRI
, get the distance of this player's closest ship from their
SOCFortress
.
large sea board
.
large sea board
, get
this player's bitmask of land areas for tracking Special Victory Points (SVP).
SOCStringManager.getSpecial(SOCGame, String, Object...)
.
SOCStringManager.getSpecial(SOCGame, String, Object...)
.
SOCSpecialItem
s, if any.
SOCPlayer.getSpecialVP()
total.
large sea board
, get
this player's starting settlement land areas, encoded to send over the network
from server to client.
SOCServer.hasUtilityModeProperty()
, get the optional status message to print before exiting.
SOCGameOption.K_SC_CLVI
.
SOCVillage
s on the board, for scenario game option SOCGameOption.K_SC_CLVI
.
SOCPlayerTracker.recalcWinGameETA()
.
SOCRobotDM.SMART_STRATEGY
, add a bonus to the road or ship score
based on the change in win game ETA for this one road or ship
(possible settlements are 1 road closer, longest road bonus, etc).
SOCGameOption
s.
SOCPlayerClient.GameAwtDisplay.jg
button or by double-click,
or detail info displayed with SOCPlayerClient.GameAwtDisplay.gi
button.
Gold hex
color.
SOCBoardLarge.GOLD_HEX
tiles;
same numeric value as SOCResourceConstants.UNKNOWN
.
SOCPossibleRoad
and/or subclass SOCPossibleShip
)
we could build this turn; its SOCPossibleRoad.getNecessaryRoads()
is empty.
SOCRobotDM.scorePossibleSettlements(int, int)
SOCBoardPanel.HEXHEIGHT
, in unscaled internal pixels, for use with various board graphics.
"authentication request"
message.
SOCAccountClient.MAIN_PANEL
unless SOCAccountClient.connPanel
is already showing.
SOCServerFeatures.FEAT_CHANNELS
: Server connection is complete.
GAMEOPTIONINFO
message per option keyname.
ServerGametypeInfo.receiveInfo(SOCGameOptionInfo)
.
SOCGame
and
SOCPlayerInterface
so user can join the game
SOCServer.handleLEAVEGAME(StringConnection, SOCLeaveGame)
.
SOCServer.handleLEAVEGAME(StringConnection, SOCLeaveGame)
.
SOCDisplaylessPlayerClient.handlePLAYERELEMENT(SOCPlayerElement)
.
SOCDisplaylessPlayerClient.handlePLAYERELEMENT(SOCPlayerElement)
.
SOCDisplaylessPlayerClient.handlePLAYERELEMENT(SOCPlayerElement)
.
SOCDisplaylessPlayerClient.handlePLAYERELEMENT(SOCPlayerElement)
.
SOCRobotClient.brainQs
.
SOCPlayerTracker
s.
SOCScenario
info.
SOCMessage.SERVERPING
.
"status"
message.
game option
"N7C"
.
SOCGameOption.ChangeListener
?
SOCChoosePlayerDialog.doLayout()
should manually lay out component locations.
key
's String.hashCode()
.
SOCGame.getOwnerLocale()
?
Initially false, set true in SOCGameListAtServer.addMember
if needed.
SOCGame.vp_winner
?
For example, scenario _SC_CLVI
will end the game if
less than half the SOCVillage
s have cloth remaining.
SOCBoardLarge
large board / sea board?
If true, our board's SOCBoard.getBoardEncodingFormat()
must be SOCBoard.BOARD_ENCODING_LARGE
.
SOCBoardLarge
large board / sea board?
If true, the board's SOCBoard.getBoardEncodingFormat()
must be SOCBoard.BOARD_ENCODING_LARGE
.
SOCGameList.takeMonitor()
/ releaseMonitor.
game option
values?
Checked in constructors for possible stderr option-values printout.
SOCServer.parseCmdline_DashedArgs(String[])
.
SOCGameOptionGetInfos.OPTKEY_GET_I18N_DESCS
along with SOCGameOptionGetInfos.optkeys
.
SOCPlayer.getCurrentOffer()
.
SOCServer.props
contains a property which is used to run the server in Utility Mode
instead of Server Mode.
SOCBoardPanel.renderPortImages()
.
SOCBoard.BOARD_ENCODING_ORIGINAL
).
SOCBoard.BOARD_ENCODING_6PLAYER
).
SOCBoardPanel.hexCornersY
[] coordinates when used as (y,x) on rotated board.
SOCBoardPanel.IMAGEDIR
's GIF files.
SOCBoard.hexLayout
,
which is sometimes called its "hex number".
SOCBoardLayout.getHexLayout()
.
SOCBoardPanel.hexX_6pl
, SOCBoardPanel.hexY_6pl
from SOCBoardPanel.hexX_st
, SOCBoardPanel.hexY_st
in unscaled board coordinates.
SOCBoardPanel.hexX_6pl
, SOCBoardPanel.hexY_6pl
from SOCBoardPanel.hexX_st
, SOCBoardPanel.hexY_st
in unscaled board coordinates.
SOCBoardPanel.HEXY_OFF_6PL
in SOCBoardPanel.findEdge(int, int, boolean)
, SOCBoardPanel.findHex(int, int)
, SOCBoardPanel.findNode(int, int)
.
SOCHandPanel.offer
message panel is showing, we must hide other controls.
SOCBoardPanel.hilight
a ship and not a road?
SOCCreateAccount.getHost()
for details and history.
findNode
, findEdge, findHex
SOCBoardPanel.BoardToolTip.hoverShipID
is also set.
_SC_PIRI
?
If true, SOCBoardPanel.BoardToolTip.hoverShipID
is also set.
NONE
,
PLACE_ROAD
, PLACE_SHIP, PLACE_SETTLEMENT,
PLACE_ROBBER for hex, or PLACE_INIT_SETTLEMENT for port.
Connection.host()
"PL"
hardcoded into the SOCGameOption class,
from SOCGameOption.getOption("PL", false)
.
"SC_WOND"
hardcoded into the SOCScenario class.
messageToGameKeyedSpecial
and messageToGameKeyedSpecialExcept
.
vers
, or all items valid at vers
,
to implement SOCVersionedItem.itemsNewerThanVersion(int, boolean, Map)
and SOCVersionedItem.itemsForVersion(int, Map)
.
vers
, or all options valid at vers
,
to implement SOCGameOption.optionsNewerThanVersion(int, boolean, boolean, Map)
and SOCGameOption.optionsForVersion(int, Map)
.
NodeLenVis.len
> 0 and SOCGame.hasSeaBoard
.
PropertiesTranslatorEditor.pair
or left it null.
SOCServer.checkScenarioOpts(Map, boolean, String)
and print any warnings it returns
to System.err
.
jsettlers.gameopt.*
server properties found.
--pw-reset=username
,
prompt for and change that user's password.
SOCBoardPanel.edgeMap
, SOCBoardPanel.nodeMap
, SOCBoardPanel.hexMap
,
SOCBoardPanel.hexIDtoNum
, SOCBoardPanel.hexX
, SOCBoardPanel.hexY
,
SOCBoardPanel.inactiveHexNums
.
SOCBoardPanel.edgeMap
's valid edges across 1 row of hexes,
for use by SOCBoardPanel.findEdge(int, int, boolean)
.
SOCDBHelper.initialize(String, String, Properties)
without throwing an exception.
SOCAccountClient.connPanel
/ SOCAccountClient.CONN_PANEL
.
SOCBoard.nodesOnLand
)
are established from land hexes, fill SOCBoardLarge.legalRoadEdges
.
SOCBoard.nodesOnLand
)
are established from land hexes, fill SOCBoardLarge.legalShipEdges
.
SOCBoardPanel.nodeMap
, set the node coordinates within a rectangular section
from (x1,y1) to (x2,y2) covering all nodes of one horizontal row of hexes.
SOCBoard.boardEncodingFormat
and initialize SOCBoard.nodesOnLand
accordingly.
SOCPlayer
's set of legal settlements.
SOCPlayer
's legalRoads set.
SOCPlayer
's legalRoads set.
SOCPlayer
's legalShips set.
PropertiesTranslatorEditor.strings
with the properties bundle at net/nand/util/i18n/gui/strings/pte.properties
in the default locale.
SOCAccountClient.MESSAGE_PANEL
, SOCAccountClient.MAIN_PANEL
.
SOCHandPanel.addPlayer(String)
, cleared by SOCHandPanel.removePlayer()
.
Server.treat(String, StringConnection)
PropertiesTranslatorEditor.jtabClickedRow
.
PTEMain.NewDestSrcDialog.doDocEvent(DocumentEvent)
when text field contents change
SOCInventoryItem
placement.
null
.
SOCHandPanel.inventoryItems
; updated frequently by SOCHandPanel.updateDevCards(boolean)
development card
s this player holds,
along with occasional scenario-specific items.
SOCInventoryItemAction
message: Add or remove a SOCInventoryItem
(excluding SOCDevCard
s) from a player's inventory.
SOCHandPanel.inventory
; updated frequently by SOCHandPanel.updateDevCards(boolean)
SOCInventoryItem
was rejected by the server.
SOCBoardPanel.isRotated
);
set in constructor by checking SOCBoard.getBoardEncodingFormat()
<= SOCBoard.BOARD_ENCODING_6PLAYER
and SOCGame.maxPlayers
> 4.
SOCGame.maxPlayers
.
SOCGame.startGame()
.
PropertiesTranslatorEditor.setDestIsNew(List)
has been called
ParsedPropsFilePair.setDestIsNew(List)
has been called.
flags
field?
SOCDBHelper.initialize(String, String, Properties)
and connect to the database?
True if db is connected and available; false if never initialized,
or if SOCDBHelper.cleanup(boolean)
was called.
SOCGame.START1A
- SOCGame.START3B
and SOCGame.STARTS_WAITING_FOR_PICK_GOLD_RESOURCE
.
FilterInputStream.available()
.
FilterInputStream.available()
.
FilterInputStream.available()
.
NEW
)?
SOCScenarioInfo.getScenarioKey()
is unknown; used in reply from server to client.
SOCBoard.getBoardEncodingFormat()
.
SOCForceEndTurnResult.getResourcesGainedLost()
?
AskDialog.checkSizeAndFocus()
is called.
NEW
),
not SOCInventoryItem.isPlayable()
or SOCInventoryItem.isKept()
?
NewGameOptionsFrame
, we've
sent the nickname (username) and password to the server and are waiting for a response.
_SC_PIRI
, if true and
SOCGame.canPickGoldHexResources(int, SOCResourceSet)
in state SOCGame.WAITING_FOR_PICK_GOLD_RESOURCE
,
this player's "gold hex" free resources include victory over a pirate fleet attack at a dice roll.
PLAYABLE
),
not newly given (NEW
)?
SOCGame.PLACING_INV_ITEM
) when played?
If so, when the item is played, caller should call SOCGame.setPlacingItem(SOCInventoryItem)
.
SOCGame.hasSeaBoard
,
Does not check getNumPieces(SHIP)
.
SOCGame.canMoveShip(int, int, int)
to check the ship's requested new location.
SOCBoardPanel.PANELX
and SOCBoardPanel.PANELY
.
SOCBoardPanel.panelMinBW
x SOCBoardPanel.panelMinBH
pixels.
SOCBoardPanel.PANELX
x SOCBoardPanel.PANELY
pixels?
If so, use SOCBoardPanel.scaleToActualX(int)
, SOCBoardPanel.scaleFromActualY(int)
,
etc to convert between internal and actual screen pixel coordinates.
rotated
and/or scaled up
.
_SC_PIRI
).
_SC_PIRI
, is this ship upgraded to a warship?
Counts down sh
's player's SOCPlayer.getNumWarships()
while it looks for sh
among the ships from SOCPlayer.getRoads()
,
which is in the same chronological order as warship conversions.
control characters
,
no line separators or paragraph separators
.
SOCMessage.isSingleLineAndSafe(String)
that can optionally
allow SOCMessage.sep_char
or SOCMessage.sep2_char
.
AskDialog.checkSizeAndFocus()
already set the size
of a multi-line dialog?
Special Building Phase
?
Includes game state SOCGame.SPECIAL_BUILDING
, and placement game states during this phase.
SOCPlayer.checkTradeRouteFarEndClosed(SOCShip, int)
.
SOCPlayer.isTradeRouteFarEndClosed(SOCShip, int, HashSet, List)
if it finds a village at any far end.
SOCServer.databaseUserAdmins
whitelist, if that whitelist is being used?
c
valid in both ISO-8859-1 and ISO-8859-15?
If not, it should be escaped (\uXXXX
) in the output file.
vers
.
SOCInventoryItem.itype
SOCPlayerClient.GameAwtDisplay.chlist
,
or create new channel named in SOCPlayerClient.GameAwtDisplay.channel
.
PropertiesTranslatorEditor.init()
SOCBoardLarge
with SOCBoardLarge.hasSpecialEdges()
;
send any changes to special edges from the starting board layout.
PropertiesTranslatorEditor.jtab
, created in PropertiesTranslatorEditor.init()
, populated in #showPairInPane()
PropertiesTranslatorEditor.jpane
, created and populated in #showPairInPane()
PropertiesTranslatorEditor.jtab
, or -1.
PropertiesTranslatorEditor.jtab
, or -1
SC_4ISL
for The Four Islands.
SOCScenarioPlayerEvent.CLOTH_TRADE_ESTABLISHED_VILLAGE
:
Cloth Trade with neutral villages
.
SC_CLVI
for SOCScenarioPlayerEvent.CLOTH_TRADE_ESTABLISHED_VILLAGE
:
Cloth Trade with neutral villages
.
SOCScenarioGameEvent.SGE_FOG_HEX_REVEALED
.
SC_FOG
for SOCScenarioGameEvent.SGE_FOG_HEX_REVEALED
(The Fog Islands scenario).
_SC_FTRI
for the Forgotten Tribe.
SC_FTRI
for the Forgotten Tribe.
SC_NSHO
for New Shores.
fortresses
.
SC_PIRI
for Pirate Islands and fortresses
.
SOCScenarioPlayerEvent.SVP_SETTLED_ANY_NEW_LANDAREA
.
SOCScenarioPlayerEvent.SVP_SETTLED_EACH_NEW_LANDAREA
.
SC_TTD
for Through The Desert.
_SC_WOND
for Wonders.
SC_WOND
for Wonders.
SOCDiscardOrGainResDialog.isDiscard
.
SOCInventory.PLAYABLE
to SOCInventory.KEPT
.
SOCInventory.PLAYABLE
, was never SOCInventory.NEW
).
NEW
)?
null
for comments at the end of the file
null
for any comment at the end of the file
"_nolocaliz"
, it should be present only in the
source language (something.properties), and never localized (something_lang.properties).
SOCDevCardConstants.KNIGHT
knight/robber card type, for version 1.x clients or servers
SOCHandPanel.knightsSq
.
SOCPlayerInterface.updateAtGameState()
has been called at least once,
or the constructor was called with a non-zero SOCGame.getGameState()
.
SOCBoardLargeAtServer.LANDHEX_COORD_ISLANDS_ALL_4PL
.
SOCBoardLargeAtServer.LANDHEX_COORD_ISLANDS_ALL_4PL
.
SOCBoard.makeNewBoard_landHexTypes_v1
[].
SOCBoard.makeNewBoard_landHexTypes_v2
[].
SOCBoard.HEXCOORDS_LAND_V1
or SOCBoard.HEXCOORDS_LAND_V2
.
SOCBoardLarge.hexLayoutLg
.
SOCHandPanel.updateValue(PlayerClientListener.UpdateType)
;
for items not appearing in SOCPlayerElement
.
SOCHandPanel.lroadLab
Preferences
key in PTEMain.userPrefs
for directory of the most recently edited properties file.
PTEMain.LAST_EDITED_DIR
, or null.
OpeningBuildStrategy.planInitRoad()
.
SOCPlayerInterface.update(Graphics)
when true.
c
is leaving the server; remove from all channels it was in.
c
is leaving the server; remove from all games it was in.
c
leaves the channel ch
.
SOCBoard.nodesOnLand
.
SOCBoardLarge.hexLayoutLg
.
_SC_PIRI
),
or null
if all sea edges are legal for ships.
SOCBoardPanel.hexes
, SOCBoardPanel.rotatHexes
, and SOCBoardPanel.dice
.
null
, as in Locale.getDefault()
.
SOCServer.clientHasLocalizedStrs_gameScenarios(StringConnection)
,
and this client's locale is not null
and has at least some localized scenario strings
(see that method's javadoc for details).
Locale.toString()
;
Or server's active optional features, or null, as in SOCServerFeatures.getEncodedList()
.
null
.
null
, as in Locale.toString()
.
SOCLocalizedStrings
- Localized i18n strings for items such as game options or scenarios.
SOCScenario
names and descriptions with strings from the server.
SOCScenario
s.
localTCPServer
has been started.
SOCHandPanel.updateValue(PlayerClientListener.UpdateType)
;
for items not appearing in SOCPlayerElement
.
SOCResourceConstants
, or -1
SOCPlayerTracker.updateLRPotential(SOCPossibleRoad, SOCPlayer, SOCRoad, int, int)
;
how far away to look for possible future roads
(level of recursion).
SOCHandPanel.larmyLab
PTEMain
.
SOCAccountClient.nick
, SOCAccountClient.pass
, etc,
SOCAccountClient.status
display and SOCAccountClient.submit
button.
SOCPlayerClient.GameAwtDisplay.mainGBL
SOCPlayerClient.GameAwtDisplay.mainPane
SOCPlayerClient.GameAwtDisplay.initVisualElements()
and SOCPlayerClient.GameAwtDisplay.initMainPanelLayout(boolean, SOCServerFeatures)
.
SOCPlayerClient.GameAwtDisplay.mainPane
layout status, in case
SOCPlayerClient.GameAwtDisplay.initMainPanelLayout(boolean, SOCServerFeatures)
is
called again after losing connection and then connecting to
another server or starting a hosted tcp server.
SOCPlayerClient.GameAwtDisplay.mainPane
layout status, in case
SOCPlayerClient.GameAwtDisplay.initMainPanelLayout(boolean, SOCServerFeatures)
is
called again after losing connection and then connecting to
another server or starting a hosted tcp server.
SOCBoardLargeAtServer.makeNewBoard(Map)
, check port locations and facings, and make sure
no port overlaps with a land hex.
numPath
(SOCBoard.makeNewBoard_numPaths_v1
).
numPath
(SOCBoard.makeNewBoard_numPaths_v2
).
SOCBoardLargeAtServer.makeNewBoard(Map)
, hide these hexes under SOCBoardLarge.FOG_HEX
to be revealed later.
SOCBoard.makeNewBoard(Map)
, place the land hexes, number, and robber,
after shuffling landHex[].
SOCBoardLargeAtServer.makeNewBoard(Map)
, place the land hexes, number, and robber,
after shuffling landHexType[].
SOCBoardLargeAtServer.makeNewBoard(Map)
, place the land hexes, number, and robber
for multiple land areas, after shuffling their common landHexType[].
SOCBoardLargeAtServer.makeNewBoard(Map)
, after placing
land hexes and dice numbers into SOCBoardLarge.hexLayoutLg
,
fine-tune the randomized gold hex placement:
Find and separate adjacent gold hexes.
SOCBoardLargeAtServer.makeNewBoard(Map)
, after placing
land hexes and dice numbers into hexLayoutLg
and numberLayoutLg
,
separate adjacent "red numbers" (6s, 8s)
and make sure gold hex dice aren't too frequent.
SOCBoardLargeAtServer.makeNewBoard_placeHexes_moveFrequentNumbers(int[], ArrayList, int, String)
.
SOCBoardLargeAtServer.makeNewBoard_placeHexes_moveFrequentNumbers(int[], ArrayList, int, String)
.
SOCBoardLargeAtServer.makeNewBoard(Map)
, remove some nodes from legal/potential initial placement
locations.
SOCScenarioInfo.scKey
marker "?"
from client to ask for any new or changed scenarios
between the client and server versions.
SOCScenarioInfo.scKey
marker "-"
from server to indicate this is the end of the list of SCENARIOINFOs.
SOCBoard.getBoardEncodingFormat()
supported in this version.
SOCBoard.DESERT_HEX
).
SOCBoardLarge.FOG_HEX
) for this encoding.
#players[]
buttons to show on a single horizontal line.
SOCResourceConstants.UNKNOWN
)
SOCAccountClient.messageLabel
.
SOCGameServerText
game text message to a game.
SOCGameServerText
game text message (with parameters) to a game.
SOCGameServerText
game text message (with parameters) to a game,
optionally with special formatting like {0,rsrcs}, optionally excluding one connection.
SOCGameServerText
game text message (with parameters) to a game,
optionally with special formatting like {0,rsrcs}, optionally excluding one connection.
SOCGameServerText
game text message (with parameters) to a game,
optionally with special formatting like {0,rsrcs}, optionally excluding some connections.
SOCGameServerText
or SOCGameTextMsg
game text message to a player.
SOCGameServerText
game text message to a player.
SOCGameServerText
game text message with arguments to a player.
SOCGameServerText
game text message with arguments to a player,
with special formatting like {0,rsrcs}.
SOCDevCardConstants.UNKNOWN
).
SOCResourceConstants.CLAY
)
SOCPossiblePiece.PICK_SPECIAL
, but nothing currently uses -1.
SOCDevCardConstants.ROADS
).
SOCBuildingPanel.doLayout()
.
SOCGame.MAXPLAYERS
in standard 1.0.6).
SOCBoardPanel.isRotated
.
Version.versionNumber()
.
SOCBoardPanel.updateMode()
.
TradeOfferPanel.MESSAGE_MODE
to show TradeOfferPanel.messagePanel
,
or TradeOfferPanel.OFFER_MODE
to show TradeOfferPanel.offerPanel
.
MonopolyStrategy.decidePlayMonopoly()
,
such as SOCResourceConstants.CLAY
or SOCResourceConstants.SHEEP
SOCRobotBrain
's player.
MouseListener
.
SOCHandPanel.svpSq
or SOCHandPanel.svpLab
to get more info.
MouseListener
.
MouseListener
.
SOCBoardPanel.mode
, update the hovering 'hilight' piece (SOCBoardPanel.hilight
}.
ColorSquareListener
is attached, and value changes,
the listener will be called.
SOCDiscardOrGainResDialog.okBut
and SOCDiscardOrGainResDialog.clearBut
.
MouseListener
.
SOCGame.hasSeaBoard
.
SOCMessage.MOVEPIECEREQUEST
.
_SC_PIRI
,
move the pirate fleet's position along its path.
_SC_PIRI
,
move the pirate fleet's position along its path.
SOCBoardPanel.MOVE_SHIP
mode, the edge coordinate
from which we're moving the ship.
SOCBoardPanel.MOVE_SHIP
mode, true if the ship being moved
is a warship in scenario option _SC_PIRI
.
SOCBoardPanel.MOVE_SHIP
mode, the edge coordinate to which we're
moving the ship, 0 otherwise.
AskDialog.isMsgMultiLine
), or null
TradeOfferPanel.MessagePanel.msg
contains the entire text.
TradeOfferPanel.MessagePanel.msg
contains the entire text.
AskDialog.msg
.
SOCStatusMessage.SV_NEWCHANNEL_TOO_MANY_CREATED
.
SOCStatusMessage.SV_NEWGAME_TOO_MANY_CREATED
.
SOCPlayerElement.CLAY
, ORE, SHEEP, WHEAT, SOCPlayerElement.WOOD
.
SOCDevCard.getItemName(SOCGame, boolean, SOCStringManager)
can just use the
strKey
or aStrKey
keys already looked up for the constructor super call.
SOCPlayerInterface.doLayout()
.
SOCPlayerTracker.recalcWinGameETA()
.
SOCPlayerTracker.recalcWinGameETA()
.
SOCInventory.OLD
.SOCInventory.PLAYABLE
and SOCInventory.KEPT
.
ParsedPropsFilePair.FileKeyEntry.key
can still be edited.
SOCChannels
, SOCGames
)) when a new
connection comes, part 2 - c has been accepted and added to a connection list.
PropertiesTranslatorEditor.isDestNew
, optional set of header comments, or null.
SOCGame.resetAsCopy()
NEW
to PLAYABLE
.
NewGameOptionsFrame
window
SOCBuildingPanel.gameInfoBut
click, or null.
getValidNickname(true)
SOCGameTextMsg.SERVERNAME
SOCBoard.FACING_NE
is 1,
SOCBoard.FACING_E
is 2, etc; SOCBoard.FACING_NW
is 6.
SOCBoard.FACING_NE
is 1,
SOCBoard.FACING_E
is 2, etc; SOCBoard.FACING_NW
is 6.
SOCBoard.MISC_PORT
to SOCBoard.WOOD_PORT
).
SOCBoardPanel.mode
s.
SOCBoardLargeAtServer.NSHO_LANDHEX_COORD_ISL
).
SOCBoardLargeAtServer.NSHO_LANDHEX_COORD_MAIN
.
SOCBoardLargeAtServer.NSHO_LANDHEX_COORD_ISL
.
null
or "", to avoid adjacent delimiters
large sea board
,
player element type for asking to choose
resources from the gold hex after a dice roll,
during the WAITING_FOR_PICK_GOLD_RESOURCE
game state.
SOCChoosePlayerDialog.buttons
and SOCChoosePlayerDialog.players
.
SOCBoardLayout.getNumberLayout()
.
SOCGame.OVER
or higher
from an earlier/lower state.
GameHandler.startGame(SOCGame)
has been called
and game play has begun.
SOCDiscardOrGainResDialog.pick
.
SOCVillage.takeCloth(int)
returns less than the amount needed.
SOCHandPanel.updateValue(PlayerClientListener.UpdateType)
;
for items not appearing in SOCPlayerElement
.
SOCGame.devCardDeck
for SOCGame.buyDevCard()
.
SOCDiscardOrGainResDialog.keep
, or must gain this many resources.
SOCHandPanel.updateValue(PlayerClientListener.UpdateType)
;
for items not appearing in SOCPlayerElement
.
SOCBoard.hexLayout
).
_SC_PIRI
,
the number of SOCShip
s that are converted to warships.
TradeOfferPanel.OFFER_HEIGHT
)
when the "offer"/"accept"/"reject" buttons are showing.
SOCHandPanel.offer
message panel
is showing something, we must hide other controls.
SOCHandPanel.offerHidesControls
or SOCHandPanel.offerCounterHidesFace
?
TradeOfferPanel
.
SOCHandPanel.offer
message panel
is showing something, we must hide other controls.
SOCHandPanel.offerHidesControls
or SOCHandPanel.offerCounterHidesFace
?
SOCHandPanel.offer
is holding a discard message
(SOCHandPanel.TRADEMSG_DISCARD
) or a gold hex pick-resources message
(SOCHandPanel.TRADEMSG_PICKING
).
SOCHandPanel.offer
was holding an active trade offer
before SOCHandPanel.offerIsResetMessage
or SOCHandPanel.offerIsDiscardOrPickMessage
was set.
SOCHandPanel.offer
is holding a message related to a board-reset vote.
SOCInventory.PLAYABLE
)
or is kept in hand until the end of the game (state SOCInventory.KEPT
) such as a Victory Point card.
SOCGame.playerWithLargestArmy
during
SOCGame.saveLargestArmyState()
/ SOCGame.restoreLargestArmyState()
.
SOCSetSpecialItem.OP_SET
, SOCSetSpecialItem.OP_CLEAR
, SOCSetSpecialItem.OP_PICK
or SOCSetSpecialItem.OP_DECLINE
.
SOCSetSpecialItem.OP_SET
, SOCSetSpecialItem.OP_CLEAR
, or SOCSetSpecialItem.OP_PICK
:
The client's request is declined.
SOCRobotBrain
's player.
PropertiesTranslatorEditor
.
SOCSetSpecialItem.toString()
SOCGameOption.FLAG_DROP_IF_UNUSED
.
SOCPlayerClient.sVersion
is less than SOCNewGameWithOptions.VERSION_FOR_NEWGAMEWITHOPTIONS
(1.1.07).
vers
.
"?I18N"
sent from client when its locale isn't en_US
.
null
.
SOCGameOption
s, or null if none.
SOCGameOption
), or null
Game options
, or null
SOCGameOption.refreshDisplay()
if called by SOCGameOption.ChangeListener
s.
SOCGameOption.packOptionsToString(Map, boolean)
format.
SOCGameOption.OTYPE_ENUM
.
SOCGameOption.optType
) value known at this version
SOCGameOption.maxIntValue
, default value is "")
SOCGameOption.OTYPE_STR
) but hidden from view; is NOT encrypted,
but contents show up as "*" when typed into a text field.
SOCRobotBrain
's player
SOCRobotBrain
's player
SOCRobotBrain.setOurPlayerData()
SOCRobotBrain.setOurPlayerData()
.
SOCRobotDM.ourPlayerData
's player number.
SOCRobotNegotiator.ourPlayerData
's player number.
known options
' current values.
known scenarios
.
SOCPlayerInterface.needRepaintBorders
) clearing stray pixels
from the borders between the components.
SOCPlayerInterface.needRepaintBorders
false.
SOCConnectOrPracticePanel.connserv
SOCConnectOrPracticePanel.runserv
, or null if can't run.
SOCBoardPanel.panelMinBW
.
SOCBoardPanel.isLargeBoard
, padding on right-hand side, in internal coordinates (like SOCBoardPanel.panelMinBW
).
SOCSpecialItem.Requirement
objects.
ParsedPropsFilePair.cont
:
Source and dest file-pair key-by-key contents, from parsing; does not contain ParsedPropsFilePair.destOnlyPairs
.
ParsedPropsFilePair.destFile
;
call ParsedPropsFilePair.parseSrc()
before calling this method, so this method
can merge the structures together into ParsedPropsFilePair.cont
.
SOCGameOption.packValue(StringBuilder)
or
SOCGameOption.packOptionsToString(Map, boolean)
.
ParsedPropsFilePair.srcFile
.
SOCPlayerClient.GameAwtDisplay.nick
while connecting to server, or blank
SOCPlayerClient.nickname
.
SOCCreateAccount.getPassword()
for details and history.
users
: SOCDBHelper.PASSWORD_UPDATE
Pause
for less time;
speeds up response in 6-player games.
AskDialog.checkSizeAndFocus()
.
practiceServer
,
not localTCPServer
.
SOCSetSpecialItem.OP_PICK
requests, subclass SOCPossiblePickSpecialItem
.
SOCMessage.PICKRESOURCESREQUEST
.
Special Item
, using a
SOCSetSpecialItem
(PICK, typeKey, gi, pi, owner=-1, coord=-1, level=0)
message.
Special Item
.
SOCPlayer.fortress
).
SOCPlayingPiece.MIN
to (SOCPlayingPiece.MAXPLUSONE
- 1)
SOCPlayingPiece
constants,
or -1 to request the Special Building Phase.
SOCPlayingPiece.CITY
-2 is used from server to reject request to buy a Development Card.
SOCPlayingPiece.CITY
SOCPlayingPiece.CITY
SOCPossiblePiece.ROAD
, SOCPossiblePiece.CITY
, etc.
_SC_CLVI
village cloth count, or
_SC_PIRI
pirate fortress strength.
_SC_CLVI
village cloth count, or
_SC_PIRI
pirate fortress strength.
SOCBoardLargeAtServer.PIR_ISL_LANDHEX_COORD_PIRI
SOCBoardLargeAtServer.PIR_ISL_SEA_EDGES
(given out to non-vacant players, not strictly matching player number).
SOCBoardLarge.makeNewBoard(Map)
.
_SC_PIRI
,
the pirate fleet's position on its path (PP).
SOCBoardPanel.isLargeBoard
.
SOCRobotBrain.expectPLACING_SETTLEMENT
), then
call client.putPiece
(game
, SOCRobotBrain.whatWeWantToBuild
).
SOCBoard.hexLayout
and setting 2 elements of SOCBoard.nodeIDtoPortType
.
_SC_FTRI
, place a "gift" port at this edge.
_SC_FTRI
in game state SOCGame.PLACING_INV_ITEM
, place
the "gift" port at this edge.
_SC_FTRI
, place a "gift" port at this edge.
PLACING_EXTRA
to give the item details such as SOCInventoryItemAction.itemType
and SOCInventoryItemAction.canCancelPlay
.
SOCInventoryItem
held in SOCGame.getPlacingItem()
.
SOCGame.hasSeaBoard
.
SOCGame.hasSeaBoard
, and a player has bought and is placing a ship.
SOCGame.PLACING_INV_ITEM
, or null.
SOCGame.PLACING_ROBBER
,
the robber is being moved because a knight card
has just been played.
START1B
, START2B
, START3B
.
START1B
, START2B
, START3B
.
OpeningBuildStrategy.firstSettlement
or OpeningBuildStrategy.secondSettlement
).
SOCRobotDM.planStuff(int)
, if we have a road building card, make sure we build two roads first.
SOCInventory.NEW
or SOCInventory.KEPT
).
PLAYABLE
),
not newly given (NEW
)?
SOCHandPanel.inventory
.
SOCInventoryItem
, such as
a gift trade port in scenario _SC_FTRI
.
SOCPlayerClient
to decouple the presentation from the networking.PlayerClientListener.playerElementUpdated(SOCPlayer, UpdateType)
.SOCInventoryItem
has been added or removed from their hand's inventory.
SOCGame.getClientVersionMinRequired()
.
SOCHandPanel.interactive
.
playerNum(i)
is the player number gaining the resources in playerRsrc(i)
.
SOCBoardPanel.player
if in a game, or -1.
SOCInventoryItemAction.CANNOT_PLAY
SOCPlayingPiece.VILLAGE
SOCPlayerTracker.player
.getPlayerNumber()
PICK
a known special item.
PICK
of a known Special Item
,
or the server's DECLINE
of the client player's pick request.
playerRsrc(i)
is the resource set gained by player playerNum(i)
.
SOCGame.isSeatVacant(int)
to see if a position is occupied.
SOCHandPanel.playerSend
checkboxes selected during the
previous trade offer; if no previous offer, all are selected.
SET
or CLEAR
a known special item.
SET
or CLEAR
of a known Special Item
.
SOCInventoryItem
.
SOCInventoryItem
for the current player.
TimerTask
that's waiting to tell the server what they wanted to build.
SOCPlayerClient.ClientNetwork.SOC_PORT_DEFAULT
.
LocalStringServerSocket
, etc).
SOCBoard.getPortDescForType(int, boolean)
.
SOCBoard.hexLayout
on standard board.
SOCBoard.SHEEP_PORT
, on standard board.
SOCBoard.SHEEP_PORT
, on 6-player board.
SOCBoardLarge.makeNewBoard(Map)
hasn't been called yet.
Integer
node coordinate, value = SOCPossibleCity
SOCPlayerClient.ClientNetwork.prCli
; not connected to the network,
not suited for hosting multi-player games.
practice server
.
setPirateHex(rh, true)
was called.
setRobberHex(rh, true)
was called.
Component.getSize()
, not excluding insets.
System.out
in a standard format.
SOCServer.printUsage(boolean)
.
SOCGameOption
(s) which are too new,
as returned by SOCGameOption.optionsNewerThanVersion(int, boolean, boolean, Map)
*WHO*
to show members of current game,
or privileged *WHO* gameName|all|*
to show all connected clients or some other game's members.
jsettlers.accounts.admins
to restrict which usernames can create accounts.
jsettlers.accounts.open
to permit open registration.
jsettlers.accounts.required
to require that all players have user accounts.
robot connect cookie
to System.err during server startup.
jsettlers.gameopt.
to specify game option defaults in a server properties file.
jsettlers.locale
to specify the locale,
overriding the default from Locale.getDefault()
.toString().
PropertiesTranslatorEditor.PTSwingTableModel.getCellStatus(int, int)
PropertiesTranslatorEditor.jtab
.jtab
.properties
,
such as SOCServer.PROP_JSETTLERS_PORT
and SOCDBHelper.PROP_JSETTLERS_DB_URL
.
PropsFileParser.KeyPairLine.comment
lines, if any.null
.
\uXXXX
code escapes,
unlike Java's built-in Properties.store(java.io.OutputStream, String)
method."ISO-8859-1"
file encoding.
PropertiesTranslatorEditor
.SOCBoardPanel.hilight
was last determined in SOCBoardPanel.mouseMoved(MouseEvent)
.
SOCBoardPanel.hilight
was last determined in SOCBoardPanel.mouseMoved(MouseEvent)
.
Connection.outQueue
).
SOCPlayerClient.ClientNetwork.localTCPServer
for games we're hosting.
SOCPutPiece
message.
putPiece
, update road/ship-related info,
SOCPlayer.roadNodes
, SOCPlayer.roadNodeGraph
and SOCPlayer.lastRoadCoord
.
SOCPlayer.startingLandArea1
and SOCPlayer.startingLandArea2
.
ISO-8859-1
SOCInventoryItemAction.CANNOT_PLAY
action, corresponding
to SOCGame.canPlayInventoryItem(int, int)
return codes, or 0.
PTEMain.NewDestSrcDialog.baseName
, unless the user has manually changed it already.
_SC_PIRI
, get the player's next potential ship towards their Fortress.
SOCPlayer.getTotalVP()
to SOCGame.vp_winner
.
SOCGameOption.refreshDisplay()
.
SOCDevCardConstants.KNIGHT
) because of a bug in our
robot; should not attempt to play the same type again this turn.
SOCGameList.takeMonitorForGame(String)
.
SOCRemovePiece
- Remove a piece from the board; currently used only with ships.
removePiece(SOCPlayingPiece, null)
,
update player's SOCPlayer.specialVP
and related fields.
_SC_FTRI
,
remove a "gift" port at this edge for placement elsewhere.
_SC_FTRI
, remove a "gift" port
at this edge to be placed elsewhere.
PTEMain.NewDestSrcDialog.doDocEvent(DocumentEvent)
when text field contents change
SOCPlayerElement
and SOCGameTextMsg
messages.
SOCPlayerElement
and SOCGameTextMsg
messages.
null
.
_SC_WOND
scenario.
SOCBoardPanel.DelayedRepaint
will call repaint().
SOCServer.resetBoardAndNotify(String, int)
,
after any robots have left the old game.
SOCBoard.CLAY_HEX
] == the clay rarity,
as an integer percentage 0-100 of dice rolls.
SOCForceEndTurnResult.FORCE_ENDTURN_NONE
fog
.
fog
(server-side call).
Road
.
road
SOCLocalRobotClient.robotClients
.
SOCBoard.makeNewBoard(Map)
.
SOCGame.moveRobber(int, int)
or SOCGame.movePirate(int, int)
result.
SOCRobotClient
s.
SOCImARobot
.
SOCHandPanel.sittingRobotLockBut
;
non-null only if a robot is sitting there.
SOCDBHelper.ROBOT_PARAMS_QUERY
.
StringConnection
s connected to this server.
SOCServer.robots
SOCAuthRequest.ROLE_GAME_PLAYER
or SOCAuthRequest.ROLE_USER_ADMIN
.
SOCAuthRequest.role
for auth request: Play or watch games, join chat channels
SOCAuthRequest.role
for auth request: Create users
SOCGame.gameState
:
Always SOCGame.WAITING_FOR_DISCARDS
if any SOCPlayer.getResources()
total > 7.
SOCResourceConstants.CLAY
to SOCResourceConstants.WOOD
).
SOCBoardPanel.isRotated
.
SOCBoardPanel.IMAGEDIR
/rotat's GIF files.
EventQueue.invokeLater(Runnable)
.
EventQueue.invokeLater(Runnable)
.
EventQueue.invokeLater(Runnable)
.
Server.serverUp()
callback, then wait for new connections
and set them up in their own threads.
pair.unsavedDest
flag.
pair.unsavedSrc
flag.
games
: SOCDBHelper.SAVE_GAME_COMMAND
SOCPlayerInterface.textDisplaysLargerTemp
and SOCPlayerInterface.sbFixNeeded
.
SOCPlayerInterface.textDisplaysLargerTemp
and SOCPlayerInterface.sbFixNeeded
.
SOCPlayerInterface.textDisplaysLargerTemp
and SOCPlayerInterface.sbFixNeeded
.
PropertiesTranslatorEditor.PTSwingTableModel.sr
and PropertiesTranslatorEditor.PTSwingTableModel.sc
are the row and column of the previous matching cell, if any.
SOCScenarioInfo.getScenario()
),
or null
if SOCScenarioInfo.isKeyUnknown
or SOCScenarioInfo.noMoreScens
or if this message is from client to server.
_SC_FTRI
game state SOCGame.PLACING_INV_ITEM
,
boardpanel mode to place a port next to player's coastal settlement/city.
SOCGameOption.K_SC_PIRI
,
resources lost when they attack the player with an adjacent settlement or city
(SOCGame.RollResult.sc_piri_fleetAttackVictim
).
SOCGameOption.K_SC_PIRI
,
they may attack the player with an adjacent settlement or city.
_SC_PIRI
).
_SC_PIRI
,
the resources stolen from victim.
_SC_WOND
, player can build this many
levels (4) of their Wonder.
System.currentTimeMillis()
.
SOCBoardPanel.isScaled
.
SOCBoardPanel.isScaled
.
SOCBoardPanel.panelMinBW
, SOCBoardPanel.panelMinBH
)
SOCBoardPanel.panelMinBW
, SOCBoardPanel.panelMinBH
)
SOCBoardPanel.isScaled
.
_SC_PIRI
, the player's ship closest to the Fortress (the ship farthest west).
large sea board
,
the number of cloth held by this player.
large sea board
.
large sea board
,
bitmask of flags related to scenario player events.
large sea board
,
the player's number of Special Victory Points (SVP).
large sea board
,
bitmask of land areas for tracking Special Victory Points (SVP).
large sea board
,
bitmask: true if the player has been given a Special Victory Point for placing
a settlement in a given new land area.
large sea board
, or null.
_SC_PIRI
and
_SC_WOND
), evaluate and plan any special move.
scenarioGameStrategyPlan(..)
for _SC_PIRI
.
SOCRobotDM.buildingPlan
.
scenarioGameStrategyPlan(..)
for _SC_WOND
.
SOCScenarioInfo
- Client's request about available SOCScenario
s,
or server's reply about a single scenario.
SOCScenario
keynames for which we've
sent localized strings or all scenario info fields.
NewGameOptionsFrame.opts
contains the "SC"
game option, or null.
NewGameOptionsFrame.scenDropdown
's selected scenario, or null.
SOCGameOption
s, as a formatted string
from SOCGameOption.packOptionsToString(Map, boolean)
.
SOCRobotDM.SMART_STRATEGY
),
from SOCRobotDM.ourPlayerTracker
.getPossibleSettlements()
into SOCRobotDM.threatenedSettlements
and SOCRobotDM.goodSettlements
;
calculate those settlements' SOCPossiblePiece.getScore()
s.
SOCGame.maxPlayers
- 1,
regardless of number of players in the game.
SOCPlayerTracker
,
update its getETA()
and
its getRoadPath()
.
PropertiesTranslatorEditor.PTSwingTableModel.search(String, boolean)
was successful,
the search wrapped around the end of the table before finding a match.
SOCGame.pendingMessagesOut
, then empties that list.
SOCPlayerElement
(NUM_PICK_GOLD_HEX_RESOURCES
).
SOCSimpleRequest.SC_PIRI_FORT_ATTACK
to attack their
pirate fortress in scenario option _SC_PIRI
.
SOCSimpleRequest.SC_PIRI_FORT_ATTACK
to attack their
pirate fortress in scenario option _SC_PIRI
,
with optional value1
and value2
parameters.
whose turn it is
.
SOCClientData.scenariosInfoSent
, value indicating that the client
was sent all scenario info fields (not only localized scenario strings).
SOCClientData.scenariosInfoSent
, value indicating that the client
was sent localized scenario strings (not all scenario info fields), or that the client
requested them and no localized strings were found for that scenario.
SOCScenario
info.
SOCScenario
s.
SOCGameList.takeMonitor()
/ releaseMonitor.
SOCBoardLayout.numberLayout
to dice rolls:
SOCMessage.sep2
SOCMessage.sep2
, as character.
SOCMessage.sep
, as character.
SOCServerFeatures.featureList
.
Server.inQueue
.Server.cliConnDisconPrintsPending
.Server.cliVersionsConnected
.Server.cliVersionsConnected
.Server.inQueue
ServerGametypeInfo.optionSet
defaulting
to our client version's SOCGameOption.getAllKnownOptions()
.
SOCStringManager.serverManagerForClientLocale
using server's default locale.
"Server"
, the reserved nickname used when sending game text messages
from the server itself, not chat messages from players.
ColorSquare.GREY
.
ColorSquareListener
is attached, and value changes,
the listener will be called.
SOCHandPanel.getBlankStandIn()
bounds.
SOCInventoryItem
, such as a gift
trade port in scenario _SC_FTRI
.
SOCServer.CLI_VERSION_MIN
.
SpeechBalloon.setBalloonPoint(boolean)
)
when the counter-offer is visible.
Debug Paint Piece Mode
on or off, as directed by the server.
SOCVersionedItem.getDesc()
) and optional long description (SOCScenario.getLongDesc()
).
PropertiesTranslatorEditor.init()
will then ignore FileNotFoundException for destination.
ParsedPropsFilePair.destFile
is new and does not yet exist.
SOCBoardPanel.BoardToolTip.setHoverText(String, int)
to repaint, even if text hasn't changed.
ColorSquareListener
is attached, and value changes,
the listener will be called.
ocurr
with the same key
.
SOCChoosePlayerDialog.pi
)
and set SOCChoosePlayerDialog.didSetLocation
.
_SC_PIRI
,
set the player's number of warships.
SOCGame.PLACING_INV_ITEM
.
pl.setLandHexCoordinates
(SOCBoardLarge.getLandHexCoords()
).
SOCBoard.SHEEP_PORT
.
SOCBoard.getPortsLayout()
.
_SC_PIRI
).
SOCPlayer.getScenarioPlayerEvents()
based on a server message.
SOCPlayer.getScenarioPlayerEvents()
based on a server message.
SOCGameList.takeMonitor()
/ releaseMonitor.
SOCSetSpecialItem
- Special Item requests and change announcements.
SOCPlayer.getStartingLandAreasEncoded()
based on a server message.
Settlement
.
settlement
SOCBoardLarge.makeNewBoard(Map)
, with the Cloth Village
scenario,
create SOCVillage
s at these node locations.
SOCGame.hasSeaBoard
.
ship
SOCGame.hasSeaBoard
), button to buy a ship.
SOCGame.hasSeaBoard
.
SOCFortress
),
giving the options to attack if it's our player's;
for scenario option _SC_PIRI
.
SOCChoosePlayerDialog
to choose a player for robbery.
SOCPlayerInterface.ChooseRobClothOrResourceDialog
to choose what to rob from a player.
SOCPlayerClient.GameAwtDisplay.MESSAGE_PANEL
)
instead of the main user/password/games/channels panel (SOCPlayerClient.GameAwtDisplay.MAIN_PANEL
).
SOCHandPanel
(of other players) showing a
"Discarding..." or "Picking resource..." message?
SOCPlayerInterface.showingPlayerDiscardOrPick
and SOCPlayerInterface.showingPlayerDiscardOrPick_task
SOCPlayerInterface.showingPlayerDiscardOrPick
.
"SC"
), show the scenario
description, special rules, and number of victory points to win.
SOCServerFeatures
.
SOCServerFeatures
.
"simple action"
has occurred in the game and should be displayed.
SOCSimpleAction
- Generic message type for simple actions for players.
"simple request"
has been sent to the entire game, or the server
has replied to our own simple request, and this should be displayed.
SOCSimpleRequest
to the server.
SOCSimpleRequest
- Generic message type for simple requests by players.
SOCHandPanel.sitBut
;
non-null only if SOCHandPanel.sitButIsLock
.
SOCHandPanel.pname
to show if a seat is no-robots-allowed.
ParsedPropsFilePair.getContents()
.
SOCRobotDM.SMART_STRATEGY
).
SOCServer.DEBUG_COMMANDS_HELP
via SOCGameHandler.getDebugCommandsHelp()
.
SOCServer.maxConnections
field).
"jsserver.properties"
for the optional server startup properties file.
SOCServer.PROP_JSETTLERS_STARTROBOTS
property).
SOCBoard.BoardFactory
, used at client.SOCBoardLarge
for the server, to isolate
SOCBoardLargeAtServer.makeNewBoard(Map)
and simplify that parent class.SOCBoard.BoardFactory
to create SOCBoardLargeAtServer
s._SC_FTRI
, modal dialog to confirm placing a ship
at an edge with a "gift" trade port.SOCChoosePlayerRequest
,
it says which player the current player wants to
steal from.SOCInventory
.drawing
or playing
a development card; response to SOCPlayDevCardRequest
.parseDataStr(List<String>)
.
SOCGame.forceEndTurn()
.SOCGameHandler.endGameTurnOrForce(SOCGame, int, String, StringConnection, boolean)
.SOCBoardLarge
) with some scenarios.SOCFortress.STARTING_STRENGTH
.
"SC"
).
"SC"
).
SOCGame.rollDice()
.game options
,
SOCGame
object, and mutex for synchronization.game options
,
SOCGame
object, and clients (StringConnection
s).GameHandler
.SOCGameOption.OTYPE_UNKNOWN
).
SOCGameOption.OTYPE_BOOL
).
SOCGameOption.OTYPE_INT
).
SOCGameOption.OTYPE_INTBOOL
).
SOCGameOption.OTYPE_ENUM
).
SOCGameOption.OTYPE_ENUMBOOL
).
SOCGameOption.OTYPE_STR
or SOCGameOption.OTYPE_STRHIDE
).
getDesc()
.
SOCGameOption.OTYPE_ENUM
, SOCGameOption.OTYPE_ENUMBOOL
),
for restricting (trimming) values for a certain client version.
SOCGameOption.OTYPE_INT
, SOCGameOption.OTYPE_INTBOOL
),
for restricting (trimming) max value for a certain client version.
game options
.SOCGameOption
game option.game options
.game options
.SOCServer.checkForExpiredTurns(long)
,
and every 5 minutes to check for games that have expired
with SOCServer.checkForExpiredGames(long)
.SOCDevCard
or a scenario-specific item, held
in a player's hand to be played later or kept until scoring at the end of the game.SOCInventoryItem
s in a player's inventory.SOCInventoryItemAction.reasonCode
.
SOCMessage
type contains a keyed text field which needs
to be localized while sending to clients.SOCLocalizedStrings.TYPE_GAMEOPT
or SOCLocalizedStrings.TYPE_SCENARIO
, or request from client to get
localized strings for specific keys of certain item types.SOCServer
gets its own client thread.SOCMessage
type is always about a particular game
named in the message, or never about that game.game options
, to all clients.JOINGAME
.SOCPlayerInterface.SOCPI_osName
?
SOCPlayerInterface.SOCPI_isPlatformWindows
.
SOCPlayer.getSpecialVP()
.SOCPlayerClient.ClientNetwork.SOC_PORT_DEFAULT
.
SOCPlayerClient.GameDisplay
implementation for AWT.game option defaults
.game options info
(assume slow connection or server bug).SOCGame
.
SOCSetSpecialItem.OP_PICK
message.ship
playing piece.large sea board
.isKnown
false).
large sea board
.SOCScenario
info,
or server's reply with information on one available SOCScenario
(including localization).SOCScenarioInfo.parseDataStr(List)
for expected pa
format.
p
.
p
.
s
.
SOCSpecialItem
in the game and/or owning player's Special Item list.null
).
SOCBoardLarge
).SOCSpecialItem
s.NEW
.SOCStatusMessage.SV_OK
).
.properties
bundle files
with special methods for formatting JSettlers objects.bundlePath
with the default locale.
bundlePath
with a certain Locale.
== false
).
SOCBoardLarge
) with some scenarios.PropertiesTranslatorEditor.jtab
"CE"
and "VE"
.
SOCBoardLarge.SPECIAL_EDGE_DEV_CARD
, for
all Added Layout Parts which contain Special Edges when present.
SOCHandPanel.updateValue(PlayerClientListener.UpdateType)
;
for items not appearing in SOCPlayerElement
.
SOCPlayingPiece.specialVP
!= 0, the event for which the SVP was awarded.
SOCSpecialItem
s, if any, by type.
SOCSpecialItem
s, if any, by type.
ColorSquare
when clicked and value changes.
TradeOfferPanel.OfferPanel.counterOfferSquares
.
PropertiesTranslatorEditor.PTSwingTableModel.sr
and PropertiesTranslatorEditor.PTSwingTableModel.sc
are the row and column of the previous matching cell, if any.
PTEMain.NewDestSrcDialog.dest
null
if they cancelled; see PTEMain.OpenDestSrcDialog.dest
null
.
null
.
#
and are trimmed; may be null or "" on blank lines.
null
;
same format as PropsFileParser.KeyPairLine.comment
null
.
null
if none.
null
for a key defined only in the destination file, or for
empty strings or only whitespace.
SOCServer.srvShutPassword
.
SOCGame.NEW
).
_SC_PIRI
,
place each player's initial pieces.
SOCGame.startGame()
, fill and shuffle the development card deck.
SOCBoardLarge.landAreasLegalNodes
, because that set of
legal nodes is also the players' potential settlement nodes.
SOCPotentialSettlements.psList
within SOCPotentialSettlements.landAreasLegalNodes
?
0 if none, because the game has started.
SOCGame.hasSeaBoard
and the board defines Land Areas
(null != SOCBoardLarge.getLandAreasLegalNodes()
).
SOCGame.hasSeaBoard
and the board defines Land Areas
(null != SOCBoardLarge.getLandAreasLegalNodes()
).
SOCServer.numRobotOnlyGamesRemaining
> 0.
SOCGame.active
when created.
SOCStatusMessage.SV_NOT_OK_GENERIC
should be sent instead.
_SC_PIRI
, the pirate fleet is moved every
dice roll, and may steal from the single player with an adjacent settlement or city.
SOCFortress.STARTING_STRENGTH
.
.properties
bundle files.bundlePath
with the default locale.
bundlePath
with a certain Locale.
null
.
PropertiesTranslatorEditor.initStringManager()
to initialize.
PropertiesTranslatorEditor.strings
;
if that's null, call PropertiesTranslatorEditor.initStringManager()
to initialize.
SOCPlayerClient.cliLocale
.
SOCStringManager
to something like "Market (1VP)"
LocalStringServerSocket
name, or null
for network mode.
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superText1
, SOCBoardPanel.superText2
, SOCBoardPanel.superTextTop
SOCBoardPanel.superText1
, SOCBoardPanel.superText2
, SOCBoardPanel.superTextTop
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superText1
and SOCBoardPanel.superText2
if known, or 0.
SOCBoardPanel.superTextTop
if known, or 0.
SOCBoardPanel.superTextTop
if known, or 0.
SOCBoardPanel.superTextTop
if known, or 0.
SOCBoardPanel.superTextTop
if known, or 0.
SOCBoardPanel.superTextTop
if known, or 0.
typeKey
.
SOCSpecialItem.getStringValue()
, or null
.
SOCStatusMessage.SV_OK
) and the server's Debug Mode is on.
SOCSpecialItem.sv
for the Wonders in the _SC_WOND
scenario.
SOCStatusMessage.SV_OK
)
SOCPlayer.specialVP
, or null if none.
System.in
for SOCServer.readPassword(String)
,
is null
until first call to that method.
SOCPlayerInterface.textDisplaysLargerTemp
.
6-player
layout, the text display fields
(SOCPlayerInterface.textDisplay
, SOCPlayerInterface.chatDisplay
) aren't as large.
SOCPlayerInterface.doLayout()
after a previous SOCPlayerInterface.textDisplaysLargerTemp
flag set.
SOCPlayerInterface.mouseClicked(MouseEvent)
.
SOCPlayerInterface.textDisplaysLargerTemp
.
PTEMain.OpenDestSrcDialog.srcOther
SOCRobotDM.scorePossibleSettlements(int, int)
System.currentTimeMillis()
BOARDSPECIALEDGE
sep game sep2 edge sep2 seType
SOCMessage.toCmd()
, with text localized by the server.
SIMPLEACTION
sep game sep2 playernumber sep2 acttype sep2 value1 sep2 value2
SIMPLEREQUEST
sep game sep2 playernumber sep2 reqtype sep2 value1 sep2 value2
SOCSpecialItem.Requirement.parse(String)
.
Connection.getName()
.
MESSAGE_MODE
,
not OFFER_MODE
.OFFER_MODE
,
not TradeOfferPanel.MESSAGE_MODE
.Server.inQueue
SOCGameOption.OTYPE_ENUM
or similar)
by trimming SOCGameOption.enumVals
shorter.
_SC_PIRI
.
PropertiesTranslatorEditor(File)
constructor.
PTEMain.userPrefs
and changes
'current' directory field (PTEMain.lastEditedDir
) to that of
the most recently edited destination properties file.
SOCBoardPanel.moveShip_fromEdge
to SOCBoardPanel.moveShip_toEdge
.
tryPutPiece
,
but we don't make a copy of the player trackers.
PTEMain.lastEditedDir
to loaded PTEMain.userPrefs
preferences.
SOCBoardLargeAtServer.TTDESERT_LANDHEX_COORD_SMALL
).
SOCBoardLargeAtServer.TTDESERT_LANDHEX_COORD_MAIN
.
SOCBoardLargeAtServer.TTDESERT_LANDHEX_COORD_SMALL
.
SOCGameOption
.
SOCScenario
.
typeKey
, such as _SC_WOND
.
SOCSpecialItem
class javadoc for details.
typeKey
, for SOCSetSpecialItem.typeKey
\uXXXX
sequences into unicode characters.
SOCDevCardConstants.UNKNOWN
card type, for version 1.x clients or servers
SOCMessage.sep2
.
SOCGame.RollResult.cloth
.
SOCPlayer.clearPotentialSettlements()
If SOCGame.hasSeaBoard
, check board for Added Layout Part "AL"
for node lists that
become legal locations for settlements after initial placement, and make them legal now.
SOCGame.getFirstPlayer()
was changed.
SOCBoardPanel.hoverTip
based on SOCBoardPanel.mode
when it changes;
called from SOCBoardPanel.updateMode()
.
SOCBoardLarge.FOG_HEX
is revealed to be water,
or a land hex at the board's margin
,
update the set of edges used by SOCPlayer.isLegalShip(int)
.
SOCGame.maxPlayers
.
SOCSVPTextMessage
to the game about the SVP description,
and also call SOCPlayer.addSpecialVPInfo(int, String)
.
SOCHandPanel.rollBut
, SOCHandPanel.doneBut
, SOCHandPanel.bankBut
.
_SC_PIRI
, update the player's ship closest to their Fortress.
SOCGameOption.ChangeListener
or other automatic means.
users
table: SOCDBHelper.USER_COUNT_QUERY
.
users
: SOCDBHelper.USER_EXISTS_QUERY
PTEMain.LAST_EDITED_DIR
.
SOCServer.hasUtilityModeProp
, an optional status message to print before exiting, or null
.
key != null
.
GameStatisticsFrame.RollPanel.displays
; indexed by dice roll value, 0 and 1 are unused
SOCPlayerElements.elementTypes
Version.buildnum()
SOCPlayerElement(GAIN)
messages,
and instead sends a single SOCDiceResultResources
message.
SOCBoard.BOARD_ENCODING_LARGE
was introduced in version 2.0.00 (2000)
SOCDevCardConstants.UNKNOWN
and SOCDevCardConstants.KNIGHT
.
SOCGameOption
.
SOCPlayerStats.STYPE_RES_ROLL
: resource roll stats).
SOCGames.MARKER_THIS_GAME_UNJOINABLE
.
Version.versionNumber()
Version.version()
SOCPlayer
SOCHandPanel.updateValue(PlayerClientListener.UpdateType)
;
for items not appearing in SOCPlayerElement
.
Village
.
SOCGame.boardResetVotes
per-player states: no vote sent; yes; no.
SOCGame.VP_WINNER_STANDARD
== 10).
SOCDevCardConstants.DESTROY
).
SOCGame.rollDice()
.
SOCGame.PLAY1
.
SOCGame.PLAY1
.
SOCGame.rollDice()
or SOCGame.playKnight()
.
SOCDevCardConstants.SWAP
).
TURN
message from the server
when it's our turn
null
if we're waiting for server response to picking
a SOCSpecialItem
, for certain scenarios; contains the typeKey
of the special item we're waiting on.
_SC_PIRI
game
and waiting for server response to a SOCSimpleRequest
to attack a pirate fortress.
SOCGameOptionGetInfos.hasTokenGetI18nDescs()
true.
"en_US"
.
AWTToolTip.parentComp
when become visible.
WindowListener
NewGameOptionsFrame
) is closed,
drop our reference to it so it can be gc'd.
WindowListener
WindowListener
WindowListener
WindowListener
WindowListener
SOCBoardLargeAtServer.WOND_LANDHEX_COORD_ISL
.
SOCBoardLargeAtServer.WOND_LANDHEX_COORD_DESERT
).
SOCBoardLargeAtServer.WOND_LANDHEX_COORD_MAIN
)
adjacent to the deserts (SOCBoardLargeAtServer.WOND_LANDHEX_COORD_DESERT
).
_SC_WOND
; null otherwise.
_SC_WOND
, the
"Wonders" button that brings up a dialog with info and Build buttons.
\uXXXX
where needed, otherwise keeping val
unchanged and keeping high-bit ISO-8859-1 characters for easier viewing.
SOCHandPanel.sqPanel
.
PropertiesTranslatorEditor.findBaseAndLangInFilename(String)
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |