Regeneratd services, got new mo' betta type handling.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@360 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-07-13 23:53:31 +00:00
parent b0f5087af3
commit 522a96ef96
16 changed files with 24 additions and 8 deletions
@@ -22,6 +22,7 @@
package com.threerings.ezgame.client { package com.threerings.ezgame.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.io.TypedArray;
import com.threerings.ezgame.client.EZGameService; import com.threerings.ezgame.client.EZGameService;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService; import com.threerings.presents.client.InvocationService;
@@ -37,13 +38,13 @@ import com.threerings.presents.data.InvocationMarshaller_ResultMarshaller;
public interface EZGameService extends InvocationService public interface EZGameService extends InvocationService
{ {
// from Java interface EZGameService // from Java interface EZGameService
function addToCollection (arg1 :Client, arg2 :String, arg3 :Array, arg4 :Boolean, arg5 :InvocationService_InvocationListener) :void; function addToCollection (arg1 :Client, arg2 :String, arg3 :TypedArray /* of class [B */, arg4 :Boolean, arg5 :InvocationService_InvocationListener) :void;
// from Java interface EZGameService // from Java interface EZGameService
function checkDictionaryWord (arg1 :Client, arg2 :String, arg3 :String, arg4 :InvocationService_ResultListener) :void; function checkDictionaryWord (arg1 :Client, arg2 :String, arg3 :String, arg4 :InvocationService_ResultListener) :void;
// from Java interface EZGameService // from Java interface EZGameService
function endGame (arg1 :Client, arg2 :Array, arg3 :InvocationService_InvocationListener) :void; function endGame (arg1 :Client, arg2 :TypedArray /* of int */, arg3 :InvocationService_InvocationListener) :void;
// from Java interface EZGameService // from Java interface EZGameService
function endRound (arg1 :Client, arg2 :int, arg3 :InvocationService_InvocationListener) :void; function endRound (arg1 :Client, arg2 :int, arg3 :InvocationService_InvocationListener) :void;
@@ -23,6 +23,7 @@ package com.threerings.ezgame.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.ezgame.client.EZGameService; import com.threerings.ezgame.client.EZGameService;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
@@ -48,7 +49,7 @@ public class EZGameMarshaller extends InvocationMarshaller
public static const ADD_TO_COLLECTION :int = 1; public static const ADD_TO_COLLECTION :int = 1;
// from interface EZGameService // from interface EZGameService
public function addToCollection (arg1 :Client, arg2 :String, arg3 :Array, arg4 :Boolean, arg5 :InvocationService_InvocationListener) :void public function addToCollection (arg1 :Client, arg2 :String, arg3 :TypedArray /* of class [B */, arg4 :Boolean, arg5 :InvocationService_InvocationListener) :void
{ {
var listener5 :InvocationMarshaller_ListenerMarshaller = new InvocationMarshaller_ListenerMarshaller(); var listener5 :InvocationMarshaller_ListenerMarshaller = new InvocationMarshaller_ListenerMarshaller();
listener5.listener = arg5; listener5.listener = arg5;
@@ -74,7 +75,7 @@ public class EZGameMarshaller extends InvocationMarshaller
public static const END_GAME :int = 3; public static const END_GAME :int = 3;
// from interface EZGameService // from interface EZGameService
public function endGame (arg1 :Client, arg2 :Array, arg3 :InvocationService_InvocationListener) :void public function endGame (arg1 :Client, arg2 :TypedArray /* of int */, arg3 :InvocationService_InvocationListener) :void
{ {
var listener3 :InvocationMarshaller_ListenerMarshaller = new InvocationMarshaller_ListenerMarshaller(); var listener3 :InvocationMarshaller_ListenerMarshaller = new InvocationMarshaller_ListenerMarshaller();
listener3.listener = arg3; listener3.listener = arg3;
@@ -22,6 +22,7 @@
package com.threerings.parlor.card.trick.client { package com.threerings.parlor.card.trick.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.io.TypedArray;
import com.threerings.parlor.card.data.Card; import com.threerings.parlor.card.data.Card;
import com.threerings.parlor.card.trick.client.TrickCardGameService; import com.threerings.parlor.card.trick.client.TrickCardGameService;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
@@ -40,6 +41,6 @@ public interface TrickCardGameService extends InvocationService
function requestRematch (arg1 :Client) :void; function requestRematch (arg1 :Client) :void;
// from Java interface TrickCardGameService // from Java interface TrickCardGameService
function sendCardsToPlayer (arg1 :Client, arg2 :int, arg3 :Array) :void; function sendCardsToPlayer (arg1 :Client, arg2 :int, arg3 :TypedArray /* of class com.threerings.parlor.card.data.Card */) :void;
} }
} }
@@ -23,6 +23,7 @@ package com.threerings.parlor.card.trick.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.parlor.card.data.Card; import com.threerings.parlor.card.data.Card;
import com.threerings.parlor.card.trick.client.TrickCardGameService; import com.threerings.parlor.card.trick.client.TrickCardGameService;
@@ -66,7 +67,7 @@ public class TrickCardGameMarshaller extends InvocationMarshaller
public static const SEND_CARDS_TO_PLAYER :int = 3; public static const SEND_CARDS_TO_PLAYER :int = 3;
// from interface TrickCardGameService // from interface TrickCardGameService
public function sendCardsToPlayer (arg1 :Client, arg2 :int, arg3 :Array) :void public function sendCardsToPlayer (arg1 :Client, arg2 :int, arg3 :TypedArray /* of class com.threerings.parlor.card.data.Card */) :void
{ {
sendRequest(arg1, SEND_CARDS_TO_PLAYER, [ sendRequest(arg1, SEND_CARDS_TO_PLAYER, [
Integer.valueOf(arg2), arg3 Integer.valueOf(arg2), arg3
@@ -22,6 +22,7 @@
package com.threerings.parlor.client { package com.threerings.parlor.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.io.TypedArray;
import com.threerings.parlor.client.ParlorService; import com.threerings.parlor.client.ParlorService;
import com.threerings.parlor.client.ParlorService_InviteListener; import com.threerings.parlor.client.ParlorService_InviteListener;
import com.threerings.parlor.data.ParlorMarshaller_InviteMarshaller; import com.threerings.parlor.data.ParlorMarshaller_InviteMarshaller;
@@ -23,6 +23,7 @@ package com.threerings.parlor.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.parlor.client.ParlorService; import com.threerings.parlor.client.ParlorService;
import com.threerings.parlor.client.ParlorService_InviteListener; import com.threerings.parlor.client.ParlorService_InviteListener;
@@ -22,6 +22,7 @@
package com.threerings.parlor.client { package com.threerings.parlor.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.io.TypedArray;
import com.threerings.parlor.client.TableService; import com.threerings.parlor.client.TableService;
import com.threerings.parlor.data.TableConfig; import com.threerings.parlor.data.TableConfig;
import com.threerings.parlor.game.data.GameConfig; import com.threerings.parlor.game.data.GameConfig;
@@ -23,6 +23,7 @@ package com.threerings.parlor.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.parlor.client.ParlorService; import com.threerings.parlor.client.ParlorService;
import com.threerings.parlor.client.ParlorService_InviteListener; import com.threerings.parlor.client.ParlorService_InviteListener;
@@ -23,6 +23,7 @@ package com.threerings.parlor.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.parlor.client.ParlorService; import com.threerings.parlor.client.ParlorService;
import com.threerings.parlor.client.ParlorService_InviteListener; import com.threerings.parlor.client.ParlorService_InviteListener;
@@ -23,6 +23,7 @@ package com.threerings.parlor.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.parlor.client.TableService; import com.threerings.parlor.client.TableService;
import com.threerings.parlor.data.TableConfig; import com.threerings.parlor.data.TableConfig;
@@ -22,6 +22,7 @@
package com.threerings.whirled.spot.client { package com.threerings.whirled.spot.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.io.TypedArray;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService; import com.threerings.presents.client.InvocationService;
import com.threerings.presents.client.InvocationService_ConfirmListener; import com.threerings.presents.client.InvocationService_ConfirmListener;
@@ -23,6 +23,7 @@ package com.threerings.whirled.spot.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService_ConfirmListener; import com.threerings.presents.client.InvocationService_ConfirmListener;
@@ -22,6 +22,7 @@
package com.threerings.whirled.zone.client { package com.threerings.whirled.zone.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.io.TypedArray;
import com.threerings.crowd.data.PlaceConfig; import com.threerings.crowd.data.PlaceConfig;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
import com.threerings.presents.client.InvocationService; import com.threerings.presents.client.InvocationService;
@@ -23,6 +23,7 @@ package com.threerings.whirled.zone.client {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.crowd.data.PlaceConfig; import com.threerings.crowd.data.PlaceConfig;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
@@ -47,6 +48,6 @@ public interface ZoneService_ZoneMoveListener
function moveSucceededWithScene (arg1 :int, arg2 :PlaceConfig, arg3 :ZoneSummary, arg4 :SceneModel) :void function moveSucceededWithScene (arg1 :int, arg2 :PlaceConfig, arg3 :ZoneSummary, arg4 :SceneModel) :void
// from Java ZoneService_ZoneMoveListener // from Java ZoneService_ZoneMoveListener
function moveSucceededWithUpdates (arg1 :int, arg2 :PlaceConfig, arg3 :ZoneSummary, arg4 :Array) :void function moveSucceededWithUpdates (arg1 :int, arg2 :PlaceConfig, arg3 :ZoneSummary, arg4 :TypedArray /* of class com.threerings.whirled.data.SceneUpdate */) :void
} }
} }
@@ -23,6 +23,7 @@ package com.threerings.whirled.zone.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.crowd.data.PlaceConfig; import com.threerings.crowd.data.PlaceConfig;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
@@ -23,6 +23,7 @@ package com.threerings.whirled.zone.data {
import flash.utils.ByteArray; import flash.utils.ByteArray;
import com.threerings.util.*; // for Float, Integer, etc. import com.threerings.util.*; // for Float, Integer, etc.
import com.threerings.io.TypedArray;
import com.threerings.crowd.data.PlaceConfig; import com.threerings.crowd.data.PlaceConfig;
import com.threerings.presents.client.Client; import com.threerings.presents.client.Client;
@@ -64,7 +65,7 @@ public class ZoneMarshaller_ZoneMoveMarshaller
case MOVE_SUCCEEDED_WITH_UPDATES: case MOVE_SUCCEEDED_WITH_UPDATES:
(listener as ZoneService_ZoneMoveListener).moveSucceededWithUpdates( (listener as ZoneService_ZoneMoveListener).moveSucceededWithUpdates(
(args[0] as int), (args[1] as PlaceConfig), (args[2] as ZoneSummary), (args[3] as Array)); (args[0] as int), (args[1] as PlaceConfig), (args[2] as ZoneSummary), (args[3] as TypedArray /* of class com.threerings.whirled.data.SceneUpdate */));
return; return;
default: default: