public interface ParlorReceiver
extends com.threerings.presents.client.InvocationReceiver
ParlorDirector.| Modifier and Type | Method and Description |
|---|---|
void |
gameIsReady(int gameOid)
Dispatched to the client when a game in which they are a
participant is ready for play.
|
void |
receivedInvite(int remoteId,
com.threerings.util.Name inviter,
GameConfig config)
Called by the invocation services when another user has invited us
to play a game.
|
void |
receivedInviteCancellation(int remoteId)
Called by the invocation services when an outstanding invitation
has been cancelled by the inviting user.
|
void |
receivedInviteResponse(int remoteId,
int code,
Object arg)
Called by the invocation services when another user has responded
to our invitation by either accepting, refusing or countering it.
|
void gameIsReady(int gameOid)
gameOid - the object id of the game object.void receivedInvite(int remoteId,
com.threerings.util.Name inviter,
GameConfig config)
remoteId - the unique indentifier for this invitation (used
when countering or responding).inviter - the username of the inviting user.config - the configuration information for the game to which
we've been invited.void receivedInviteResponse(int remoteId,
int code,
Object arg)
remoteId - the indentifier for the invitation on question.code - the response code, either ParlorCodes.INVITATION_ACCEPTED or ParlorCodes.INVITATION_REFUSED or ParlorCodes.INVITATION_COUNTERED.arg - in the case of a refused invitation, a string
containing a message provided by the invited user explaining the
reason for refusal (the empty string if no explanation was
provided). In the case of a countered invitation, a new game config
object with the modified game configuration.void receivedInviteCancellation(int remoteId)
remoteId - the indentifier of the cancelled invitation.Copyright © 2015. All rights reserved.