Files
narya/src/as/com/threerings/presents/data/GotTimeBaseMarshaller.as
T
Ray Greenwell fdfce50d01 Checkpoint, I've got an interactive 2d scene mostly working.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4151 542714f4-19e9-0310-aa3c-eee0fc999fb1
2006-05-26 21:54:34 +00:00

34 lines
890 B
ActionScript

package com.threerings.presents.data {
import com.threerings.presents.client.GotTimeBaseListener;
import com.threerings.presents.dobj.InvocationResponseEvent;
// TODO: this will be autogenerated
public class GotTimeBaseMarshaller
extends InvocationMarshaller_ListenerMarshaller
implements GotTimeBaseListener
{
public static const GOT_TIME_OID :int = 1;
public function gotTimeOid (arg1 :int) :void
{
omgr.postEvent(new InvocationResponseEvent(
callerOid, requestId, GOT_TIME_OID, [ arg1 ]));
}
public override function dispatchResponse (methodId :int, args :Array) :void
{
switch (methodId) {
case GOT_TIME_OID:
(listener as GotTimeBaseListener).gotTimeOid(args[0] as int);
return;
default:
super.dispatchResponse(methodId, args);
return;
}
}
}
}