public interface PlayManager
PlaceManager that wishes to host
places that have players. This generalizes the idea of a game further than what
is afforded by GameManager, linking it up with AVRGameManager.| Modifier and Type | Method and Description |
|---|---|
com.threerings.crowd.data.BodyObject |
checkWritePermission(com.threerings.presents.data.ClientObject client,
int playerId)
Make sure that the given caller is a player or an agent and can write to the data
of the given playerId.
|
boolean |
isAgent(com.threerings.presents.data.ClientObject client)
Return true if the given client is a server-side agent in this place.
|
boolean |
isPlayer(com.threerings.presents.data.ClientObject client)
Return true if the given client is a player in this place.
|
boolean isPlayer(com.threerings.presents.data.ClientObject client)
boolean isAgent(com.threerings.presents.data.ClientObject client)
com.threerings.crowd.data.BodyObject checkWritePermission(com.threerings.presents.data.ClientObject client,
int playerId)
Copyright © 2015. All rights reserved.