com.threerings.tudey.client
Interface TudeySceneService

All Superinterfaces:
com.threerings.presents.client.InvocationService
All Known Implementing Classes:
TudeySceneMarshaller

public interface TudeySceneService
extends com.threerings.presents.client.InvocationService

Provides services relating to Tudey scenes.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.threerings.presents.client.InvocationService
com.threerings.presents.client.InvocationService.ConfirmListener, com.threerings.presents.client.InvocationService.InvocationListener, com.threerings.presents.client.InvocationService.ResultListener
 
Method Summary
 void enqueueInputReliable(int acknowledge, int smoothedTime, InputFrame[] frames)
          Requests to enqueue a batch of input frames recorded on the client (reliable version).
 void enqueueInputUnreliable(int acknowledge, int smoothedTime, InputFrame[] frames)
          Requests to enqueue a batch of input frames recorded on the client (unreliable version).
 void enteredPlace()
          Notifies the server that the client has successfully entered the place.
 void setCameraParams(CameraConfig config, float aspect)
          Requests to change the client's camera parameters (which affect its area of interest).
 void setTarget(int pawnId)
          Requests to track the specified pawn.
 void submitActorRequest(int actorId, String request)
          Submits a request related to the identified actor.
 void submitEntryRequest(Object key, String request)
          Submits a request related to the identified scene entry.
 

Method Detail

enteredPlace

void enteredPlace()
Notifies the server that the client has successfully entered the place.


enqueueInputReliable

void enqueueInputReliable(int acknowledge,
                          int smoothedTime,
                          InputFrame[] frames)
Requests to enqueue a batch of input frames recorded on the client (reliable version).

Parameters:
acknowledge - the timestamp of the last delta received by the client.
smoothedTime - the client's smoothed server time estimate.

enqueueInputUnreliable

void enqueueInputUnreliable(int acknowledge,
                            int smoothedTime,
                            InputFrame[] frames)
Requests to enqueue a batch of input frames recorded on the client (unreliable version).

Parameters:
acknowledge - the timestamp of the last delta received by the client.
smoothedTime - the client's smoothed server time estimate.

setTarget

void setTarget(int pawnId)
Requests to track the specified pawn. This is only valid for clients that do not control a pawn of their own.


setCameraParams

void setCameraParams(CameraConfig config,
                     float aspect)
Requests to change the client's camera parameters (which affect its area of interest).


submitEntryRequest

void submitEntryRequest(Object key,
                        String request)
Submits a request related to the identified scene entry.


submitActorRequest

void submitActorRequest(int actorId,
                        String request)
Submits a request related to the identified actor.



Copyright © 2011. All Rights Reserved.