com.threerings.puzzle.data
Class PuzzleGameMarshaller
java.lang.Object
com.threerings.presents.data.InvocationMarshaller
com.threerings.puzzle.data.PuzzleGameMarshaller
- All Implemented Interfaces:
- Streamable, InvocationService, InvocationCodes, PuzzleGameService, PuzzleCodes
@Generated(value="com.threerings.presents.tools.GenServiceTask",
comments="Derived from PuzzleGameService.java.")
public class PuzzleGameMarshaller- extends InvocationMarshaller
- implements PuzzleGameService
Provides the implementation of the PuzzleGameService interface
that marshalls the arguments and delivers the request to the provider
on the server. Also provides an implementation of the response listener
interfaces that marshall the response arguments and deliver them back
to the requesting client.
| Methods inherited from class com.threerings.presents.data.InvocationMarshaller |
getInvocationCode, init, readField__invCode, readField__invOid, readObject, sendRequest, sendRequest, sendRequest, sendRequest, setInvocationOid, setNoResponse, toString, writeField__invCode, writeField__invOid |
UPDATE_PROGRESS
public static final int UPDATE_PROGRESS
- The method id used to dispatch
updateProgress(int, int[]) requests.
- See Also:
- Constant Field Values
UPDATE_PROGRESS_SYNC
public static final int UPDATE_PROGRESS_SYNC
- The method id used to dispatch
updateProgressSync(int, int[], com.threerings.puzzle.data.Board[]) requests.
- See Also:
- Constant Field Values
PuzzleGameMarshaller
public PuzzleGameMarshaller()
updateProgress
public void updateProgress(int arg1,
int[] arg2)
- Description copied from interface:
PuzzleGameService
- Asks the puzzle manager to apply the supplied progress events for the specified puzzle round
to the player's state.
- Specified by:
updateProgress in interface PuzzleGameService
updateProgressSync
public void updateProgressSync(int arg1,
int[] arg2,
Board[] arg3)
- Description copied from interface:
PuzzleGameService
- Debug variant of
PuzzleGameService.updateProgress(int, int[]) that is only used when
PuzzlePanel.isSyncingBoards() is true and which includes the board states associated
with each event.
- Specified by:
updateProgressSync in interface PuzzleGameService