public class LocationManager extends Object implements LocationProvider, LocationCodes
ALREADY_THERE, MOVE_IN_PROGRESS, NO_SUCH_PLACEACCESS_DENIED, E_ACCESS_DENIED, E_INTERNAL_ERROR, GLOBAL_GROUP, INTERNAL_ERROR| Constructor and Description |
|---|
LocationManager(InvocationManager invmgr) |
| Modifier and Type | Method and Description |
|---|---|
void |
leaveOccupiedPlace(BodyObject source)
Removes the specified body from the place object they currently occupy.
|
void |
leavePlace(ClientObject caller)
Handles a
LocationService.leavePlace() request. |
void |
moveBody(BodyObject source,
Place place)
Forcibly moves the specified body object to the new place.
|
PlaceConfig |
moveTo(BodyObject source,
int placeOid)
Moves the specified body from whatever location they currently occupy to the location
identified by the supplied place oid.
|
void |
moveTo(ClientObject caller,
int placeOid,
LocationService.MoveListener listener)
|
@Inject public LocationManager(InvocationManager invmgr)
public void moveTo(ClientObject caller, int placeOid, LocationService.MoveListener listener) throws InvocationException
LocationProviderLocationService.moveTo(int, com.threerings.crowd.client.LocationService.MoveListener) request.moveTo in interface LocationProviderInvocationExceptionpublic void leavePlace(ClientObject caller)
LocationProviderLocationService.leavePlace() request.leavePlace in interface LocationProviderpublic PlaceConfig moveTo(BodyObject source, int placeOid) throws InvocationException
InvocationException - thrown if the move was not successful for some reason
(which will be communicated as an error code in the exception's message data).public void leaveOccupiedPlace(BodyObject source)
public void moveBody(BodyObject source, Place place)
Copyright © 2015. All rights reserved.