diff --git a/src/as/com/threerings/ezgame/client/EZGameService.as b/src/as/com/threerings/ezgame/client/EZGameService.as index 126c1e39..755ac8d3 100644 --- a/src/as/com/threerings/ezgame/client/EZGameService.as +++ b/src/as/com/threerings/ezgame/client/EZGameService.as @@ -22,6 +22,7 @@ package com.threerings.ezgame.client { import flash.utils.ByteArray; +import com.threerings.io.TypedArray; import com.threerings.ezgame.client.EZGameService; import com.threerings.presents.client.Client; import com.threerings.presents.client.InvocationService; @@ -37,13 +38,13 @@ import com.threerings.presents.data.InvocationMarshaller_ResultMarshaller; public interface EZGameService extends InvocationService { // 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 function checkDictionaryWord (arg1 :Client, arg2 :String, arg3 :String, arg4 :InvocationService_ResultListener) :void; // 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 function endRound (arg1 :Client, arg2 :int, arg3 :InvocationService_InvocationListener) :void; diff --git a/src/as/com/threerings/ezgame/data/EZGameMarshaller.as b/src/as/com/threerings/ezgame/data/EZGameMarshaller.as index aa719409..0d169e0a 100644 --- a/src/as/com/threerings/ezgame/data/EZGameMarshaller.as +++ b/src/as/com/threerings/ezgame/data/EZGameMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.ezgame.data { import flash.utils.ByteArray; import com.threerings.util.*; // for Float, Integer, etc. +import com.threerings.io.TypedArray; import com.threerings.ezgame.client.EZGameService; import com.threerings.presents.client.Client; @@ -48,7 +49,7 @@ public class EZGameMarshaller extends InvocationMarshaller public static const ADD_TO_COLLECTION :int = 1; // 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(); listener5.listener = arg5; @@ -74,7 +75,7 @@ public class EZGameMarshaller extends InvocationMarshaller public static const END_GAME :int = 3; // 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(); listener3.listener = arg3; diff --git a/src/as/com/threerings/parlor/card/trick/client/TrickCardGameService.as b/src/as/com/threerings/parlor/card/trick/client/TrickCardGameService.as index 6adc4c46..db52c627 100644 --- a/src/as/com/threerings/parlor/card/trick/client/TrickCardGameService.as +++ b/src/as/com/threerings/parlor/card/trick/client/TrickCardGameService.as @@ -22,6 +22,7 @@ package com.threerings.parlor.card.trick.client { import flash.utils.ByteArray; +import com.threerings.io.TypedArray; import com.threerings.parlor.card.data.Card; import com.threerings.parlor.card.trick.client.TrickCardGameService; import com.threerings.presents.client.Client; @@ -40,6 +41,6 @@ public interface TrickCardGameService extends InvocationService function requestRematch (arg1 :Client) :void; // 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; } } diff --git a/src/as/com/threerings/parlor/card/trick/data/TrickCardGameMarshaller.as b/src/as/com/threerings/parlor/card/trick/data/TrickCardGameMarshaller.as index 313ef9b6..be770062 100644 --- a/src/as/com/threerings/parlor/card/trick/data/TrickCardGameMarshaller.as +++ b/src/as/com/threerings/parlor/card/trick/data/TrickCardGameMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.parlor.card.trick.data { import flash.utils.ByteArray; 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.trick.client.TrickCardGameService; @@ -66,7 +67,7 @@ public class TrickCardGameMarshaller extends InvocationMarshaller public static const SEND_CARDS_TO_PLAYER :int = 3; // 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, [ Integer.valueOf(arg2), arg3 diff --git a/src/as/com/threerings/parlor/client/ParlorService.as b/src/as/com/threerings/parlor/client/ParlorService.as index 65fdfa5e..7e497243 100644 --- a/src/as/com/threerings/parlor/client/ParlorService.as +++ b/src/as/com/threerings/parlor/client/ParlorService.as @@ -22,6 +22,7 @@ package com.threerings.parlor.client { import flash.utils.ByteArray; +import com.threerings.io.TypedArray; import com.threerings.parlor.client.ParlorService; import com.threerings.parlor.client.ParlorService_InviteListener; import com.threerings.parlor.data.ParlorMarshaller_InviteMarshaller; diff --git a/src/as/com/threerings/parlor/client/ParlorService_InviteListener.as b/src/as/com/threerings/parlor/client/ParlorService_InviteListener.as index 0c291c68..54ac8aee 100644 --- a/src/as/com/threerings/parlor/client/ParlorService_InviteListener.as +++ b/src/as/com/threerings/parlor/client/ParlorService_InviteListener.as @@ -23,6 +23,7 @@ package com.threerings.parlor.client { import flash.utils.ByteArray; 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_InviteListener; diff --git a/src/as/com/threerings/parlor/client/TableService.as b/src/as/com/threerings/parlor/client/TableService.as index 849413f7..07352a68 100644 --- a/src/as/com/threerings/parlor/client/TableService.as +++ b/src/as/com/threerings/parlor/client/TableService.as @@ -22,6 +22,7 @@ package com.threerings.parlor.client { import flash.utils.ByteArray; +import com.threerings.io.TypedArray; import com.threerings.parlor.client.TableService; import com.threerings.parlor.data.TableConfig; import com.threerings.parlor.game.data.GameConfig; diff --git a/src/as/com/threerings/parlor/data/ParlorMarshaller.as b/src/as/com/threerings/parlor/data/ParlorMarshaller.as index cafca25b..8a106254 100644 --- a/src/as/com/threerings/parlor/data/ParlorMarshaller.as +++ b/src/as/com/threerings/parlor/data/ParlorMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.parlor.data { import flash.utils.ByteArray; 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_InviteListener; diff --git a/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as b/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as index 39d62a9a..b5f50f51 100644 --- a/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as +++ b/src/as/com/threerings/parlor/data/ParlorMarshaller_InviteMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.parlor.data { import flash.utils.ByteArray; 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_InviteListener; diff --git a/src/as/com/threerings/parlor/data/TableMarshaller.as b/src/as/com/threerings/parlor/data/TableMarshaller.as index 70ab1446..f16b1388 100644 --- a/src/as/com/threerings/parlor/data/TableMarshaller.as +++ b/src/as/com/threerings/parlor/data/TableMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.parlor.data { import flash.utils.ByteArray; import com.threerings.util.*; // for Float, Integer, etc. +import com.threerings.io.TypedArray; import com.threerings.parlor.client.TableService; import com.threerings.parlor.data.TableConfig; diff --git a/src/as/com/threerings/whirled/spot/client/SpotService.as b/src/as/com/threerings/whirled/spot/client/SpotService.as index e0152dad..7c496456 100644 --- a/src/as/com/threerings/whirled/spot/client/SpotService.as +++ b/src/as/com/threerings/whirled/spot/client/SpotService.as @@ -22,6 +22,7 @@ package com.threerings.whirled.spot.client { import flash.utils.ByteArray; +import com.threerings.io.TypedArray; import com.threerings.presents.client.Client; import com.threerings.presents.client.InvocationService; import com.threerings.presents.client.InvocationService_ConfirmListener; diff --git a/src/as/com/threerings/whirled/spot/data/SpotMarshaller.as b/src/as/com/threerings/whirled/spot/data/SpotMarshaller.as index 0f93a5a8..2dba633b 100644 --- a/src/as/com/threerings/whirled/spot/data/SpotMarshaller.as +++ b/src/as/com/threerings/whirled/spot/data/SpotMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.whirled.spot.data { import flash.utils.ByteArray; import com.threerings.util.*; // for Float, Integer, etc. +import com.threerings.io.TypedArray; import com.threerings.presents.client.Client; import com.threerings.presents.client.InvocationService_ConfirmListener; diff --git a/src/as/com/threerings/whirled/zone/client/ZoneService.as b/src/as/com/threerings/whirled/zone/client/ZoneService.as index 770ea695..e624a7cd 100644 --- a/src/as/com/threerings/whirled/zone/client/ZoneService.as +++ b/src/as/com/threerings/whirled/zone/client/ZoneService.as @@ -22,6 +22,7 @@ package com.threerings.whirled.zone.client { import flash.utils.ByteArray; +import com.threerings.io.TypedArray; import com.threerings.crowd.data.PlaceConfig; import com.threerings.presents.client.Client; import com.threerings.presents.client.InvocationService; diff --git a/src/as/com/threerings/whirled/zone/client/ZoneService_ZoneMoveListener.as b/src/as/com/threerings/whirled/zone/client/ZoneService_ZoneMoveListener.as index 12688b44..825c5e50 100644 --- a/src/as/com/threerings/whirled/zone/client/ZoneService_ZoneMoveListener.as +++ b/src/as/com/threerings/whirled/zone/client/ZoneService_ZoneMoveListener.as @@ -23,6 +23,7 @@ package com.threerings.whirled.zone.client { import flash.utils.ByteArray; import com.threerings.util.*; // for Float, Integer, etc. +import com.threerings.io.TypedArray; import com.threerings.crowd.data.PlaceConfig; 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 // 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 } } diff --git a/src/as/com/threerings/whirled/zone/data/ZoneMarshaller.as b/src/as/com/threerings/whirled/zone/data/ZoneMarshaller.as index 05b7796c..a1283ce4 100644 --- a/src/as/com/threerings/whirled/zone/data/ZoneMarshaller.as +++ b/src/as/com/threerings/whirled/zone/data/ZoneMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.whirled.zone.data { import flash.utils.ByteArray; import com.threerings.util.*; // for Float, Integer, etc. +import com.threerings.io.TypedArray; import com.threerings.crowd.data.PlaceConfig; import com.threerings.presents.client.Client; diff --git a/src/as/com/threerings/whirled/zone/data/ZoneMarshaller_ZoneMoveMarshaller.as b/src/as/com/threerings/whirled/zone/data/ZoneMarshaller_ZoneMoveMarshaller.as index f75d11e4..d3d49440 100644 --- a/src/as/com/threerings/whirled/zone/data/ZoneMarshaller_ZoneMoveMarshaller.as +++ b/src/as/com/threerings/whirled/zone/data/ZoneMarshaller_ZoneMoveMarshaller.as @@ -23,6 +23,7 @@ package com.threerings.whirled.zone.data { import flash.utils.ByteArray; import com.threerings.util.*; // for Float, Integer, etc. +import com.threerings.io.TypedArray; import com.threerings.crowd.data.PlaceConfig; import com.threerings.presents.client.Client; @@ -64,7 +65,7 @@ public class ZoneMarshaller_ZoneMoveMarshaller case MOVE_SUCCEEDED_WITH_UPDATES: (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; default: