Let's name inner classes with an "_" where Java puts a "$", and do
automatic name translation for those names. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4129 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
package com.threerings.crowd.data {
|
||||
|
||||
import com.threerings.presents.data.ListenerMarshaller;
|
||||
|
||||
import com.threerings.crowd.client.MoveListener
|
||||
|
||||
public class LocationMarshaller_MoveMarshaller extends ListenerMarshaller
|
||||
{
|
||||
/** The method id used to dispatch {@link #moveSucceeded}
|
||||
* responses. */
|
||||
public static const MOVE_SUCCEEDED :int = 1;
|
||||
|
||||
// documentation inherited
|
||||
public override function dispatchResponse (methodId :int, args :Array) :void
|
||||
{
|
||||
switch (methodId) {
|
||||
case MOVE_SUCCEEDED:
|
||||
(listener as MoveListener).moveSucceeded(
|
||||
(args[0] as PlaceConfig));
|
||||
return;
|
||||
|
||||
default:
|
||||
super.dispatchResponse(methodId, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user