# Serialized Form (Vilya Core 1.6 API)
Date: 2015-03-14

# Serialized Form

## Package com.threerings.micasa.client

### Class com.threerings.micasa.client.ChatPanel extends JPanel implements Serializable

### Serialized Fields

#### _ctx

    com.threerings.crowd.util.CrowdContext _ctx

#### _focus

    boolean _focus

#### _roombox

    JComboBox<E> _roombox

#### _text

    JTextPane _text

#### _send

    JButton _send

#### _entry

    JTextField _entry

#### _nameStyle

    Style _nameStyle

#### _msgStyle

    Style _msgStyle

#### _errStyle

    Style _errStyle

#### _noticeStyle

    Style _noticeStyle

### Class com.threerings.micasa.client.LogonPanel extends JPanel implements Serializable

### Serialized Fields

#### _ctx

    MiCasaContext _ctx

#### _msgs

    com.threerings.util.MessageBundle _msgs

#### _username

    JTextField _username

#### _password

    JPasswordField _password

#### _logon

    JButton _logon

#### _status

    JTextArea _status

### Class com.threerings.micasa.client.MiCasaApplet extends Applet implements Serializable

### Serialized Fields

#### _client

    MiCasaClient _client

#### _frame

    MiCasaFrame _frame

### Class com.threerings.micasa.client.MiCasaFrame extends JFrame implements Serializable

### Serialized Fields

#### _controller

    Controller _controller

### Class com.threerings.micasa.client.OccupantList extends JList implements Serializable

### Serialized Fields

#### _ctx

    com.threerings.crowd.util.CrowdContext _ctx

Our client context.

#### _model

    DefaultListModel<E> _model

A list model that provides a vector interface.

## Package com.threerings.micasa.lobby

### Class com.threerings.micasa.lobby.LobbyPanel extends JPanel implements Serializable

### Serialized Fields

#### _main

    JPanel _main

Contains the match-making view and the chatbox.

#### _occupants

    OccupantList _occupants

Our occupant list display.

### Class com.threerings.micasa.lobby.LobbySelector extends JPanel implements Serializable

### Serialized Fields

#### _ctx

    MiCasaContext _ctx

#### _lservice

    LobbyService _lservice

#### _combo

    JComboBox<E> _combo

#### _loblist

    JList<E> _loblist

#### _catlists

    Map<K,V> _catlists

#### _pendingCategory

    String _pendingCategory

### Class com.threerings.micasa.lobby.LobbySelector.LobbyCellRenderer extends DefaultListCellRenderer implements Serializable

## Package com.threerings.micasa.lobby.table

### Class com.threerings.micasa.lobby.table.TableItem extends JPanel implements Serializable

### Serialized Fields

#### table

    Table table

A reference to the table we are displaying.

#### _ctx

    MiCasaContext _ctx

A reference to our context.

#### _self

    com.threerings.util.Name _self

Our username.

#### _tdtr

    TableDirector _tdtr

A reference to our table director.

#### _seats

    JButton[] _seats

We have a button for each "seat" at the table.

#### _goButton

    JButton _goButton

We have a button for going to games that are already in progress.

### Class com.threerings.micasa.lobby.table.TableListView extends JPanel implements Serializable

### Serialized Fields

#### _ctx

    MiCasaContext _ctx

A reference to the client context.

#### _config

    LobbyConfig _config

A reference to the lobby config for the lobby in which we are doing table-style matchmaking.

#### _tdtr

    TableDirector _tdtr

A reference to our table director.

#### _matchList

    JPanel _matchList

The list of tables currently being matchmade.

#### _playList

    JPanel _playList

The list of tables that are in play.

#### _tableFigger

    TableConfigurator _tableFigger

The interface used to configure the table for a game.

#### _figger

    GameConfigurator _figger

The interface used to configure a game before creating it.

#### _create

    JButton _create

Our create table button.

#### _pcount

    JLabel _pcount

Our number of players indicator.

## Package com.threerings.micasa.simulator.client

### Class com.threerings.micasa.simulator.client.SimpleFrame extends MiCasaFrame implements Serializable

### Serialized Fields

#### _controller

    Controller _controller

## Package com.threerings.parlor.card.client

### Class com.threerings.parlor.card.client.CardPanel extends com.threerings.media.VirtualMediaPanel implements Serializable

### Serialized Fields

#### _cardWidth

    int _cardWidth

The width of the playing cards.

#### _mouseEvent

    MouseEvent _mouseEvent

The last motion/entrance/exit event received from the mouse.

#### _activeCardSprite

    CardSprite _activeCardSprite

The currently active card sprite (the one that the mouse is over).

#### _handSprites

    ArrayList<E> _handSprites

The sprites for cards within the hand.

#### _selectedHandSprites

    ArrayList<E> _selectedHandSprites

The sprites for cards within the hand that have been selected.

#### _handSelectionMode

    int _handSelectionMode

The current selection mode for the hand.

#### _handSelectionPredicate

    Predicate<T> _handSelectionPredicate

The predicate that determines which cards are selectable (if null, all cards are selectable).

#### _handSelectionObservers

    ObserverList<T> _handSelectionObservers

Observers of hand card selection/deselection.

#### _handLocation

    Point _handLocation

The location of the center of the hand's upper edge.

#### _handSpacing

    int _handSpacing

The horizontal distance between cards in the hand.

#### _selectableCardOffset

    int _selectableCardOffset

The vertical distance to offset cards that are selectable.

#### _selectedCardOffset

    int _selectedCardOffset

The vertical distance to offset cards that are selected.

#### _boardSprites

    ArrayList<E> _boardSprites

The sprites for cards on the board.

#### _handSpriteObserver

    com.threerings.parlor.card.client.CardPanel.HandSpriteObserver _handSpriteObserver

The hand sprite observer instance.

#### _pathEndRemover

    com.threerings.media.sprite.PathAdapter _pathEndRemover

A path observer that removes the sprite at the end of its path.

## Package com.threerings.parlor.card.data

### Class com.threerings.parlor.card.data.Deck extends com.threerings.util.StreamableArrayList<Card> implements Serializable

### Class com.threerings.parlor.card.data.Hand extends com.threerings.util.StreamableArrayList<Card> implements Serializable

## Package com.threerings.parlor.rating.server.persist

### Class com.threerings.parlor.rating.server.persist.PercentileRecord extends PersistentRecord implements Serializable

### Serialized Fields

#### gameId

    int gameId

The id of the game for which we're tracking a percentile distribution.

#### gameMode

    int gameMode

The mode of the game. Games can maintain distributions for many different modes.

#### data

    byte[] data

The raw percentiler data.

### Class com.threerings.parlor.rating.server.persist.RatingRecord extends PersistentRecord implements Serializable

### Serialized Fields

#### gameId

    int gameId

The identifier of the game we're rating for.

#### playerId

    int playerId

The identifier of the player we're rating.

#### rating

    int rating

The player's current rating.

#### experience

    int experience

The number of times the player has played this game.

#### lastUpdated

    Timestamp lastUpdated

The last time this rating was updated.

## Package com.threerings.parlor.turn.client

### Class com.threerings.parlor.turn.client.TurnDisplay extends JPanel implements Serializable

### Serialized Fields

#### _turnObj

    TurnGameObject _turnObj

The TurnGameObject we're displaying.

#### _labels

    HashMap<K,V> _labels

A mapping of the labels currently associated with each player.

#### _playerIcons

    Icon[] _playerIcons

The game-specified player icons.

#### _winnerText

    String _winnerText

The text to display next to a winner's name.

#### _drawText

    String _drawText

The text to display next to a drawing player's name.

#### _turnIcon

    Icon _turnIcon

The Icon we use for indicating the turn.

## Package com.threerings.puzzle.client

### Class com.threerings.puzzle.client.PlayerStatusView extends JPanel implements Serializable

### Serialized Fields

#### _gameobj

    GameObject _gameobj

The game object associated with this view.

#### _username

    com.threerings.util.Name _username

The player name.

#### _pidx

    int _pidx

The player index.

#### _highlight

    boolean _highlight

Whether this display is highlighted.

#### _summary

    BoardSummary _summary

The player board summary.

#### _status

    int _status

The player game status.

### Class com.threerings.puzzle.client.PuzzleBoardView extends com.threerings.media.VirtualMediaPanel implements Serializable

### Serialized Fields

#### _ctx

    PuzzleContext _ctx

Our client context.

#### _pctrl

    PuzzleController _pctrl

Our puzzle controller.

#### _board

    Board _board

The board data to be displayed.

#### _bounds

    Rectangle _bounds

The board's bounding rectangle.

#### _actionAnims

    List<E> _actionAnims

The action animations on the board.

#### _actionSprites

    List<E> _actionSprites

The action sprites on the board.

#### _avoidArranger

    com.threerings.media.animation.AnimationArranger _avoidArranger

Prevents certain animations from overlapping others.

#### _background

    com.threerings.media.image.Mirage _background

Our background image.

#### _pauseLabel

    Label _pauseLabel

A label to show when the puzzle is paused.

#### _scoreDist

    int _scoreDist

The distance in pixels that score animations float.

#### _actionAnimObs

    com.threerings.media.animation.AnimationAdapter _actionAnimObs

Listens to our action animations and clears them when they're done.

### Class com.threerings.puzzle.client.PuzzlePanel extends JPanel implements Serializable

### Serialized Fields

#### _ctx

    PuzzleContext _ctx

Our puzzle context.

#### _bview

    PuzzleBoardView _bview

The board view on which the primary puzzle interface is displayed.

#### _bpanel

    JPanel _bpanel

The board panel displayed while the puzzle is in progress.

#### _opanel

    JPanel _opanel

The board overlay panel displayed as requested.

#### _config

    GameConfig _config

The game config.

#### _robot

    RobotPlayer _robot

The robot player.

#### _xlate

    com.threerings.util.KeyTranslator _xlate

Our key translations.

#### _controller

    PuzzleController _controller

The puzzle game controller.

## Package com.threerings.puzzle.data

### Class com.threerings.puzzle.data.Board.BoardRandom extends Random implements Serializable

### Serialized Fields

#### _seed

    long _seed

The internal state related to generating random numbers.

#### _nextNextGaussian

    double _nextNextGaussian

#### _haveNextNextGaussian

    boolean _haveNextNextGaussian

## Package com.threerings.puzzle.drop.client

### Class com.threerings.puzzle.drop.client.DropBoardView extends PuzzleBoardView implements Serializable

### Serialized Fields

#### _dboard

    DropBoard _dboard

The drop board.

#### _pieces

    com.threerings.media.sprite.Sprite[] _pieces

A sprite for every piece displayed in the drop board.

#### _moving

    boolean[] _moving

Indicates whether a piece is en route to its destination.

#### _pwid

    int _pwid

The piece dimensions in pixels.

#### _phei

    int _phei

The piece dimensions in pixels.

#### _roff

    int _roff

The board rising offset.

#### _bwid

    int _bwid

The board dimensions in pieces.

#### _bhei

    int _bhei

The board dimensions in pieces.

### Class com.threerings.puzzle.drop.client.NextBlockView extends JComponent implements Serializable

### Serialized Fields

#### _view

    DropBoardView _view

The drop board view from which we obtain piece images.

#### _pieces

    int[] _pieces

The pieces displayed by this view.

#### _pwid

    int _pwid

The piece dimensions in pixels.

#### _phei

    int _phei

The piece dimensions in pixels.

#### _orient

    int _orient

The view orientation; one of `DirectionCodes.HORIZONTAL` or `DirectionCodes.VERTICAL`.

## Package com.threerings.stage.client

### Class com.threerings.stage.client.StageScenePanel extends com.threerings.miso.client.MisoScenePanel implements Serializable

### Serialized Fields

#### _ctx

    StageContext _ctx

A reference to our client context.

#### _ctrl

    Controller _ctrl

The controller with which we work in tandem.

#### _scene

    StageScene _scene

Our currently displayed scene.

#### _portobjs

    List<E> _portobjs

Contains scene objects for our portals.

#### _clusters

    Map<K,V> _clusters

Shapes describing the clusters, indexed by cluster.

#### _clusterWells

    Map<K,V> _clusterWells

Shapes describing the clusters, indexed by cluster.

#### _rizer

    SceneColorizer _rizer

Handles scene object colorization.

## Package com.threerings.stage.tools.editor

### Class com.threerings.stage.tools.editor.DirectionButton extends AbstractButton implements Serializable

### Serialized Fields

#### _direction

    int _direction

The current direction displayed by the button.

#### _armed

    int _armed

#### _dia

    int _dia

Diameter of the drawn enclosing circle.

#### _cdia

    int _cdia

Diameter of selection circles.

#### _coords

    int[][] _coords

Coordinates of each of the selection circles.

#### _prefdia

    int _prefdia

Our preferred diameter.

### Class com.threerings.stage.tools.editor.EditorDialog extends JInternalFrame implements Serializable

### Serialized Fields

#### _ctx

    EditorContext _ctx

#### _panel

    EditorScenePanel _panel

### Class com.threerings.stage.tools.editor.EditorFrame extends com.threerings.media.ManagedJFrame implements Serializable

### Serialized Fields

#### _openListener

    ActionListener _openListener

Handles JFileChooser responses when opening files.

#### _scene

    StageScene _scene

The scene currently undergoing edit.

#### _filepath

    String _filepath

The file last associated with the current scene.

#### _main

    JPanel _main

Contains the scene view panel or other fun stuff.

#### _dialog

    JInternalFrame _dialog

Used for displaying dialogs.

#### _chooser

    JFileChooser _chooser

The file chooser used for loading and saving scenes.

#### _svpanel

    EditorScenePanel _svpanel

The panel that displays the scene view.

#### _tpanel

    TileInfoPanel _tpanel

The panel that displays tile info.

#### _sceneInfoPanel

    SceneInfoPanel _sceneInfoPanel

The panel that displays scene info.

#### _scrollBox

    EditorScrollBox _scrollBox

The scrollbox used to display the view position within the scene.

#### _model

    EditorModel _model

The editor data model.

#### _ctx

    EditorContext _ctx

The editor context.

#### _parser

    SceneParser _parser

We use this to load scenes.

#### _writer

    StageSceneWriter _writer

We use this to save scenes.

#### _testLoader

    TestTileLoader _testLoader

The test tileset loader.

### Class com.threerings.stage.tools.editor.EditorScenePanel extends StageScenePanel implements Serializable

### Serialized Fields

#### _ctx

    EditorContext _ctx

Provides access to stuff.

#### _emodel

    EditorModel _emodel

Our editor model.

#### _box

    EditorScrollBox _box

The scrollbox that tracks our view.

#### _refreshBox

    boolean _refreshBox

Do we need to refresh the image being displayed in our scrollbox?

#### _frame

    JFrame _frame

We need this to create our dialogs when they are needed.

#### _horizRange

    BoundedRangeModel _horizRange

Allows scrolling horizontally.

#### _vertRange

    BoundedRangeModel _vertRange

Allows scrolling vertically.

#### _area

    Rectangle _area

The virtual screen rectangle around which we scroll.

#### _coordHighlighting

    boolean _coordHighlighting

Whether or not coordinate highlighting is enabled.

#### _hfull

    Point _hfull

The currently highlighted full coordinate.

#### _drag

    Point _drag

The location of the start of a tile drag in tile coords.

#### _ppos

    Point _ppos

The position of the tile currently being placed.

#### _validPlacement

    boolean _validPlacement

Used to track whether or not the current "placing" tile is in a valid position.

#### _ptile

    com.threerings.media.tile.Tile _ptile

The tile currently being placed.

#### _pscobj

    com.threerings.miso.client.SceneObject _pscobj

Metrics for the tile currently being placed if it is an object tile.

#### _extras

    ArrayList<E> _extras

A list of things that will do some extra painting for us.

#### _dialogPortal

    PortalDialog _dialogPortal

The dialog providing portal edit functionality.

#### _objEditor

    ObjectEditorDialog _objEditor

The dialog providing object edit functionality.

#### _eobject

    com.threerings.miso.client.SceneObject _eobject

The object currently being edited by the object editor dialog.

#### _undo

    com.threerings.stage.tools.editor.EditorScenePanel.UndoStack _undo

#### _redo

    com.threerings.stage.tools.editor.EditorScenePanel.UndoStack _redo

#### _sceneListener

    EditorScenePanel.SceneModelListener _sceneListener

### Class com.threerings.stage.tools.editor.EditorScrollBox extends ScrollBox implements Serializable

### Serialized Fields

#### _miniMap

    BufferedImage _miniMap

The minimap image.

#### _panel

    EditorScenePanel _panel

The panel we box for.

#### _updatingView

    boolean _updatingView

Whether or not we're updating our little view.

### Class com.threerings.stage.tools.editor.EditorToolBarPanel extends JPanel implements Serializable

### Serialized Fields

#### _buttons

    List<E> _buttons

The buttons in the tool bar.

#### _model

    EditorModel _model

The editor data model.

### Class com.threerings.stage.tools.editor.ObjectEditorDialog extends EditorDialog implements Serializable

### Serialized Fields

#### _action

    JTextField _action

#### _priority

    JSlider _priority

#### _scobj

    com.threerings.miso.client.SceneObject _scobj

#### _primary

    JComboBox<E> _primary

#### _secondary

    JComboBox<E> _secondary

#### _tertiary

    JComboBox<E> _tertiary

#### _quaternary

    JComboBox<E> _quaternary

### Class com.threerings.stage.tools.editor.PortalDialog extends EditorDialog implements Serializable

### Serialized Fields

#### _scene

    StageScene _scene

The scene.

#### _portalText

    JTextField _portalText

The portal name text entry field.

#### _entrance

    JCheckBox _entrance

The portal default entrance check box.

#### _port

    EditablePortal _port

The location object denoting the portal location.

#### _orientcombo

    JComboBox<E> _orientcombo

The combo box listing the direction orientations.

### Class com.threerings.stage.tools.editor.PreferencesDialog extends JInternalFrame implements Serializable

### Class com.threerings.stage.tools.editor.SceneInfoPanel extends JPanel implements Serializable

### Serialized Fields

#### _ctx

    EditorContext _ctx

The giver of life.

#### _scene

    StageScene _scene

The scene we're controlling.

#### _scenename

    JTextField _scenename

The scene name entry field.

#### _scenetype

    JComboBox<E> _scenetype

The scene type selector.

#### _colorClasses

    JComboBox<E> _colorClasses

The scene type selector.

#### _colorIds

    JComboBox<E> _colorIds

The scene type selector.

#### _svpanel

    EditorScenePanel _svpanel

The scene panel, which we hackily repaint when default colors change.

#### _dirbutton

    DirectionButton _dirbutton

The object grip direction button.

### Class com.threerings.stage.tools.editor.TileInfoPanel extends JSplitPane implements Serializable

### Serialized Fields

#### _layerSets

    Map<K,V> _layerSets

An ArrayList of TileSetRecords for each layer.

#### _idToTreePathMap

    Map<K,V> _idToTreePathMap

Map of tileset ID to TreePath.

#### _layerLengths

    int[] _layerLengths

The original number of TileSetRecords for each layer.

#### _tsettree

    JTree _tsettree

The tree listing available tilesets.

#### _selected

    DefaultMutableTreeNode _selected

The selected tree node.

#### _tiletable

    JTable _tiletable

The table listing all tiles in the selected tileset.

#### _quickList

    JList<E> _quickList

The list of quickly-selectable tilesets.

#### _curTrec

    com.threerings.stage.tools.editor.TileInfoPanel.TileSetRecord _curTrec

The currently selected tileset record.

#### _tablewid

    int _tablewid

The width of the tile table column in pixels.

#### _scroller

    com.threerings.media.SafeScrollPane _scroller

The scroll pane containing the tile table.

#### _model

    EditorModel _model

The editor model.

#### _ctx

    EditorContext _ctx

Our editor client context.

#### _tablemodel

    com.threerings.stage.tools.editor.TileInfoPanel.TileTableModel _tablemodel

The tile table data model.

#### _settingTileOurselves

    boolean _settingTileOurselves

### Class com.threerings.stage.tools.editor.TileInfoPanel.TileTableModel extends AbstractTableModel implements Serializable

### Serialized Fields

#### _icons

    ImageIcon[] _icons

The image icons used to display the table cell contents.

## Package com.threerings.stage.tools.viewer

### Class com.threerings.stage.tools.viewer.ViewerFrame extends com.threerings.media.ManagedJFrame implements Serializable

### Serialized Fields

#### _panel

    ViewerScenePanel _panel

### Class com.threerings.stage.tools.viewer.ViewerScenePanel extends StageScenePanel implements Serializable

### Serialized Fields

#### _defloc

    StageLocation _defloc

The current scene's default entrance.

#### _charmgr

    com.threerings.cast.CharacterManager _charmgr

Provides character sprite data.

#### _descUser

    com.threerings.cast.CharacterDescriptor _descUser

The character descriptor for the user character.

#### _descDecoy

    com.threerings.cast.CharacterDescriptor _descDecoy

The character descriptor for the decoy characters.

#### _sprite

    com.threerings.cast.CharacterSprite _sprite

The sprite we're manipulating within the view.

#### _decoys

    com.threerings.cast.CharacterSprite[] _decoys

The test sprites that meander about aimlessly.

## Package com.threerings.stats.data

## Package com.threerings.stats.server.persist

### Class com.threerings.stats.server.persist.MaxStatCodeRecord extends PersistentRecord implements Serializable

### Serialized Fields

#### maxCode

    int maxCode

### Class com.threerings.stats.server.persist.StatRecord extends PersistentRecord implements Serializable

### Serialized Fields

#### playerId

    int playerId

The identifier of the player this is a stat for.

#### statCode

    int statCode

The code of the stat.

#### statData

    byte[] statData

The data associated with the stat.

#### modCount

    byte modCount

The number of times this stat has been updated, so that simultaneous attempts to update the same stat in the repository can be caught and handled. Stored as a byte because we don't expect to ever have more than a couple simultaneous attempts to update a stat.

### Class com.threerings.stats.server.persist.StringCodeRecord extends PersistentRecord implements Serializable

### Serialized Fields

#### statCode

    int statCode

The code of the stat.

#### value

    String value

#### code

    int code

## Package com.threerings.whirled.spot.data

### Class com.threerings.whirled.spot.data.Cluster extends Rectangle implements Serializable

### Serialized Fields

#### clusterOid

    int clusterOid

A unique identifier for this cluster (also the distributed object id of the cluster chat object).

## Package com.threerings.whirled.spot.server

### Class com.threerings.whirled.spot.server.SpotSceneManager.ClusterRecord extends HashIntMap<ClusteredBodyObject> implements Serializable

### Serialized Fields

#### _clobj

    ClusterObject _clobj

#### _cluster

    Cluster _cluster

## Package com.threerings.whirled.util

### Class com.threerings.whirled.util.NoSuchSceneException extends Exception implements Serializable

### Serialized Fields

#### _sceneId

    int _sceneId