public class LobbyController extends com.threerings.crowd.client.PlaceController implements InvitationHandler, InvitationResponseObserver
DISPATCHER| Constructor and Description |
|---|
LobbyController() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(com.threerings.crowd.util.CrowdContext ctx,
com.threerings.crowd.data.PlaceConfig config) |
void |
invitationAccepted(Invitation invite)
Called if the invitation was accepted.
|
void |
invitationCancelled(Invitation invite)
Called when an invitation is cancelled by the inviting player.
|
void |
invitationCountered(Invitation invite,
GameConfig config)
Called if the invitation was countered with an alternate game
configuration.
|
void |
invitationReceived(Invitation invite)
Called when an invitation is received from another player.
|
void |
invitationRefused(Invitation invite,
String message)
Called if the invitation was refused.
|
void |
willEnterPlace(com.threerings.crowd.data.PlaceObject plobj) |
didLeavePlace, getPlaceConfig, getPlaceView, handleAction, mayLeavePlaceactionPerformed, configureAction, createActionButton, handleAction, handleAction, handleAction, postAction, postAction, postAction, setControlledPanel, wasAdded, wasRemovedpublic void init(com.threerings.crowd.util.CrowdContext ctx,
com.threerings.crowd.data.PlaceConfig config)
init in class com.threerings.crowd.client.PlaceControllerpublic void willEnterPlace(com.threerings.crowd.data.PlaceObject plobj)
willEnterPlace in class com.threerings.crowd.client.PlaceControllerpublic void invitationReceived(Invitation invite)
InvitationHandlerinvitationReceived in interface InvitationHandlerinvite - the received invitation.public void invitationCancelled(Invitation invite)
InvitationHandlerinvitationCancelled in interface InvitationHandlerinvite - the cancelled invitation.public void invitationAccepted(Invitation invite)
InvitationResponseObserverinvitationAccepted in interface InvitationResponseObserverinvite - the invitation for which we received a response.public void invitationRefused(Invitation invite, String message)
InvitationResponseObserverinvitationRefused in interface InvitationResponseObserverinvite - the invitation for which we received a response.message - a message provided by the invited user explaining
the reason for their refusal, or the empty string if no message was
provided.public void invitationCountered(Invitation invite, GameConfig config)
InvitationResponseObserverinvitationCountered in interface InvitationResponseObserverinvite - the invitation for which we received a response.config - the game configuration proposed by the invited
player.Copyright © 2015. All rights reserved.