code
stringlengths
57
237k
package alternativa.tanks.battle.objects.tank.tankskin.dynamic { import alternativa.engine3d.core.Face; import alternativa.engine3d.core.Vertex; import alternativa.engine3d.materials.Material; import flash.geom.Point; public class CommonDynamicSkin implements DynamicSkin { protected var faces:Vector.<Face> = new Vector.<Face>(); protected var rotation:Number; protected var vertices:Vector.<Vertex> = new Vector.<Vertex>(); protected var originalUVs:Vector.<Point> = new Vector.<Point>(); public function CommonDynamicSkin() { super(); this.rotation = 0; } public function addFace(param1:Face) : void { this.faces.push(param1); } public function init() : void { var local1:Face = null; var local2:Vertex = null; for each(local1 in this.faces) { for each(local2 in local1.vertices) { this.vertices.push(local2); this.originalUVs.push(new Point(local2.u,local2.v)); } } } public function setMaterial(param1:Material) : void { var local2:Face = null; for each(local2 in this.faces) { local2.material = param1; } } public function rotate(param1:Number) : void { this.rotation += param1; } public function reset() : void { this.rotation = 0; } } }
package alternativa.tanks.materials { import alternativa.gfx.agal.VertexShader; public class PaintVertexShader extends VertexShader { public function PaintVertexShader(param1:Boolean, param2:Boolean, param3:Boolean, param4:Boolean, param5:Boolean, param6:Boolean, param7:Boolean, param8:Boolean, param9:Boolean, param10:Boolean) { super(); mov(vt0,vc[4]); if(param1) { dp4(vt0.x,va0,vc[0]); dp4(vt0.y,va0,vc[1]); dp4(vt0.z,va0,vc[2]); mul(v0,va1,vc[4]); mov(vt1,vc[4]); dp3(vt1.x,va1,vc[14]); dp3(vt1.y,va1,vc[15]); add(vt1.x,vt1.x,vc[14].z); add(vt1.y,vt1.y,vc[15].z); mov(v6,vt1); } else { mov(vt0.xyz,cc.rel(va0.x,0)); mov(vt1,cc.rel(va0.x,1)); mul(v0,vt1,vc[4]); mov(vt2,vc[4]); dp3(vt2.x,vt1,vc[14]); dp3(vt2.y,vt1,vc[15]); add(vt2.x,vt2.x,vc[14].z); add(vt2.y,vt2.y,vc[15].z); mov(v6,vt2); } if(param2 || param3) { mov(v1,vt0); } if(param3) { if(param1) { if(param4) { mul(vt1,va2,vc[11]); nrm(vt1.xyz,vt1.xyz); div(vt1,vt1,vc[11]); } else { mov(vt1,vc[4]); dp3(vt1.x,va2,vc[0]); dp3(vt1.y,va2,vc[1]); dp3(vt1.z,va2,vc[2]); } } else { mov(vt2,vc[4]); mov(vt2.x,cc.rel(va0.x,0).w); mov(vt2.y,cc.rel(va0.x,1).z); mov(vt2.z,cc.rel(va0.x,1).w); if(param4) { mul(vt1,vt2,vc[11]); nrm(vt1.xyz,vt1.xyz); div(vt1,vt1,vc[11]); } else { mov(vt1,vc[4]); dp3(vt1.x,vt2,vc[0]); dp3(vt1.y,vt2,vc[1]); dp3(vt1.z,vt2,vc[2]); } } dp3(vt1.w,vt1,vc[10]); if(param4) { sub(vt1.w,vc[4],vt1); mul(v1.w,vt1,vc[11]); } else { sub(v1.w,vc[4],vt1); } } else if(param5 || param6 || param9 || param10) { mov(vt1,vc[4]); } if(param5) { dp4(v2.x,vt0,vc[6]); dp4(v2.y,vt0,vc[7]); dp4(v2.z,vt0,vc[8]); sub(vt1.w,vt0.z,vc[9].x); div(vt1.w,vt1,vc[9].y); sub(v2.w,vc[4],vt1); } if(param6) { sub(vt1.w,vt0.z,vc[5].z); div(v0.w,vt1,vc[5]); } if(param8) { mov(vt1,vt0); mul(vt1.x,vt1,vc[11].w); mul(vt1.y,vt1,vc[12].w); sub(vt1,vt1,vc[11]); dp3(v0.z,vt1,vc[12]); } if(param7) { mul(vt0.xyz,vt0,vc[11]); } if(param9) { div(vt1.z,vc[3].w,vt0); add(vt1.z,vt1,vc[3]); mul(vt1.z,vt1,vc[3].x); sub(vt1.z,vt1,vc[3].y); div(vt1.z,vt1,vc[3].x); sub(vt1.z,vt1,vc[3]); div(vt1.z,vc[3].w,vt1); mov(vt2,vc[4]); nrm(vt2.xyz,vt0.xyz); sub(vt1.z,vt0,vt1); div(vt1.z,vt1,vt2); mul(vt2,vt2,vt1.z); sub(vt0,vt0,vt2); } if(param10) { mul(vt0.xy,vt0,vc[13]); mul(vt1.xy,vc[13].zw,vt0.z); add(vt0.xy,vt0,vt1); } mov(op.xw,vt0.xz); neg(op.y,vt0); mul(vt0.z,vt0,vc[3]); add(op.z,vt0,vc[3].w); } } }
package projects.tanks.clients.fp10.libraries.tanksservices.model.friends.incomingnotificator { import alternativa.osgi.service.logging.LogService; import alternativa.types.Long; import platform.client.fp10.core.model.ObjectLoadListener; import platform.client.fp10.core.model.ObjectUnloadListener; import projects.tanks.client.users.model.friends.container.UserContainerCC; import projects.tanks.client.users.model.friends.incomingnotificator.FriendsIncomingNotificatorModelBase; import projects.tanks.client.users.model.friends.incomingnotificator.IFriendsIncomingNotificatorModelBase; import projects.tanks.clients.fp10.libraries.tanksservices.model.IFriends; import projects.tanks.clients.fp10.libraries.tanksservices.service.friend.IFriendInfoService; import projects.tanks.clients.fp10.libraries.tanksservices.service.friend.NewFriendRemoveEvent; [ModelInfo] public class FriendsIncomingNotificatorModel extends FriendsIncomingNotificatorModelBase implements IFriendsIncomingNotificatorModelBase, ObjectLoadListener, ObjectUnloadListener { [Inject] public static var logService:LogService; [Inject] public static var friendsInfoService:IFriendInfoService; public function FriendsIncomingNotificatorModel() { super(); } public function objectLoaded() : void { var local1:UserContainerCC = null; var local2:Long = null; if(IFriends(object.adapt(IFriends)).isLocal()) { local1 = getInitParam(); for each(local2 in local1.users) { logService.getLogger("fcounter").debug("FriendsIncomingNotificatorModel newFriendsIncoming userId=%1",[local2]); friendsInfoService.onAddNewIncomingFriend(local2); } friendsInfoService.addEventListener(NewFriendRemoveEvent.INCOMING,getFunctionWrapper(this.remove)); } } private function remove(param1:NewFriendRemoveEvent) : void { if(IFriends(object.adapt(IFriends)).isLocal()) { logService.getLogger("fcounter").debug("FriendsIncomingNotificatorModel remove userId=%1",[param1.userId]); server.remove(param1.userId); } } public function onAdding(param1:Long) : void { if(IFriends(object.adapt(IFriends)).isLocal()) { logService.getLogger("fcounter").debug("FriendsIncomingNotificatorModel onAdding userId=%1",[param1]); friendsInfoService.onAddNewIncomingFriend(param1); } } public function onRemoved(param1:Long) : void { if(IFriends(object.adapt(IFriends)).isLocal()) { logService.getLogger("fcounter").debug("FriendsIncomingNotificatorModel onRemoved userId=%1",[param1]); friendsInfoService.onRemoveNewIncomingFriend(param1); } } public function objectUnloaded() : void { if(IFriends(object.adapt(IFriends)).isLocal()) { logService.getLogger("fcounter").debug("FriendsIncomingNotificatorModel objectUnloaded"); friendsInfoService.removeEventListener(NewFriendRemoveEvent.INCOMING,getFunctionWrapper(this.remove)); } } } }
package alternativa.tanks.servermodels { import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.type.IGameObject; public class IGoogleEntranceModelAdapt implements IGoogleEntranceModel { private var object:IGameObject; private var impl:IGoogleEntranceModel; public function IGoogleEntranceModelAdapt(param1:IGameObject, param2:IGoogleEntranceModel) { super(); this.object = param1; this.impl = param2; } public function login(param1:String) : void { var token:String = param1; try { Model.object = this.object; this.impl.login(token); } finally { Model.popObject(); } } } }
package alternativa.tanks.gui.upgrade { import controls.timer.CountDownTimer; import flash.events.Event; public class ItemPropertyUpgradeEvent extends Event { public static const SELECT_WINDOW_OPENED:String = "ItemPropertyUpgradeEventSelectWindowOpened"; public static const SELECT_WINDOW_CLOSED:String = "ItemPropertyUpgradeEventSelectWindowClosed"; public static const UPGRADE_STARTED:String = "ItemPropertyUpgradeEventUpgradeStarted"; public static const SPEED_UP:String = "ItemPropertyUpgradeEventSpeedUp"; public static const FLUSH_UPGRADES:String = "ItemPropertyUpgradeEventFlushUpgrades"; private var timer:CountDownTimer; private var price:int; public function ItemPropertyUpgradeEvent(param1:String, param2:CountDownTimer = null, param3:int = 0) { super(param1,bubbles,cancelable); this.timer = param2; this.price = param3; } public function getTimer() : CountDownTimer { return this.timer; } public function getPrice() : int { return this.price; } } }
package _codec.projects.tanks.client.battlefield.models.battle.cp.resources { import alternativa.osgi.OSGi; import alternativa.osgi.service.clientlog.IClientLog; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import platform.client.fp10.core.resource.types.SoundResource; import projects.tanks.client.battlefield.models.battle.cp.resources.DominationSounds; public class CodecDominationSounds implements ICodec { public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog)); private var codec_pointCaptureStartNegativeSound:ICodec; private var codec_pointCaptureStartPositiveSound:ICodec; private var codec_pointCaptureStopNegativeSound:ICodec; private var codec_pointCaptureStopPositiveSound:ICodec; private var codec_pointCapturedNegativeSound:ICodec; private var codec_pointCapturedPositiveSound:ICodec; private var codec_pointNeutralizedNegativeSound:ICodec; private var codec_pointNeutralizedPositiveSound:ICodec; private var codec_pointScoreDecreasingSound:ICodec; private var codec_pointScoreIncreasingSound:ICodec; public function CodecDominationSounds() { super(); } public function init(param1:IProtocol) : void { this.codec_pointCaptureStartNegativeSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointCaptureStartPositiveSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointCaptureStopNegativeSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointCaptureStopPositiveSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointCapturedNegativeSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointCapturedPositiveSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointNeutralizedNegativeSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointNeutralizedPositiveSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointScoreDecreasingSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); this.codec_pointScoreIncreasingSound = param1.getCodec(new TypeCodecInfo(SoundResource,false)); } public function decode(param1:ProtocolBuffer) : Object { var local2:DominationSounds = new DominationSounds(); local2.pointCaptureStartNegativeSound = this.codec_pointCaptureStartNegativeSound.decode(param1) as SoundResource; local2.pointCaptureStartPositiveSound = this.codec_pointCaptureStartPositiveSound.decode(param1) as SoundResource; local2.pointCaptureStopNegativeSound = this.codec_pointCaptureStopNegativeSound.decode(param1) as SoundResource; local2.pointCaptureStopPositiveSound = this.codec_pointCaptureStopPositiveSound.decode(param1) as SoundResource; local2.pointCapturedNegativeSound = this.codec_pointCapturedNegativeSound.decode(param1) as SoundResource; local2.pointCapturedPositiveSound = this.codec_pointCapturedPositiveSound.decode(param1) as SoundResource; local2.pointNeutralizedNegativeSound = this.codec_pointNeutralizedNegativeSound.decode(param1) as SoundResource; local2.pointNeutralizedPositiveSound = this.codec_pointNeutralizedPositiveSound.decode(param1) as SoundResource; local2.pointScoreDecreasingSound = this.codec_pointScoreDecreasingSound.decode(param1) as SoundResource; local2.pointScoreIncreasingSound = this.codec_pointScoreIncreasingSound.decode(param1) as SoundResource; return local2; } public function encode(param1:ProtocolBuffer, param2:Object) : void { if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:DominationSounds = DominationSounds(param2); this.codec_pointCaptureStartNegativeSound.encode(param1,local3.pointCaptureStartNegativeSound); this.codec_pointCaptureStartPositiveSound.encode(param1,local3.pointCaptureStartPositiveSound); this.codec_pointCaptureStopNegativeSound.encode(param1,local3.pointCaptureStopNegativeSound); this.codec_pointCaptureStopPositiveSound.encode(param1,local3.pointCaptureStopPositiveSound); this.codec_pointCapturedNegativeSound.encode(param1,local3.pointCapturedNegativeSound); this.codec_pointCapturedPositiveSound.encode(param1,local3.pointCapturedPositiveSound); this.codec_pointNeutralizedNegativeSound.encode(param1,local3.pointNeutralizedNegativeSound); this.codec_pointNeutralizedPositiveSound.encode(param1,local3.pointNeutralizedPositiveSound); this.codec_pointScoreDecreasingSound.encode(param1,local3.pointScoreDecreasingSound); this.codec_pointScoreIncreasingSound.encode(param1,local3.pointScoreIncreasingSound); } } }
package projects.tanks.clients.fp10.TanksLauncherErrorScreen { import mx.core.FontAsset; [ExcludeClass] [Embed(source="/_assets/projects.tanks.clients.fp10.TanksLauncherErrorScreen.TankFont_MyriadPro.ttf", fontName="MyriadPro", fontFamily="Myriad Pro", mimeType="application/x-font", fontWeight="normal", fontStyle="normal", unicodeRange="U+0020-007E,U+00A0-017E,U+0192-0192,U+01FC-01FF,U+0218-021B,U+02C6-02C7,U+02C9-02C9,U+02D8-02DD,U+037E-037E,U+0384-038A,U+038C-038C,U+038E-03A1,U+03A3-03CE,U+0401-040C,U+040E-044F,U+0451-045C,U+045E-045F,U+0490-0491,U+04D9-04D9,U+1E80-1E85,U+1EF2-1EF3,U+2013-2014,U+2018-201A,U+201C-201E,U+2020-2022,U+2026-2026,U+2030-2030,U+2039-203A,U+2044-2044,U+2070-2070,U+2074-2079,U+207D-207E,U+2080-2089,U+208D-208E,U+20AC-20AC,U+2113-2113,U+2116-2116,U+2122-2122,U+2126-2126,U+212E-212E,U+2190-2193,U+2202-2202,U+2206-2206,U+220F-220F,U+2211-2212,U+2215-2215,U+2219-221A,U+221E-221E,U+222B-222B,U+2248-2248,U+2260-2260,U+2264-2265,U+25CA-25CA,U+E000-E002,U+EFED-EFEE,U+EFF1-EFF3,U+EFF5-EFF5,U+EFF7-EFF7,U+F629-F634,U+F638-F64C,U+F64E-F66C,U+F6AE-F6BD,U+F6C1-F6C3,U+F6C9-F6D8,U+F6DC-F6DC,U+F6DF-F6E8,U+F730-F734", advancedAntiAliasing="true", embedAsCFF="false" )] public class TankFont_MyriadPro extends FontAsset { public function TankFont_MyriadPro() { super(); } } }
package alternativa.tanks.gui { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/alternativa.tanks.gui.EmailReminderWindow_confirmEmailReminderBitmapDataClass.png")] public class EmailReminderWindow_confirmEmailReminderBitmapDataClass extends BitmapAsset { public function EmailReminderWindow_confirmEmailReminderBitmapDataClass() { super(); } } }
package projects.tanks.client.battlefield.models.battle.pointbased.flag { import projects.tanks.client.battlefield.types.Vector3d; public class FlagFlyPoint { private var _mode:FlyingMode; private var _position:Vector3d; private var _rotation_w:Number; private var _rotation_x:Number; private var _rotation_y:Number; private var _rotation_z:Number; private var _time:int; public function FlagFlyPoint(param1:FlyingMode = null, param2:Vector3d = null, param3:Number = 0, param4:Number = 0, param5:Number = 0, param6:Number = 0, param7:int = 0) { super(); this._mode = param1; this._position = param2; this._rotation_w = param3; this._rotation_x = param4; this._rotation_y = param5; this._rotation_z = param6; this._time = param7; } public function get mode() : FlyingMode { return this._mode; } public function set mode(param1:FlyingMode) : void { this._mode = param1; } public function get position() : Vector3d { return this._position; } public function set position(param1:Vector3d) : void { this._position = param1; } public function get rotation_w() : Number { return this._rotation_w; } public function set rotation_w(param1:Number) : void { this._rotation_w = param1; } public function get rotation_x() : Number { return this._rotation_x; } public function set rotation_x(param1:Number) : void { this._rotation_x = param1; } public function get rotation_y() : Number { return this._rotation_y; } public function set rotation_y(param1:Number) : void { this._rotation_y = param1; } public function get rotation_z() : Number { return this._rotation_z; } public function set rotation_z(param1:Number) : void { this._rotation_z = param1; } public function get time() : int { return this._time; } public function set time(param1:int) : void { this._time = param1; } public function toString() : String { var local1:String = "FlagFlyPoint ["; local1 += "mode = " + this.mode + " "; local1 += "position = " + this.position + " "; local1 += "rotation_w = " + this.rotation_w + " "; local1 += "rotation_x = " + this.rotation_x + " "; local1 += "rotation_y = " + this.rotation_y + " "; local1 += "rotation_z = " + this.rotation_z + " "; local1 += "time = " + this.time + " "; return local1 + "]"; } } }
package projects.tanks.client.chat.models.chat.users.personalmessagereceiver { public class PersonalMessageReceiveMode { public static const ALL:PersonalMessageReceiveMode = new PersonalMessageReceiveMode(0,"ALL"); public static const FRIENDS_ONLY:PersonalMessageReceiveMode = new PersonalMessageReceiveMode(1,"FRIENDS_ONLY"); public static const NONE:PersonalMessageReceiveMode = new PersonalMessageReceiveMode(2,"NONE"); private var _value:int; private var _name:String; public function PersonalMessageReceiveMode(param1:int, param2:String) { super(); this._value = param1; this._name = param2; } public static function get values() : Vector.<PersonalMessageReceiveMode> { var local1:Vector.<PersonalMessageReceiveMode> = new Vector.<PersonalMessageReceiveMode>(); local1.push(ALL); local1.push(FRIENDS_ONLY); local1.push(NONE); return local1; } public function toString() : String { return "PersonalMessageReceiveMode [" + this._name + "]"; } public function get value() : int { return this._value; } public function get name() : String { return this._name; } } }
package alternativa.tanks.models.tank.armor { import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.type.IGameObject; public class ArmorAdapt implements Armor { private var object:IGameObject; private var impl:Armor; public function ArmorAdapt(param1:IGameObject, param2:Armor) { super(); this.object = param1; this.impl = param2; } public function getMaxHealth() : int { var result:int = 0; try { Model.object = this.object; result = int(this.impl.getMaxHealth()); } finally { Model.popObject(); } return result; } } }
package alternativa.tanks.gui { import alternativa.tanks.gui.alerts.ItemsAlert; import alternativa.tanks.model.garage.resistance.ModuleResistances; import platform.client.fp10.core.type.IGameObject; import projects.tanks.client.commons.types.ItemGarageProperty; import projects.tanks.client.panel.model.garage.GarageItemInfo; import projects.tanks.clients.fp10.libraries.tanksservices.service.premium.PremiumService; public class AvailableItemsAlert extends ItemsAlert { [Inject] public static var premiumService:PremiumService; public function AvailableItemsAlert(param1:Vector.<GarageItemInfo>, param2:String, param3:String) { super(param2,param3,this.addItems,param1); } private function addItems(param1:Vector.<GarageItemInfo>) : void { var local4:GarageItemInfo = null; var local5:int = 0; var local6:Boolean = false; var local7:IGameObject = null; var local8:Vector.<ItemGarageProperty> = null; var local2:int = int(param1.length); var local3:int = 0; while(local3 < local2) { local4 = param1[local3]; local5 = 0; local6 = local4.premiumItem && !premiumService.hasPremium(); local7 = local4.item; local8 = null; if(local7.hasModel(ModuleResistances)) { local8 = ModuleResistances(local7.adapt(ModuleResistances)).getResistances(); } partsList.addItem(local4.item,local4.name,local4.category,local4.position,0,local5,local6,true,0,local4.preview,0,null,local4.modificationIndex,null,local8); local3++; } } } }
package alternativa.tanks.model.item.skins { import platform.client.fp10.core.type.IGameObject; [ModelInterface] public interface MountSkin { function getMountedSkin() : IGameObject; function mount(param1:IGameObject) : void; } }
package _codec.projects.tanks.client.battlefield.models.tankparts.weapon.railgun { import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.codec.OptionalCodecDecorator; import alternativa.protocol.impl.LengthCodecHelper; import alternativa.protocol.info.TypeCodecInfo; import projects.tanks.client.battlefield.models.tankparts.weapon.railgun.RailgunCC; public class VectorCodecRailgunCCLevel1 implements ICodec { private var elementCodec:ICodec; private var optionalElement:Boolean; public function VectorCodecRailgunCCLevel1(param1:Boolean) { super(); this.optionalElement = param1; } public function init(param1:IProtocol) : void { this.elementCodec = param1.getCodec(new TypeCodecInfo(RailgunCC,false)); if(this.optionalElement) { this.elementCodec = new OptionalCodecDecorator(this.elementCodec); } } public function decode(param1:ProtocolBuffer) : Object { var local2:int = int(LengthCodecHelper.decodeLength(param1)); var local3:Vector.<RailgunCC> = new Vector.<RailgunCC>(local2,true); var local4:int = 0; while(local4 < local2) { local3[local4] = RailgunCC(this.elementCodec.decode(param1)); local4++; } return local3; } public function encode(param1:ProtocolBuffer, param2:Object) : void { var local4:RailgunCC = null; if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:Vector.<RailgunCC> = Vector.<RailgunCC>(param2); var local5:int = int(local3.length); LengthCodecHelper.encodeLength(param1,local5); var local6:int = 0; while(local6 < local5) { this.elementCodec.encode(param1,local3[local6]); local6++; } } } }
package scpacker.test.spectator { import alternativa.init.Main; import alternativa.math.Vector3; import alternativa.tanks.camera.GameCamera; import alternativa.tanks.models.battlefield.BattlefieldModel; import alternativa.tanks.models.battlefield.IBattleField; import alternativa.tanks.models.tank.TankData; import alternativa.tanks.vehicles.tanks.Tank; import com.alternativaplatform.projects.tanks.client.models.tank.TankSpawnState; import flash.events.KeyboardEvent; import flash.ui.Keyboard; import projects.tanks.client.battleservice.model.team.BattleTeamType; public class PlayerCamera implements KeyboardHandler { private var battlefield:BattlefieldModel; public var focusedUser:TankData; private var spectatorController:SpectatorCameraController; public function PlayerCamera(param1:SpectatorCameraController) { super(); this.spectatorController = param1; this.battlefield = BattlefieldModel(Main.osgi.getService(IBattleField)); } private function onFocusOnUser(param1:Object) : void { var _loc2_:TankData = this.findTank(param1.userId); this.focusOnTank(_loc2_); } private function findTank(id:String) : TankData { var tank:TankData = null; var key:* = undefined; for each(key in this.battlefield.bfData.activeTanks) { if(TankData(key).userName == id) { tank = key; } } return tank; } public function handleBattleEvent(param1:Tank) : void { var _loc2_:Tank = param1; if(this.focusedUser.tank == _loc2_) { this.unfocus(); } } public function handleKeyUp(param1:KeyboardEvent) : void { } public function handleKeyDown(param1:KeyboardEvent) : void { this.onKey(param1); } private function onKey(param1:KeyboardEvent) : void { var _loc2_:TankData = null; if(param1.keyCode == Keyboard.F) { _loc2_ = this.findNearestUser(BattleTeamType.NONE); } if(param1.keyCode == Keyboard.R) { _loc2_ = this.findNearestUser(BattleTeamType.RED); } if(param1.keyCode == Keyboard.B) { _loc2_ = this.findNearestUser(BattleTeamType.BLUE); } if(param1.keyCode == Keyboard.U) { this.unfocus(); } if(_loc2_) { this.focusOnTank(_loc2_); } if(this.focusedUser) { switch(param1.keyCode) { case Keyboard.RIGHT: this.nextPlayer(); break; case Keyboard.LEFT: this.prevPlayer(); } } } private function findNearestUser(param1:BattleTeamType) : TankData { var key:* = undefined; var _loc6_:TankData = null; var _loc7_:Tank = null; var _loc8_:Number = NaN; var _loc2_:Tank = null; var _loc3_:Number = 100000000000000000000; var _loc4_:GameCamera = this.battlefield.bfData.viewport.camera; var _loc5_:Vector3 = new Vector3(_loc4_.x,_loc4_.y,_loc4_.z); for(key in this.battlefield.bfData.activeTanks) { _loc6_ = TankData(key); _loc7_ = this.getTank(_loc6_); if(_loc6_.teamType == param1 && _loc6_.spawnState == TankSpawnState.ACTIVE) { _loc8_ = _loc7_.state.pos.distanceTo(_loc5_); if(_loc8_ < _loc3_) { _loc3_ = _loc8_; _loc2_ = _loc7_; break; } } else { _loc6_ = null; } } return _loc6_; } private function focusOnTank(param1:TankData) : void { if(param1 == null) { return; } if(param1.spawnState != TankSpawnState.ACTIVE) { return; } if(this.focusedUser == null) { this.battlefield.activateFollowCamera(); } else { this.onUnfocus(); } this.focusedUser = param1; this.battlefield.setCameraTarget(param1.tank); } public function unfocus() : void { if(this.focusedUser) { this.onUnfocus(); this.focusedUser = null; this.spectatorController.activate(); this.spectatorController.setPositionFromCamera(); this.battlefield.activateSpectatorCamera(); } } private function onUnfocus() : void { } private function nextPlayer() : void { this.focusOnTank(this.nextPlayerInDirection(1)); } private function prevPlayer() : void { this.focusOnTank(this.nextPlayerInDirection(-1)); } private function nextPlayerInDirection(param1:int) : TankData { var _loc5_:TankData = null; var _loc2_:Vector.<TankData> = this.getUsers(); var _loc3_:int = _loc2_.indexOf(this.focusedUser); if(_loc3_ == -1) { return null; } var _loc4_:int = _loc3_; while(true) { _loc4_ += param1; if(_loc4_ == -1) { _loc4_ = _loc2_.length - 1; } else if(_loc4_ == _loc2_.length) { _loc4_ = 0; } _loc5_ = _loc2_[_loc4_]; if(_loc5_.teamType == this.focusedUser.teamType && _loc5_.spawnState == TankSpawnState.ACTIVE) { break; } if(_loc3_ == _loc4_) { return null; } } return _loc5_; } private function getUsers() : Vector.<TankData> { var key:* = undefined; var vector:Vector.<TankData> = new Vector.<TankData>(); for(key in this.battlefield.bfData.activeTanks) { vector.push(TankData(key)); } return vector; } private function getTank(param1:TankData) : Tank { return param1.tank; } [Obfuscation(rename="false")] public function close() : void { } } }
package controls.resultassets { import assets.resultwindow.bres_HEADER_BLUE_PIXEL; import assets.resultwindow.bres_HEADER_BLUE_TL; import controls.statassets.StatLineBase; public class ResultWindowBlueHeader extends StatLineBase { public function ResultWindowBlueHeader() { super(); tl = new bres_HEADER_BLUE_TL(1,1); px = new bres_HEADER_BLUE_PIXEL(1,1); } } }
package alternativa.tanks.battle.events { public class BattleFinishEvent { public function BattleFinishEvent() { super(); } } }
package alternativa.tanks.gui.notinclan.buttons { import alternativa.tanks.gui.IClanNotificationListener; import alternativa.tanks.gui.components.button.RequestCountIndicator; import alternativa.tanks.models.service.ClanUserNotificationsManager; import controls.base.TankDefaultButton; public class ClanUserIncomingRequestButton extends TankDefaultButton implements IClanNotificationListener { private var requestCountIndicator:RequestCountIndicator = new RequestCountIndicator(); public function ClanUserIncomingRequestButton() { super(); ClanUserNotificationsManager.addIncomingIndicatorListener(this); addChild(this.requestCountIndicator); this.requestCountIndicator.y = -6; } override public function set width(param1:Number) : void { super.width = param1; this.requestCountIndicator.x = width + 3; } override public function set enable(param1:Boolean) : void { super.enable = param1; this.requestCountIndicator.visible = param1 && ClanUserNotificationsManager.getIncomingNotificationsCount() > 0; } public function updateNotifications() : void { var local1:int = ClanUserNotificationsManager.getIncomingNotificationsCount(); this.requestCountIndicator.count = local1; } public function destroy() : void { ClanUserNotificationsManager.removeIncomingIndicatorListener(this); } } }
package projects.tanks.client.battlefield.models.battle.jgr { import platform.client.fp10.core.resource.types.SoundResource; import platform.client.fp10.core.resource.types.TextureResource; import platform.client.fp10.core.type.IGameObject; public class JuggernautCC { private var _bossHudMarker:TextureResource; private var _bossKilledSound:SoundResource; private var _bossSpawnedSound:SoundResource; private var _currentBoss:IGameObject; public function JuggernautCC(param1:TextureResource = null, param2:SoundResource = null, param3:SoundResource = null, param4:IGameObject = null) { super(); this._bossHudMarker = param1; this._bossKilledSound = param2; this._bossSpawnedSound = param3; this._currentBoss = param4; } public function get bossHudMarker() : TextureResource { return this._bossHudMarker; } public function set bossHudMarker(param1:TextureResource) : void { this._bossHudMarker = param1; } public function get bossKilledSound() : SoundResource { return this._bossKilledSound; } public function set bossKilledSound(param1:SoundResource) : void { this._bossKilledSound = param1; } public function get bossSpawnedSound() : SoundResource { return this._bossSpawnedSound; } public function set bossSpawnedSound(param1:SoundResource) : void { this._bossSpawnedSound = param1; } public function get currentBoss() : IGameObject { return this._currentBoss; } public function set currentBoss(param1:IGameObject) : void { this._currentBoss = param1; } public function toString() : String { var local1:String = "JuggernautCC ["; local1 += "bossHudMarker = " + this.bossHudMarker + " "; local1 += "bossKilledSound = " + this.bossKilledSound + " "; local1 += "bossSpawnedSound = " + this.bossSpawnedSound + " "; local1 += "currentBoss = " + this.currentBoss + " "; return local1 + "]"; } } }
package alternativa.tanks.model.quest.weekly.gui { import alternativa.tanks.model.quest.common.gui.CommonQuestTab; import alternativa.tanks.model.quest.common.gui.window.CommonQuestView; import alternativa.tanks.model.quest.common.notification.QuestNotifierService; import alternativa.tanks.model.quest.weekly.WeeklyQuestEvent; import alternativa.tanks.model.quest.weekly.WeeklyQuestsService; import projects.tanks.client.panel.model.quest.QuestTypeEnum; import projects.tanks.client.panel.model.quest.showing.QuestInfoWithLevel; import projects.tanks.client.panel.model.quest.weekly.WeeklyQuestInfo; import projects.tanks.clients.fp10.libraries.TanksLocale; public class WeeklyQuestTab extends CommonQuestTab implements WeeklyQuestsService { [Inject] public static var questNotifierService:QuestNotifierService; public function WeeklyQuestTab() { super(); } override protected function createQuestView(param1:QuestInfoWithLevel) : CommonQuestView { return new WeeklyQuestView(WeeklyQuestInfo(param1)); } override public function show() : void { super.show(); dispatchEvent(new WeeklyQuestEvent(WeeklyQuestEvent.REQUEST_DATA)); questNotifierService.changesViewed(QuestTypeEnum.WEEKLY); } override protected function getTextForStubView() : String { return localeService.getText(TanksLocale.TEXT_WEEKLY_QUEST_COMPLETED); } public function questInfoChanged(param1:Vector.<WeeklyQuestInfo>) : void { var local3:WeeklyQuestInfo = null; var local2:Vector.<QuestInfoWithLevel> = new Vector.<QuestInfoWithLevel>(); for each(local3 in param1) { local2.push(local3); } initViews(local2); } } }
package controls.cellrenderer { import mx.core.BitmapAsset; [ExcludeClass] public class CellNormal_normalCenter extends BitmapAsset { public function CellNormal_normalCenter() { super(); } } }
package _codec.projects.tanks.client.garage.models.item.device { import alternativa.osgi.OSGi; import alternativa.osgi.service.clientlog.IClientLog; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import platform.client.fp10.core.resource.types.ImageResource; import projects.tanks.client.garage.models.item.device.ItemDevicesCC; public class CodecItemDevicesCC implements ICodec { public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog)); private var codec_devicesAvailable:ICodec; private var codec_preview:ICodec; private var codec_sale:ICodec; public function CodecItemDevicesCC() { super(); } public function init(param1:IProtocol) : void { this.codec_devicesAvailable = param1.getCodec(new TypeCodecInfo(Boolean,false)); this.codec_preview = param1.getCodec(new TypeCodecInfo(ImageResource,true)); this.codec_sale = param1.getCodec(new TypeCodecInfo(Boolean,false)); } public function decode(param1:ProtocolBuffer) : Object { var local2:ItemDevicesCC = new ItemDevicesCC(); local2.devicesAvailable = this.codec_devicesAvailable.decode(param1) as Boolean; local2.preview = this.codec_preview.decode(param1) as ImageResource; local2.sale = this.codec_sale.decode(param1) as Boolean; return local2; } public function encode(param1:ProtocolBuffer, param2:Object) : void { if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:ItemDevicesCC = ItemDevicesCC(param2); this.codec_devicesAvailable.encode(param1,local3.devicesAvailable); this.codec_preview.encode(param1,local3.preview); this.codec_sale.encode(param1,local3.sale); } } }
package projects.tanks.client.chat.types { import alternativa.types.Long; import projects.tanks.client.users.services.chatmoderator.ChatModeratorLevel; public class UserStatus { private var _chatModeratorLevel:ChatModeratorLevel; private var _ip:String; private var _rankIndex:int; private var _uid:String; private var _userId:Long; public function UserStatus(param1:ChatModeratorLevel = null, param2:String = null, param3:int = 0, param4:String = null, param5:Long = null) { super(); this._chatModeratorLevel = param1; this._ip = param2; this._rankIndex = param3; this._uid = param4; this._userId = param5; } public function get chatModeratorLevel() : ChatModeratorLevel { return this._chatModeratorLevel; } public function set chatModeratorLevel(param1:ChatModeratorLevel) : void { this._chatModeratorLevel = param1; } public function get ip() : String { return this._ip; } public function set ip(param1:String) : void { this._ip = param1; } public function get rankIndex() : int { return this._rankIndex; } public function set rankIndex(param1:int) : void { this._rankIndex = param1; } public function get uid() : String { return this._uid; } public function set uid(param1:String) : void { this._uid = param1; } public function get userId() : Long { return this._userId; } public function set userId(param1:Long) : void { this._userId = param1; } public function toString() : String { var local1:String = "UserStatus ["; local1 += "chatModeratorLevel = " + this.chatModeratorLevel + " "; local1 += "ip = " + this.ip + " "; local1 += "rankIndex = " + this.rankIndex + " "; local1 += "uid = " + this.uid + " "; local1 += "userId = " + this.userId + " "; return local1 + "]"; } } }
package alternativa.tanks.view.battlecreate.slider { import controls.Slider; import controls.slider.SliderTrack; import flash.events.Event; import flash.events.MouseEvent; public class SelectRankSlider extends Slider { private var _minRang:int = 1; private var _maxRang:int = 1; private var _prevMinRang:int = 0; private var _prevMaxRang:int = 0; private var _currentRang:int = 1; private var _maxRangRange:int = 2; private var sthumb:SelectRankThumbSlider = new SelectRankThumbSlider(); protected var _thumbTick:Number; public function SelectRankSlider() { super(); removeChild(track); track = new SliderTrack(false); addChild(track); removeChild(thumb); addChild(this.sthumb); _thumb_width = 36; } override protected function UnConfigUI(param1:Event) : void { stage.removeEventListener(MouseEvent.MOUSE_UP,this.onMouseUp); stage.removeEventListener(MouseEvent.MOUSE_MOVE,this.dragThumb); } override protected function ConfigUI(param1:Event) : void { this.sthumb.leftDrag.addEventListener(MouseEvent.MOUSE_DOWN,this.onMouseDown); this.sthumb.rightDrag.addEventListener(MouseEvent.MOUSE_DOWN,this.onMouseDown); this.sthumb.centerDrag.addEventListener(MouseEvent.MOUSE_DOWN,this.onMouseDown); } override protected function onMouseDown(param1:MouseEvent) : void { super.onMouseDown(param1); stage.addEventListener(MouseEvent.MOUSE_UP,this.onMouseUp); this._prevMinRang = this._minRang; this._prevMaxRang = this._maxRang; } public function get minRang() : int { return this._minRang; } public function set minRang(param1:int) : void { this._minRang = param1; this.checkMinRang(); this.drawThumb(); } public function get maxRang() : int { return this._maxRang; } public function set maxRang(param1:int) : void { this._maxRang = param1; this.checkMaxRang(); this.drawThumb(); } public function get currentRang() : int { return this._currentRang; } public function set currentRang(param1:int) : void { this._currentRang = param1; value = this._minRang = this._maxRang = this._currentRang; this.drawThumb(); } protected function checkMinRang() : void { if(this._minRang < _minValue) { this._minRang = _minValue; } else if(this._minRang < this._currentRang - this._maxRangRange) { this._minRang = this._currentRang - this._maxRangRange; this._maxRang = this._currentRang; } else if(this._minRang < this._maxRang - this._maxRangRange) { this._maxRang = this._minRang + this._maxRangRange; } else if(this._minRang > this._currentRang) { this._minRang = this._currentRang; } } protected function checkMaxRang() : void { if(this._maxRang > _maxValue) { this._maxRang = _maxValue; } else if(this._maxRang > this._currentRang + this._maxRangRange) { this._maxRang = this._currentRang + this._maxRangRange; this._minRang = this._currentRang; } else if(this._maxRang > this._minRang + this._maxRangRange) { this._minRang = this._maxRang - this._maxRangRange; } else if(this._maxRang < this._currentRang) { this._maxRang = this._currentRang; } } override public function set width(param1:Number) : void { super.width = param1; var local2:int = _maxValue - _minValue; this._thumbTick = (_width + 2 - _thumb_width) / local2; this.drawThumb(); } override protected function onMouseUp(param1:MouseEvent) : void { if(param1 != null) { stage.removeEventListener(MouseEvent.MOUSE_MOVE,this.dragThumb); stage.removeEventListener(MouseEvent.MOUSE_UP,this.onMouseUp); if(this._prevMaxRang != this._minRang || this._prevMaxRang != this._maxRang) { dispatchEvent(new SelectRankSliderEvent()); } } } override protected function dragThumb(param1:MouseEvent) : void { var local2:Boolean = trgt.mouseX < curThumbX; var local3:Boolean = trgt.mouseX > curThumbX; var local4:Boolean = this._minRang < this._currentRang; var local5:Boolean = this._maxRang > this._currentRang; var local6:int = 0; if(trgt == this.sthumb.leftDrag && (local2 || local4)) { this._minRang += int((this.sthumb.leftDrag.mouseX - curThumbX) / this._thumbTick); this.checkMinRang(); this.checkMaxRang(); } else if(trgt == this.sthumb.rightDrag && (local3 || local5)) { this._maxRang += int((this.sthumb.rightDrag.mouseX - curThumbX) / this._thumbTick); this.checkMinRang(); this.checkMaxRang(); } else if(trgt == this.sthumb.centerDrag && ((local2 || local4) && (local3 || local5))) { this._minRang += int((this.sthumb.centerDrag.mouseX - curThumbX) / this._thumbTick); this._maxRang += int((this.sthumb.centerDrag.mouseX - curThumbX) / this._thumbTick); if(this._minRang < _minValue) { local6 = this._maxRang - this._minRang; this._minRang = _minValue; this._maxRang = _minValue + local6; } if(this._maxRang > _maxValue) { local6 = this._maxRang - this._minRang; this._maxRang = _maxValue; this._minRang = this._maxRang - local6; } local6 = this._maxRang - this._minRang; if(this._minRang > this._currentRang) { this._minRang = this._currentRang; this._maxRang = this._minRang + local6; } if(this._maxRang < this._currentRang) { this._maxRang = this._currentRang; this._minRang = this._maxRang - local6; } } this.drawThumb(); } private function drawThumb() : void { var local1:int = this._maxRang - this._minRang; this.sthumb.minRang = this._minRang; this.sthumb.maxRang = this._maxRang; this.sthumb.width = _thumb_width + this._thumbTick * local1; this.sthumb.x = int(this._thumbTick * (this._minRang - _minValue)); } public function get maxRangRange() : int { return this._maxRangRange; } public function set maxRangRange(param1:int) : void { this._maxRangRange = param1; } } }
package alternativa.tanks.controller.commands { import alternativa.tanks.service.IEntranceServerFacade; import org.robotlegs.mvcs.Command; public class FightWithoutRegistrationCommand extends Command { [Inject] public var entranceGateway:IEntranceServerFacade; public function FightWithoutRegistrationCommand() { super(); } override public function execute() : void { this.entranceGateway.fightWithoutRegistration(); } } }
package alternativa.tanks.display.usertitle { import mx.core.BitmapAsset; [ExcludeClass] public class ProgressBarSkin_barShadowRightCls extends BitmapAsset { public function ProgressBarSkin_barShadowRightCls() { super(); } } }
package projects.tanks.client.panel.model.payment.loader { import alternativa.osgi.OSGi; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.OptionalMap; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.EnumCodecInfo; import alternativa.protocol.info.TypeCodecInfo; import alternativa.types.Long; import flash.utils.ByteArray; import platform.client.fp10.core.model.IModel; import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.network.command.SpaceCommand; import platform.client.fp10.core.type.IGameObject; import platform.client.fp10.core.type.ISpace; import projects.tanks.client.commons.types.ShopCategoryEnum; public class PaymentLoaderModelServer { private var protocol:IProtocol; private var protocolBuffer:ProtocolBuffer; private var _loadPaymentId:Long = Long.getLong(808015886,-1342372479); private var _loadPayment_shopCategoryCodec:ICodec; private var _loadPaymentWithGarageItemId:Long = Long.getLong(1673126377,2102802399); private var _loadPaymentWithGarageItem_itemCodec:ICodec; private var _loadPaymentWithShopItemId:Long = Long.getLong(945744032,-416977360); private var _loadPaymentWithShopItem_shopItemCodec:ICodec; private var model:IModel; public function PaymentLoaderModelServer(param1:IModel) { super(); this.model = param1; var local2:ByteArray = new ByteArray(); this.protocol = IProtocol(OSGi.getInstance().getService(IProtocol)); this.protocolBuffer = new ProtocolBuffer(local2,local2,new OptionalMap()); this._loadPayment_shopCategoryCodec = this.protocol.getCodec(new EnumCodecInfo(ShopCategoryEnum,false)); this._loadPaymentWithGarageItem_itemCodec = this.protocol.getCodec(new TypeCodecInfo(IGameObject,false)); this._loadPaymentWithShopItem_shopItemCodec = this.protocol.getCodec(new TypeCodecInfo(IGameObject,false)); } public function loadPayment(param1:ShopCategoryEnum) : void { ByteArray(this.protocolBuffer.writer).position = 0; ByteArray(this.protocolBuffer.writer).length = 0; this._loadPayment_shopCategoryCodec.encode(this.protocolBuffer,param1); ByteArray(this.protocolBuffer.writer).position = 0; if(Model.object == null) { throw new Error("Execute method without model context."); } var local2:SpaceCommand = new SpaceCommand(Model.object.id,this._loadPaymentId,this.protocolBuffer); var local3:IGameObject = Model.object; var local4:ISpace = local3.space; local4.commandSender.sendCommand(local2); this.protocolBuffer.optionalMap.clear(); } public function loadPaymentWithGarageItem(param1:IGameObject) : void { ByteArray(this.protocolBuffer.writer).position = 0; ByteArray(this.protocolBuffer.writer).length = 0; this._loadPaymentWithGarageItem_itemCodec.encode(this.protocolBuffer,param1); ByteArray(this.protocolBuffer.writer).position = 0; if(Model.object == null) { throw new Error("Execute method without model context."); } var local2:SpaceCommand = new SpaceCommand(Model.object.id,this._loadPaymentWithGarageItemId,this.protocolBuffer); var local3:IGameObject = Model.object; var local4:ISpace = local3.space; local4.commandSender.sendCommand(local2); this.protocolBuffer.optionalMap.clear(); } public function loadPaymentWithShopItem(param1:IGameObject) : void { ByteArray(this.protocolBuffer.writer).position = 0; ByteArray(this.protocolBuffer.writer).length = 0; this._loadPaymentWithShopItem_shopItemCodec.encode(this.protocolBuffer,param1); ByteArray(this.protocolBuffer.writer).position = 0; if(Model.object == null) { throw new Error("Execute method without model context."); } var local2:SpaceCommand = new SpaceCommand(Model.object.id,this._loadPaymentWithShopItemId,this.protocolBuffer); var local3:IGameObject = Model.object; var local4:ISpace = local3.space; local4.commandSender.sendCommand(local2); this.protocolBuffer.optionalMap.clear(); } } }
package _codec.projects.tanks.client.panel.model.profile.usersettings { import alternativa.osgi.OSGi; import alternativa.osgi.service.clientlog.IClientLog; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import projects.tanks.client.panel.model.profile.usersettings.ClientStoredSettings; public class CodecClientStoredSettings implements ICodec { public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog)); private var codec_showDamageEnabled:ICodec; public function CodecClientStoredSettings() { super(); } public function init(param1:IProtocol) : void { this.codec_showDamageEnabled = param1.getCodec(new TypeCodecInfo(Boolean,false)); } public function decode(param1:ProtocolBuffer) : Object { var local2:ClientStoredSettings = new ClientStoredSettings(); local2.showDamageEnabled = this.codec_showDamageEnabled.decode(param1) as Boolean; return local2; } public function encode(param1:ProtocolBuffer, param2:Object) : void { if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:ClientStoredSettings = ClientStoredSettings(param2); this.codec_showDamageEnabled.encode(param1,local3.showDamageEnabled); } } }
package { import flash.display.BitmapData; [Embed(source="/_assets/goldButtonLeft.png")] public dynamic class goldButtonLeft extends BitmapData { public function goldButtonLeft(param1:int = 6, param2:int = 29) { super(param1,param2); } } }
package alternativa.tanks.models.tank.armor.chassis.tracked { import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.type.IGameObject; public class ITrackedChassisEvents implements ITrackedChassis { private var object:IGameObject; private var impl:Vector.<Object>; public function ITrackedChassisEvents(param1:IGameObject, param2:Vector.<Object>) { super(); this.object = param1; this.impl = param2; } public function getDamping() : Number { var result:Number = NaN; var i:int = 0; var m:ITrackedChassis = null; try { Model.object = this.object; i = 0; while(i < this.impl.length) { m = ITrackedChassis(this.impl[i]); result = Number(m.getDamping()); i++; } } finally { Model.popObject(); } return result; } } }
package alternativa.tanks.display.usertitle { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/alternativa.tanks.display.usertitle.ProgressBarSkin_weaponRightBgCls.png")] public class ProgressBarSkin_weaponRightBgCls extends BitmapAsset { public function ProgressBarSkin_weaponRightBgCls() { super(); } } }
package alternativa.tanks.gui.payment.forms { import controls.base.LabelBase; import flash.display.Bitmap; import flash.display.Sprite; import platform.client.fp10.core.resource.types.ImageResource; public class TemplateDescription extends Sprite { public var description:LabelBase; public var bottomContainer:Sprite; public var bottomText:LabelBase; protected var _width:Number; protected var spaceH:int = 20; protected var spaceV:int = 14; public function TemplateDescription(param1:int = 16777215) { super(); tabEnabled = false; mouseEnabled = false; this.description = new LabelBase(); this.description.color = param1; this.description.multiline = true; this.description.wordWrap = true; addChild(this.description); this.bottomContainer = new Sprite(); this.bottomContainer.tabEnabled = false; this.bottomContainer.mouseEnabled = false; addChild(this.bottomContainer); this.bottomText = new LabelBase(); this.bottomText.multiline = true; this.bottomText.wordWrap = true; } override public function get width() : Number { return this._width; } override public function set width(param1:Number) : void { this._width = param1; this.description.width = this._width; this.bottomText.width = this._width - this.bottomText.x; this.bottomContainer.y = this.description.height + this.spaceV; } public function setBottomDescription(param1:String, param2:Vector.<ImageResource>) : void { var local3:int = 0; var local4:ImageResource = null; var local5:Bitmap = null; while(this.bottomContainer.numChildren > 0) { this.bottomContainer.removeChildAt(0); } local3 = this.spaceH; for each(local4 in param2) { local5 = new Bitmap(local4.data); local5.x = local3; local5.y = 0; local3 += local5.bitmapData.width + this.spaceH; this.bottomContainer.addChild(local5); } this.bottomText.x = local3; this.bottomText.htmlText = param1; this.bottomContainer.addChild(this.bottomText); this.width = this._width; } public function hideBottomDescription() : void { while(this.bottomContainer.numChildren > 0) { this.bottomContainer.removeChildAt(0); } } } }
package controls { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/controls.TankWindowInner_topClass.png")] public class TankWindowInner_topClass extends BitmapAsset { public function TankWindowInner_topClass() { super(); } } }
package projects.tanks.client.battleservice.model.performance { import alternativa.osgi.OSGi; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import alternativa.types.Long; import platform.client.fp10.core.model.IModel; import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.registry.ModelRegistry; public class PerformanceModelBase extends Model { private var _protocol:IProtocol = IProtocol(OSGi.getInstance().getService(IProtocol)); protected var server:PerformanceModelServer; private var client:IPerformanceModelBase = IPerformanceModelBase(this); private var modelId:Long = Long.getLong(181133769,676290849); public function PerformanceModelBase() { super(); this.initCodecs(); } protected function initCodecs() : void { this.server = new PerformanceModelServer(IModel(this)); var local1:ModelRegistry = ModelRegistry(OSGi.getInstance().getService(ModelRegistry)); local1.registerModelConstructorCodec(this.modelId,this._protocol.getCodec(new TypeCodecInfo(PerformanceCC,false))); } protected function getInitParam() : PerformanceCC { return PerformanceCC(initParams[Model.object]); } override public function invoke(param1:Long, param2:ProtocolBuffer) : void { var local3:* = param1; switch(false ? 0 : 0) { } } override public function get id() : Long { return this.modelId; } } }
package alternativa.tanks.model.challenge { import mx.core.BitmapAsset; [ExcludeClass] public class ChallengeCongratulationWindow_marshBitmap extends BitmapAsset { public function ChallengeCongratulationWindow_marshBitmap() { super(); } } }
package controls.windowinner { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/controls.windowinner.WindowInner_bottomClass.png")] public class WindowInner_bottomClass extends BitmapAsset { public function WindowInner_bottomClass() { super(); } } }
package projects.tanks.client.panel.model.kitoffer { import alternativa.osgi.OSGi; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import alternativa.types.Long; import platform.client.fp10.core.model.IModel; import platform.client.fp10.core.model.impl.Model; public class KitOfferModelBase extends Model { private var _protocol:IProtocol = IProtocol(OSGi.getInstance().getService(IProtocol)); protected var server:KitOfferModelServer; private var client:IKitOfferModelBase = IKitOfferModelBase(this); private var modelId:Long = Long.getLong(648458850,1480220388); private var _showOfferId:Long = Long.getLong(1005239660,318507406); private var _showOffer_infoCodec:ICodec; public function KitOfferModelBase() { super(); this.initCodecs(); } protected function initCodecs() : void { this.server = new KitOfferModelServer(IModel(this)); this._showOffer_infoCodec = this._protocol.getCodec(new TypeCodecInfo(KitOfferInfo,false)); } override public function invoke(param1:Long, param2:ProtocolBuffer) : void { switch(param1) { case this._showOfferId: this.client.showOffer(KitOfferInfo(this._showOffer_infoCodec.decode(param2))); } } override public function get id() : Long { return this.modelId; } } }
package _codec.projects.tanks.client.battlefield.models.user.tank { import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.codec.OptionalCodecDecorator; import alternativa.protocol.impl.LengthCodecHelper; import alternativa.protocol.info.TypeCodecInfo; import projects.tanks.client.battlefield.models.user.tank.TankCC; public class VectorCodecTankCCLevel1 implements ICodec { private var elementCodec:ICodec; private var optionalElement:Boolean; public function VectorCodecTankCCLevel1(param1:Boolean) { super(); this.optionalElement = param1; } public function init(param1:IProtocol) : void { this.elementCodec = param1.getCodec(new TypeCodecInfo(TankCC,false)); if(this.optionalElement) { this.elementCodec = new OptionalCodecDecorator(this.elementCodec); } } public function decode(param1:ProtocolBuffer) : Object { var local2:int = int(LengthCodecHelper.decodeLength(param1)); var local3:Vector.<TankCC> = new Vector.<TankCC>(local2,true); var local4:int = 0; while(local4 < local2) { local3[local4] = TankCC(this.elementCodec.decode(param1)); local4++; } return local3; } public function encode(param1:ProtocolBuffer, param2:Object) : void { var local4:TankCC = null; if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:Vector.<TankCC> = Vector.<TankCC>(param2); var local5:int = int(local3.length); LengthCodecHelper.encodeLength(param1,local5); var local6:int = 0; while(local6 < local5) { this.elementCodec.encode(param1,local3[local6]); local6++; } } } }
package alternativa.tanks.models.weapon.shaft.states.transitionhandlers { import alternativa.tanks.models.weapon.shaft.ShaftWeapon; import alternativa.tanks.models.weapon.shaft.states.ITransitionHandler; public class ManualTargetingActivationTriggerReleaseHandler implements ITransitionHandler { private var weapon:ShaftWeapon; public function ManualTargetingActivationTriggerReleaseHandler(param1:ShaftWeapon) { super(); this.weapon = param1; } public function execute(param1:*) : void { this.weapon.performQuickShotDuringAimingActivation(); } } }
package alternativa.tanks.model.challenge.battlepass { import alternativa.tanks.gui.shop.shopitems.item.base.ShopButton; import alternativa.tanks.gui.shop.shopitems.item.customname.DetailsViewWithDescription; import alternativa.tanks.gui.shop.shopitems.item.customname.ShopButtonWithCustomName; import alternativa.tanks.gui.shop.shopitems.item.details.ShopItemDetails; import alternativa.tanks.model.payment.shop.ShopItemDetailsView; import alternativa.tanks.model.payment.shop.ShopItemView; import projects.tanks.client.panel.model.shop.challenges.battlepass.BattlePassPackageModelBase; import projects.tanks.client.panel.model.shop.challenges.battlepass.IBattlePassPackageModelBase; [ModelInfo] public class BattlePassPackageModel extends BattlePassPackageModelBase implements IBattlePassPackageModelBase, ShopItemView, ShopItemDetailsView { public function BattlePassPackageModel() { super(); } public function getButtonView() : ShopButton { return new ShopButtonWithCustomName(object,getInitParam().name); } public function getDetailsView() : ShopItemDetails { return new DetailsViewWithDescription(object,getInitParam().description); } public function isDetailedViewRequired() : Boolean { return true; } } }
package controls { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/controls.GoogleButton_releaseBitmapGoogle.png")] public class GoogleButton_releaseBitmapGoogle extends BitmapAsset { public function GoogleButton_releaseBitmapGoogle() { super(); } } }
package alternativa.tanks.gui { import mx.core.BitmapAsset; [ExcludeClass] public class PaymentWindow_bitmapCrystalsPic extends BitmapAsset { public function PaymentWindow_bitmapCrystalsPic() { super(); } } }
package forms.ranks { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/forms.ranks.DefaultRanksBitmaps_bitmapBigRank17.png")] public class DefaultRanksBitmaps_bitmapBigRank17 extends BitmapAsset { public function DefaultRanksBitmaps_bitmapBigRank17() { super(); } } }
package _codec.projects.tanks.client.panel.model.abonements { import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.codec.OptionalCodecDecorator; import alternativa.protocol.impl.LengthCodecHelper; import alternativa.protocol.info.TypeCodecInfo; import projects.tanks.client.panel.model.abonements.UserAbonementsCC; public class VectorCodecUserAbonementsCCLevel1 implements ICodec { private var elementCodec:ICodec; private var optionalElement:Boolean; public function VectorCodecUserAbonementsCCLevel1(param1:Boolean) { super(); this.optionalElement = param1; } public function init(param1:IProtocol) : void { this.elementCodec = param1.getCodec(new TypeCodecInfo(UserAbonementsCC,false)); if(this.optionalElement) { this.elementCodec = new OptionalCodecDecorator(this.elementCodec); } } public function decode(param1:ProtocolBuffer) : Object { var local2:int = LengthCodecHelper.decodeLength(param1); var local3:Vector.<UserAbonementsCC> = new Vector.<UserAbonementsCC>(local2,true); var local4:int = 0; while(local4 < local2) { local3[local4] = UserAbonementsCC(this.elementCodec.decode(param1)); local4++; } return local3; } public function encode(param1:ProtocolBuffer, param2:Object) : void { var local4:UserAbonementsCC = null; if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:Vector.<UserAbonementsCC> = Vector.<UserAbonementsCC>(param2); var local5:int = int(local3.length); LengthCodecHelper.encodeLength(param1,local5); var local6:int = 0; while(local6 < local5) { this.elementCodec.encode(param1,local3[local6]); local6++; } } } }
package _codec.projects.tanks.client.garage.models.item.object3ds { import alternativa.osgi.OSGi; import alternativa.osgi.service.clientlog.IClientLog; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import alternativa.types.Long; import projects.tanks.client.garage.models.item.object3ds.Object3DSCC; public class CodecObject3DSCC implements ICodec { public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog)); private var codec_resourceId:ICodec; public function CodecObject3DSCC() { super(); } public function init(param1:IProtocol) : void { this.codec_resourceId = param1.getCodec(new TypeCodecInfo(Long,false)); } public function decode(param1:ProtocolBuffer) : Object { var local2:Object3DSCC = new Object3DSCC(); local2.resourceId = this.codec_resourceId.decode(param1) as Long; return local2; } public function encode(param1:ProtocolBuffer, param2:Object) : void { if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:Object3DSCC = Object3DSCC(param2); this.codec_resourceId.encode(param1,local3.resourceId); } } }
package alternativa.tanks.models.battle.battlefield.keyboard { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/alternativa.tanks.models.battle.battlefield.keyboard.DeviceIcons_fasterhorizontaltrackingrailgunIconClass.png")] public class DeviceIcons_fasterhorizontaltrackingrailgunIconClass extends BitmapAsset { public function DeviceIcons_fasterhorizontaltrackingrailgunIconClass() { super(); } } }
package alternativa.tanks.models.statistics { import alternativa.tanks.models.battle.gui.statistics.ShortUserInfo; import alternativa.types.Long; import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.type.IGameObject; public class IClientUserInfoEvents implements IClientUserInfo { private var object:IGameObject; private var impl:Vector.<Object>; public function IClientUserInfoEvents(param1:IGameObject, param2:Vector.<Object>) { super(); this.object = param1; this.impl = param2; } public function getShortUserInfo(param1:Long) : ShortUserInfo { var result:ShortUserInfo = null; var i:int = 0; var m:IClientUserInfo = null; var userId:Long = param1; try { Model.object = this.object; i = 0; while(i < this.impl.length) { m = IClientUserInfo(this.impl[i]); result = m.getShortUserInfo(userId); i++; } } finally { Model.popObject(); } return result; } public function suspiciousnessChanged(param1:Long, param2:Boolean) : void { var i:int = 0; var m:IClientUserInfo = null; var userId:Long = param1; var suspicious:Boolean = param2; try { Model.object = this.object; i = 0; while(i < this.impl.length) { m = IClientUserInfo(this.impl[i]); m.suspiciousnessChanged(userId,suspicious); i++; } } finally { Model.popObject(); } } public function rankChanged(param1:Long, param2:int) : void { var i:int = 0; var m:IClientUserInfo = null; var userId:Long = param1; var newRank:int = param2; try { Model.object = this.object; i = 0; while(i < this.impl.length) { m = IClientUserInfo(this.impl[i]); m.rankChanged(userId,newRank); i++; } } finally { Model.popObject(); } } public function getUsersCount() : int { var result:int = 0; var i:int = 0; var m:IClientUserInfo = null; try { Model.object = this.object; i = 0; while(i < this.impl.length) { m = IClientUserInfo(this.impl[i]); result = int(m.getUsersCount()); i++; } } finally { Model.popObject(); } return result; } public function isLoaded(param1:Long) : Boolean { var result:Boolean = false; var i:int = 0; var m:IClientUserInfo = null; var userId:Long = param1; try { Model.object = this.object; i = 0; while(i < this.impl.length) { m = IClientUserInfo(this.impl[i]); result = Boolean(m.isLoaded(userId)); i++; } } finally { Model.popObject(); } return result; } } }
package com.lorentz.SVG.text { import com.lorentz.SVG.data.text.SVGDrawnText; import com.lorentz.SVG.data.text.SVGTextToDraw; import com.lorentz.SVG.utils.TextUtils; import flash.text.engine.ElementFormat; import flash.text.engine.FontDescription; import flash.text.engine.FontLookup; import flash.text.engine.FontPosture; import flash.text.engine.FontWeight; import flash.text.engine.TextBlock; import flash.text.engine.TextElement; import flash.text.engine.TextLine; public class FTESVGTextDrawer implements ISVGTextDrawer { public function start():void { } public function drawText(data:SVGTextToDraw):SVGDrawnText { var fontDescription:FontDescription = new FontDescription(); fontDescription.fontLookup = data.useEmbeddedFonts ? FontLookup.EMBEDDED_CFF : FontLookup.DEVICE; fontDescription.fontName = data.fontFamily; fontDescription.fontWeight = data.fontWeight == "bold" ? FontWeight.BOLD : FontWeight.NORMAL; fontDescription.fontPosture = data.fontStyle == "italic" ? FontPosture.ITALIC : FontPosture.NORMAL; var elementFormat:ElementFormat = new ElementFormat(fontDescription); elementFormat.fontSize = data.fontSize; elementFormat.color = data.color; elementFormat.trackingRight = Math.round(data.letterSpacing); var textBlock:TextBlock = new TextBlock(new TextElement(data.text, elementFormat)); var textLine:TextLine = textBlock.createTextLine(null); var baseLineShift:Number = 0; switch(data.baselineShift.toLowerCase()) { case "super" : baseLineShift = Math.abs(elementFormat.getFontMetrics().superscriptOffset || TextUtils.SUPERSCRIPT_OFFSET) * data.parentFontSize; break; case "sub" : baseLineShift = -Math.abs(elementFormat.getFontMetrics().subscriptOffset || TextUtils.SUBSCRIPT_OFFSET) * data.parentFontSize; break; } return new SVGDrawnText(textLine, textLine.width, 0, 0, baseLineShift); } public function end():void { } } }
package alternativa.tanks.models.weapon.plasma { public class PlasmaGunData { public var shotRange:Number; public var shotSpeed:Number; public var shotRadius:Number; public function PlasmaGunData() { super(); } } }
package projects.tanks.client.clans.panel.loadingclan { import alternativa.osgi.OSGi; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.OptionalMap; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import alternativa.types.Long; import flash.utils.ByteArray; import platform.client.fp10.core.model.IModel; import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.network.command.SpaceCommand; import platform.client.fp10.core.type.IGameObject; import platform.client.fp10.core.type.ISpace; public class ClanLoadingPanelModelServer { private var protocol:IProtocol; private var protocolBuffer:ProtocolBuffer; private var _showClanId:Long = Long.getLong(1583022897,2121278226); private var _showClan_clanIdCodec:ICodec; private var model:IModel; public function ClanLoadingPanelModelServer(param1:IModel) { super(); this.model = param1; var local2:ByteArray = new ByteArray(); this.protocol = IProtocol(OSGi.getInstance().getService(IProtocol)); this.protocolBuffer = new ProtocolBuffer(local2,local2,new OptionalMap()); this._showClan_clanIdCodec = this.protocol.getCodec(new TypeCodecInfo(Long,false)); } public function showClan(param1:Long) : void { ByteArray(this.protocolBuffer.writer).position = 0; ByteArray(this.protocolBuffer.writer).length = 0; this._showClan_clanIdCodec.encode(this.protocolBuffer,param1); ByteArray(this.protocolBuffer.writer).position = 0; if(Model.object == null) { throw new Error("Execute method without model context."); } var local2:SpaceCommand = new SpaceCommand(Model.object.id,this._showClanId,this.protocolBuffer); var local3:IGameObject = Model.object; var local4:ISpace = local3.space; local4.commandSender.sendCommand(local2); this.protocolBuffer.optionalMap.clear(); } } }
package alternativa.tanks.gui.payment.controls { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/alternativa.tanks.gui.payment.controls.ProceedButton_ButtonDownRight.png")] public class ProceedButton_ButtonDownRight extends BitmapAsset { public function ProceedButton_ButtonDownRight() { super(); } } }
package alternativa.tanks.models.weapon.shotgun { import alternativa.math.Vector3; import mx.utils.StringUtil; public class ShotgunTargetingDirection { private var direction:Vector3 = new Vector3(); private var maxPriority:Number; public function ShotgunTargetingDirection(param1:Vector3, param2:Number) { super(); this.init(param1,param2); } public function init(param1:Vector3, param2:Number) : void { this.direction.copy(param1); this.maxPriority = param2; } public function getDirection() : Vector3 { return this.direction; } public function getMaxPriority() : Number { return this.maxPriority; } public function toString() : String { return StringUtil.substitute("TargetingDirection[direction={0}, maxPriority={1}]",this.direction,this.maxPriority.toFixed(0)); } } }
package alternativa.tanks.gui { import alternativa.osgi.service.locale.ILocaleService; import assets.icons.GarageItemBackground; import controls.TankWindowInner; import controls.base.DefaultButtonBase; import controls.base.LabelBase; import flash.display.Sprite; import flash.events.MouseEvent; import forms.TankWindowWithHeader; import platform.client.fp10.core.resource.types.ImageResource; import projects.tanks.client.panel.model.garage.rankupsupplybonus.RankUpSupplyBonusInfo; import projects.tanks.clients.fp10.libraries.TanksLocale; import projects.tanks.clients.fp10.libraries.tanksservices.service.dialogs.gui.DialogWindow; public class RankUpSupplyBonusAlert extends DialogWindow { [Inject] public static var localeService:ILocaleService; private var closeButton:DefaultButtonBase; private const BORDER:int = 12; private const MARGIN:int = 12; public function RankUpSupplyBonusAlert(param1:RankUpSupplyBonusInfo) { super(); this.createAlertWindow(this,param1); dialogService.enqueueDialog(this); } public function createAlertWindow(param1:Sprite, param2:RankUpSupplyBonusInfo) : void { var local3:TankWindowWithHeader = TankWindowWithHeader.createWindow(TanksLocale.TEXT_HEADER_CONGRATULATION); param1.addChild(local3); var local4:TankWindowInner = this.createInnerFrame(local3,param2); this.closeButton = this.createCloseButton(local3); local3.width = local4.width + this.BORDER * 2; local3.height = local4.height + this.closeButton.height + this.BORDER * 3 - 4; this.closeButton.x = (local3.width - this.closeButton.width) / 2; this.closeButton.y = local4.height + this.BORDER * 2 - 6; } private function createInnerFrame(param1:Sprite, param2:RankUpSupplyBonusInfo) : TankWindowInner { var local3:TankWindowInner = new TankWindowInner(0,0,TankWindowInner.GREEN); param1.addChild(local3); local3.x = this.BORDER; local3.y = this.BORDER; var local4:GarageItemBackground = this.createItemPlate(local3); var local5:LabelBase = this.createDescriptionLabel(local3,param2.text,local4.width); this.placeItemPlate(local4,param2,this.MARGIN - 3,local5.height + this.MARGIN * 2); local3.width = local4.width + this.MARGIN * 2 - 6; local3.height = local5.height + this.MARGIN * 3 + local4.height - 2; return local3; } private function createItemPlate(param1:Sprite) : GarageItemBackground { var local2:GarageItemBackground = new GarageItemBackground(GarageItemBackground.ENGINE_NORMAL); param1.addChild(local2); return local2; } private function createDescriptionLabel(param1:Sprite, param2:String, param3:int) : LabelBase { var local4:LabelBase = new LabelBase(); param1.addChild(local4); local4.wordWrap = true; local4.multiline = true; local4.text = param2; local4.size = 12; local4.color = 5898034; local4.x = this.MARGIN - 2; local4.y = this.MARGIN; local4.width = param3; return local4; } private function placeItemPlate(param1:GarageItemBackground, param2:RankUpSupplyBonusInfo, param3:int, param4:int) : void { param1.x = param3; param1.y = param4; this.createPreview(param1,param2.preview); this.createCountLabel(param1,param2.count); } private function createPreview(param1:Sprite, param2:ImageResource) : void { var local3:PreviewBonusItem = new PreviewBonusItem(param2,param1.width,param1.height); param1.addChild(local3); } private function createCountLabel(param1:Sprite, param2:int) : void { var local3:LabelBase = new LabelBase(); param1.addChild(local3); local3.size = 16; local3.color = 5898034; local3.text = "×" + param2; local3.x = param1.width - local3.width - 15; local3.y = param1.height - local3.height - 10; } private function createCloseButton(param1:Sprite) : DefaultButtonBase { var local2:DefaultButtonBase = new DefaultButtonBase(); local2.label = localeService.getText(TanksLocale.TEXT_ALERT_ANSWER_OK); local2.addEventListener(MouseEvent.CLICK,this.closeBonusWindow); param1.addChild(local2); return local2; } private function closeBonusWindow(param1:MouseEvent = null) : void { this.destroy(); } public function destroy() : void { this.closeButton.removeEventListener(MouseEvent.CLICK,this.closeBonusWindow); dialogService.removeDialog(this); } override protected function cancelKeyPressed() : void { this.closeBonusWindow(); } override protected function confirmationKeyPressed() : void { this.closeBonusWindow(); } } }
package controls { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/controls.TankWindowInner_topRightClass.png")] public class TankWindowInner_topRightClass extends BitmapAsset { public function TankWindowInner_topRightClass() { super(); } } }
package alternativa.tanks.sfx { import alternativa.math.Vector3; import flash.media.Sound; import flash.media.SoundChannel; import flash.media.SoundTransform; public class Sound3D { private static var poolHead:Sound3D; public var nextInPool:Sound3D; private var nearRadius:Number; private var farRadius:Number; private var farDelimiter:Number; private var volumeCoefficient:Number; private var sound:Sound; private var channel:SoundChannel; private var transform:SoundTransform; private var _volume:Number = 1; private var _baseVolume:Number = 1; private var effectiveVolume:Number = 1; public function Sound3D(sound:Sound, nearRadius:Number, farRadius:Number, farDelimiter:Number, baseVolume:Number) { this.transform = new SoundTransform(0); super(); this.init(sound,nearRadius,farRadius,farDelimiter,baseVolume); } public static function create(sound:Sound, nearRadius:Number, farRadius:Number, farDelimiter:Number, baseVolume:Number) : Sound3D { var object:Sound3D = null; if(poolHead == null) { return new Sound3D(sound,nearRadius,farRadius,farDelimiter,baseVolume); } object = poolHead; object.init(sound,nearRadius,farRadius,farDelimiter,baseVolume); poolHead = object.nextInPool; object.nextInPool = null; return object; } public static function destroy(object:Sound3D) : void { object.clear(); if(poolHead == null) { poolHead = object; } else { object.nextInPool = poolHead; poolHead = object; } } public function init(sound:Sound, nearRadius:Number, farRadius:Number, farDelimiter:Number, baseVolume:Number) : void { this.sound = sound; this.nearRadius = nearRadius; this.farRadius = farRadius; this.farDelimiter = Math.sqrt(farDelimiter); this._baseVolume = baseVolume; this.volumeCoefficient = (Math.sqrt(farDelimiter) - 1) / (farRadius - nearRadius); this.volume = 1; } public function isPlaying() : Boolean { return this.channel != null; } public function clear() : void { this.stop(); this.sound = null; } public function get baseVolume() : Number { return this._baseVolume; } public function set baseVolume(value:Number) : void { this._baseVolume = value; this.updateEffectiveVolume(); } public function get volume() : Number { return this._volume; } public function set volume(value:Number) : void { this._volume = value; this.updateEffectiveVolume(); } public function getSoundProperties(objectCoords:Vector3, soundCoords:Vector3, normal:Vector3, soundTransform:SoundTransform) : void { var k:Number = NaN; var x:Number = soundCoords.x - objectCoords.x; var y:Number = soundCoords.y - objectCoords.y; var z:Number = soundCoords.z - objectCoords.z; var len:Number = Math.sqrt(x * x + y * y + z * z); if(len < this.nearRadius) { soundTransform.volume = 1; soundTransform.pan = 0; } else { k = 1 + this.volumeCoefficient * (len - this.nearRadius); k = 1 / (k * k); soundTransform.volume = k; len = 1 / len; x *= len; y *= len; z *= len; soundTransform.pan = (x * normal.x + y * normal.y + z * normal.z) * (1 - k); } } public function checkVolume(objectPos:Vector3, soundPos:Vector3, rightAxis:Vector3) : void { if(this.channel == null) { return; } this.getSoundProperties(objectPos,soundPos,rightAxis,this.transform); this.transform.volume *= this.effectiveVolume; this.channel.soundTransform = this.transform; } public function play(startTime:int, loops:int) : SoundChannel { if(this.channel != null) { this.channel.stop(); } return this.channel = this.sound.play(startTime,loops); } public function stop() : void { if(this.channel != null) { this.channel.stop(); this.channel = null; } } private function updateEffectiveVolume() : void { this.effectiveVolume = this._baseVolume * this._volume; } } }
package alternativa.tanks.battle { import alternativa.physics.Body; public interface Trigger { function checkTrigger(param1:Body) : void; } }
package alternativa.tanks.gui.shop.shopitems.item.crystalonlypaymode { import alternativa.tanks.gui.shop.shopitems.item.OtherShopItemButton; import alternativa.tanks.model.payment.modes.PayMode; import platform.client.fp10.core.type.IGameObject; public class CrystalOnlyPayModeButton extends OtherShopItemButton { public function CrystalOnlyPayModeButton(param1:IGameObject) { super(param1,PayMode(param1.adapt(PayMode)).getName(),PayMode(param1.adapt(PayMode)).getImage()); } } }
package alternativa.tanks.models.sfx.healing { import alternativa.console.ConsoleVarFloat; import alternativa.math.Vector3; import alternativa.tanks.camera.ICameraStateModifier; import alternativa.tanks.camera.IFollowCameraController; import flash.utils.getTimer; public class HealingGunCameraEffect implements ICameraStateModifier { private static var amplitude:ConsoleVarFloat; private static var frequency:ConsoleVarFloat; public var refCounter:int; private var startTime:int; public function HealingGunCameraEffect() { super(); } public static function initVars() : void { amplitude = new ConsoleVarFloat("healcam_ampl",2,0,1000); frequency = new ConsoleVarFloat("healcam_freq",25,0,1000); } public function update(time:int, delta:int, position:Vector3, rotation:Vector3) : Boolean { if(this.refCounter <= 0) { return false; } var dt:Number = 0.001 * (time - this.startTime); position.z += amplitude.value * Math.sin(frequency.value * dt); return true; } public function onAddedToController(controller:IFollowCameraController) : void { this.startTime = getTimer(); } public function destroy() : void { } } }
package _codec.projects.tanks.client.battleselect.model.matchmaking.group.notify { import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.codec.OptionalCodecDecorator; import alternativa.protocol.impl.LengthCodecHelper; import alternativa.protocol.info.TypeCodecInfo; import projects.tanks.client.battleselect.model.matchmaking.group.notify.MountItemsUserData; public class VectorCodecMountItemsUserDataLevel1 implements ICodec { private var elementCodec:ICodec; private var optionalElement:Boolean; public function VectorCodecMountItemsUserDataLevel1(param1:Boolean) { super(); this.optionalElement = param1; } public function init(param1:IProtocol) : void { this.elementCodec = param1.getCodec(new TypeCodecInfo(MountItemsUserData,false)); if(this.optionalElement) { this.elementCodec = new OptionalCodecDecorator(this.elementCodec); } } public function decode(param1:ProtocolBuffer) : Object { var local2:int = LengthCodecHelper.decodeLength(param1); var local3:Vector.<MountItemsUserData> = new Vector.<MountItemsUserData>(local2,true); var local4:int = 0; while(local4 < local2) { local3[local4] = MountItemsUserData(this.elementCodec.decode(param1)); local4++; } return local3; } public function encode(param1:ProtocolBuffer, param2:Object) : void { var local4:MountItemsUserData = null; if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:Vector.<MountItemsUserData> = Vector.<MountItemsUserData>(param2); var local5:int = int(local3.length); LengthCodecHelper.encodeLength(param1,local5); var local6:int = 0; while(local6 < local5) { this.elementCodec.encode(param1,local3[local6]); local6++; } } } }
package _codec.projects.tanks.client.battlefield.models.map { import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.codec.OptionalCodecDecorator; import alternativa.protocol.impl.LengthCodecHelper; import alternativa.protocol.info.TypeCodecInfo; import projects.tanks.client.battlefield.models.map.SkyboxSides; public class VectorCodecSkyboxSidesLevel1 implements ICodec { private var elementCodec:ICodec; private var optionalElement:Boolean; public function VectorCodecSkyboxSidesLevel1(param1:Boolean) { super(); this.optionalElement = param1; } public function init(param1:IProtocol) : void { this.elementCodec = param1.getCodec(new TypeCodecInfo(SkyboxSides,false)); if(this.optionalElement) { this.elementCodec = new OptionalCodecDecorator(this.elementCodec); } } public function decode(param1:ProtocolBuffer) : Object { var local2:int = int(LengthCodecHelper.decodeLength(param1)); var local3:Vector.<SkyboxSides> = new Vector.<SkyboxSides>(local2,true); var local4:int = 0; while(local4 < local2) { local3[local4] = SkyboxSides(this.elementCodec.decode(param1)); local4++; } return local3; } public function encode(param1:ProtocolBuffer, param2:Object) : void { var local4:SkyboxSides = null; if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:Vector.<SkyboxSides> = Vector.<SkyboxSides>(param2); var local5:int = int(local3.length); LengthCodecHelper.encodeLength(param1,local5); var local6:int = 0; while(local6 < local5) { this.elementCodec.encode(param1,local3[local6]); local6++; } } } }
package alternativa.tanks.model.kitoffer { import projects.tanks.client.panel.model.kitoffer.IKitOfferModelBase; import projects.tanks.client.panel.model.kitoffer.KitOfferInfo; import projects.tanks.client.panel.model.kitoffer.KitOfferModelBase; import projects.tanks.clients.flash.commons.services.payment.PaymentDisplayService; [ModelInfo] public class KitOfferModel extends KitOfferModelBase implements IKitOfferModelBase { [Inject] public static var paymentDisplayService:PaymentDisplayService; public function KitOfferModel() { super(); } public function showOffer(param1:KitOfferInfo) : void { this.showDialog(param1); } private function showDialog(param1:KitOfferInfo) : void { var local2:KitOfferDialog = new KitOfferDialog(param1); local2.addEventListener(KitOfferResultEvent.CLOSE,getFunctionWrapper(this.closeHandler)); putData(KitOfferInfo,param1); putData(KitOfferDialog,local2); } private function closeHandler(param1:KitOfferResultEvent) : void { var local2:KitOfferInfo = getData(KitOfferInfo) as KitOfferInfo; server.logAction(local2.shopItem,param1.action); var local3:KitOfferDialog = getData(KitOfferDialog) as KitOfferDialog; local3.removeEventListener(KitOfferResultEvent.CLOSE,getFunctionWrapper(this.closeHandler)); clearData(KitOfferInfo); clearData(KitOfferDialog); } } }
package projects.tanks.clients.fp10.TanksLauncher { import flashx.textLayout.compose.ISWFContext; import mx.core.BitmapAsset; import mx.core.ByteArrayAsset; import mx.core.EmbeddedFontRegistry; import mx.core.EventPriority; import mx.core.FontAsset; import mx.core.IFlexModuleFactory; import mx.core.MovieClipAsset; public class IncludedLibrary extends BitmapAsset { public function IncludedLibrary() { super(); var local1:IFlexModuleFactory = null; var local2:FontAsset = null; var local3:ISWFContext = null; var local4:EmbeddedFontRegistry = null; var local5:EventPriority = null; var local6:ByteArrayAsset = null; var local7:MovieClipAsset = null; } } }
package alternativa.tanks.model.quest.weekly { import alternativa.types.Long; import flash.events.IEventDispatcher; import projects.tanks.client.panel.model.quest.weekly.WeeklyQuestInfo; public interface WeeklyQuestsService extends IEventDispatcher { function setTimeToNextQuest(param1:int) : void; function questInfoChanged(param1:Vector.<WeeklyQuestInfo>) : void; function takePrize(param1:Long) : void; } }
package projects.tanks.client.panel.osgi { import _codec.projects.tanks.client.panel.model.abonements.CodecShopAbonementData; import _codec.projects.tanks.client.panel.model.abonements.CodecUserAbonementsCC; import _codec.projects.tanks.client.panel.model.abonements.VectorCodecShopAbonementDataLevel1; import _codec.projects.tanks.client.panel.model.abonements.VectorCodecUserAbonementsCCLevel1; import _codec.projects.tanks.client.panel.model.battleinvite.CodecBattleInviteCC; import _codec.projects.tanks.client.panel.model.battleinvite.CodecBattleInviteMessage; import _codec.projects.tanks.client.panel.model.battleinvite.VectorCodecBattleInviteCCLevel1; import _codec.projects.tanks.client.panel.model.battleinvite.VectorCodecBattleInviteMessageLevel1; import _codec.projects.tanks.client.panel.model.battlepass.purchasenotifier.CodecBattlePassPurchaseNotifierCC; import _codec.projects.tanks.client.panel.model.battlepass.purchasenotifier.VectorCodecBattlePassPurchaseNotifierCCLevel1; import _codec.projects.tanks.client.panel.model.bonus.showing.image.CodecBonusImageCC; import _codec.projects.tanks.client.panel.model.bonus.showing.image.VectorCodecBonusImageCCLevel1; import _codec.projects.tanks.client.panel.model.bonus.showing.info.CodecBonusInfoCC; import _codec.projects.tanks.client.panel.model.bonus.showing.info.VectorCodecBonusInfoCCLevel1; import _codec.projects.tanks.client.panel.model.bonus.showing.items.CodecBonusItemCC; import _codec.projects.tanks.client.panel.model.bonus.showing.items.CodecBonusItemsShowingCC; import _codec.projects.tanks.client.panel.model.bonus.showing.items.VectorCodecBonusItemCCLevel1; import _codec.projects.tanks.client.panel.model.bonus.showing.items.VectorCodecBonusItemsShowingCCLevel1; import _codec.projects.tanks.client.panel.model.challenge.rewarding.CodecChallengeRewardsCC; import _codec.projects.tanks.client.panel.model.challenge.rewarding.CodecTier; import _codec.projects.tanks.client.panel.model.challenge.rewarding.CodecTierItem; import _codec.projects.tanks.client.panel.model.challenge.rewarding.VectorCodecChallengeRewardsCCLevel1; import _codec.projects.tanks.client.panel.model.challenge.rewarding.VectorCodecTierItemLevel1; import _codec.projects.tanks.client.panel.model.challenge.rewarding.VectorCodecTierLevel1; import _codec.projects.tanks.client.panel.model.challenge.stars.CodecStarsInfoCC; import _codec.projects.tanks.client.panel.model.challenge.stars.VectorCodecStarsInfoCCLevel1; import _codec.projects.tanks.client.panel.model.coin.CodecCoinInfoCC; import _codec.projects.tanks.client.panel.model.coin.VectorCodecCoinInfoCCLevel1; import _codec.projects.tanks.client.panel.model.donationalert.CodecDonationAlertCC; import _codec.projects.tanks.client.panel.model.donationalert.VectorCodecDonationAlertCCLevel1; import _codec.projects.tanks.client.panel.model.donationalert.types.CodecDonationData; import _codec.projects.tanks.client.panel.model.donationalert.types.CodecGoodInfoData; import _codec.projects.tanks.client.panel.model.donationalert.types.VectorCodecDonationDataLevel1; import _codec.projects.tanks.client.panel.model.donationalert.types.VectorCodecGoodInfoDataLevel1; import _codec.projects.tanks.client.panel.model.donationalert.user.donation.CodecDonationProfileCC; import _codec.projects.tanks.client.panel.model.donationalert.user.donation.VectorCodecDonationProfileCCLevel1; import _codec.projects.tanks.client.panel.model.garage.CodecGarageItemInfo; import _codec.projects.tanks.client.panel.model.garage.VectorCodecGarageItemInfoLevel1; import _codec.projects.tanks.client.panel.model.garage.availableupgrades.CodecAvailableUpgradeItem; import _codec.projects.tanks.client.panel.model.garage.availableupgrades.CodecAvailableUpgradesCC; import _codec.projects.tanks.client.panel.model.garage.availableupgrades.VectorCodecAvailableUpgradeItemLevel1; import _codec.projects.tanks.client.panel.model.garage.availableupgrades.VectorCodecAvailableUpgradesCCLevel1; import _codec.projects.tanks.client.panel.model.garage.rankupsupplybonus.CodecRankUpSupplyBonusInfo; import _codec.projects.tanks.client.panel.model.garage.rankupsupplybonus.VectorCodecRankUpSupplyBonusInfoLevel1; import _codec.projects.tanks.client.panel.model.garage.resistance.CodecResistancesCC; import _codec.projects.tanks.client.panel.model.garage.resistance.VectorCodecResistancesCCLevel1; import _codec.projects.tanks.client.panel.model.kitoffer.CodecKitOfferInfo; import _codec.projects.tanks.client.panel.model.kitoffer.VectorCodecKitOfferInfoLevel1; import _codec.projects.tanks.client.panel.model.kitoffer.log.CodecKitOfferAction; import _codec.projects.tanks.client.panel.model.kitoffer.log.VectorCodecKitOfferActionLevel1; import _codec.projects.tanks.client.panel.model.mobilequest.profile.CodecMobileQuestProfileCC; import _codec.projects.tanks.client.panel.model.mobilequest.profile.VectorCodecMobileQuestProfileCCLevel1; import _codec.projects.tanks.client.panel.model.mobilequest.quest.CodecMobileQuestCC; import _codec.projects.tanks.client.panel.model.mobilequest.quest.CodecMobileQuestReward; import _codec.projects.tanks.client.panel.model.mobilequest.quest.VectorCodecMobileQuestCCLevel1; import _codec.projects.tanks.client.panel.model.mobilequest.quest.VectorCodecMobileQuestRewardLevel1; import _codec.projects.tanks.client.panel.model.payment.CodecCrystalsPaymentCC; import _codec.projects.tanks.client.panel.model.payment.CodecPaymentCC; import _codec.projects.tanks.client.panel.model.payment.CodecPaymentPackage; import _codec.projects.tanks.client.panel.model.payment.VectorCodecCrystalsPaymentCCLevel1; import _codec.projects.tanks.client.panel.model.payment.VectorCodecPaymentCCLevel1; import _codec.projects.tanks.client.panel.model.payment.VectorCodecPaymentPackageLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.CodecPayModeCC; import _codec.projects.tanks.client.panel.model.payment.modes.CodecPaymentRequestVariable; import _codec.projects.tanks.client.panel.model.payment.modes.VectorCodecPayModeCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.VectorCodecPaymentRequestVariableLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.android.CodecPurchaseData; import _codec.projects.tanks.client.panel.model.payment.modes.android.VectorCodecPurchaseDataLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.braintree.CodecBraintreePaymentCC; import _codec.projects.tanks.client.panel.model.payment.modes.braintree.VectorCodecBraintreePaymentCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.description.CodecBottomDescriptionCC; import _codec.projects.tanks.client.panel.model.payment.modes.description.VectorCodecBottomDescriptionCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.gate2shop.CodecGate2ShopPaymentCC; import _codec.projects.tanks.client.panel.model.payment.modes.gate2shop.VectorCodecGate2ShopPaymentCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.paygarden.CodecPayGardenPaymentCC; import _codec.projects.tanks.client.panel.model.payment.modes.paygarden.CodecPayGardenProductType; import _codec.projects.tanks.client.panel.model.payment.modes.paygarden.VectorCodecPayGardenPaymentCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.paygarden.VectorCodecPayGardenProductTypeLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.pricerange.CodecPriceRangeCC; import _codec.projects.tanks.client.panel.model.payment.modes.pricerange.VectorCodecPriceRangeCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.qiwi.CodecCountryPhoneInfo; import _codec.projects.tanks.client.panel.model.payment.modes.qiwi.CodecQiwiPaymentCC; import _codec.projects.tanks.client.panel.model.payment.modes.qiwi.VectorCodecCountryPhoneInfoLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.qiwi.VectorCodecQiwiPaymentCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.sms.CodecSMSPayModeCC; import _codec.projects.tanks.client.panel.model.payment.modes.sms.VectorCodecSMSPayModeCCLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.sms.types.CodecCountry; import _codec.projects.tanks.client.panel.model.payment.modes.sms.types.CodecSMSNumber; import _codec.projects.tanks.client.panel.model.payment.modes.sms.types.CodecSMSOperator; import _codec.projects.tanks.client.panel.model.payment.modes.sms.types.VectorCodecCountryLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.sms.types.VectorCodecSMSNumberLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.sms.types.VectorCodecSMSOperatorLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.terminal.CodecTerminalInstance; import _codec.projects.tanks.client.panel.model.payment.modes.terminal.CodecTerminalPaymentCC; import _codec.projects.tanks.client.panel.model.payment.modes.terminal.VectorCodecTerminalInstanceLevel1; import _codec.projects.tanks.client.panel.model.payment.modes.terminal.VectorCodecTerminalPaymentCCLevel1; import _codec.projects.tanks.client.panel.model.payment.panel.CodecPaymentButtonCC; import _codec.projects.tanks.client.panel.model.payment.panel.VectorCodecPaymentButtonCCLevel1; import _codec.projects.tanks.client.panel.model.payment.types.CodecPaymentRequestUrl; import _codec.projects.tanks.client.panel.model.payment.types.VectorCodecPaymentRequestUrlLevel1; import _codec.projects.tanks.client.panel.model.premiumaccount.alert.CodecPremiumAccountAlertCC; import _codec.projects.tanks.client.panel.model.premiumaccount.alert.VectorCodecPremiumAccountAlertCCLevel1; import _codec.projects.tanks.client.panel.model.presents.CodecPresentsSettingsCC; import _codec.projects.tanks.client.panel.model.presents.VectorCodecPresentsSettingsCCLevel1; import _codec.projects.tanks.client.panel.model.profile.rename.CodecAndroidRenameCC; import _codec.projects.tanks.client.panel.model.profile.rename.VectorCodecAndroidRenameCCLevel1; import _codec.projects.tanks.client.panel.model.profile.useremailpassword.CodecUserEmailCC; import _codec.projects.tanks.client.panel.model.profile.useremailpassword.VectorCodecUserEmailCCLevel1; import _codec.projects.tanks.client.panel.model.profile.userproperties.CodecUserPropertiesCC; import _codec.projects.tanks.client.panel.model.profile.userproperties.VectorCodecUserPropertiesCCLevel1; import _codec.projects.tanks.client.panel.model.profile.usersettings.CodecClientStoredSettings; import _codec.projects.tanks.client.panel.model.profile.usersettings.VectorCodecClientStoredSettingsLevel1; import _codec.projects.tanks.client.panel.model.quest.CodecQuestTypeEnum; import _codec.projects.tanks.client.panel.model.quest.VectorCodecQuestTypeEnumLevel1; import _codec.projects.tanks.client.panel.model.quest.common.specification.CodecQuestLevel; import _codec.projects.tanks.client.panel.model.quest.common.specification.VectorCodecQuestLevelLevel1; import _codec.projects.tanks.client.panel.model.quest.daily.CodecDailyQuestInfo; import _codec.projects.tanks.client.panel.model.quest.daily.CodecDailyQuestShowingCC; import _codec.projects.tanks.client.panel.model.quest.daily.VectorCodecDailyQuestInfoLevel1; import _codec.projects.tanks.client.panel.model.quest.daily.VectorCodecDailyQuestShowingCCLevel1; import _codec.projects.tanks.client.panel.model.quest.notifier.CodecQuestNotifierCC; import _codec.projects.tanks.client.panel.model.quest.notifier.VectorCodecQuestNotifierCCLevel1; import _codec.projects.tanks.client.panel.model.quest.showing.CodecCommonQuestInfo; import _codec.projects.tanks.client.panel.model.quest.showing.CodecQuestInfoWithLevel; import _codec.projects.tanks.client.panel.model.quest.showing.CodecQuestPrizeInfo; import _codec.projects.tanks.client.panel.model.quest.showing.VectorCodecCommonQuestInfoLevel1; import _codec.projects.tanks.client.panel.model.quest.showing.VectorCodecQuestInfoWithLevelLevel1; import _codec.projects.tanks.client.panel.model.quest.showing.VectorCodecQuestPrizeInfoLevel1; import _codec.projects.tanks.client.panel.model.quest.weekly.CodecWeeklyQuestInfo; import _codec.projects.tanks.client.panel.model.quest.weekly.CodecWeeklyQuestShowingCC; import _codec.projects.tanks.client.panel.model.quest.weekly.VectorCodecWeeklyQuestInfoLevel1; import _codec.projects.tanks.client.panel.model.quest.weekly.VectorCodecWeeklyQuestShowingCCLevel1; import _codec.projects.tanks.client.panel.model.rankupbonus.alert.CodecRankUpBonusAlertItem; import _codec.projects.tanks.client.panel.model.rankupbonus.alert.VectorCodecRankUpBonusAlertItemLevel1; import _codec.projects.tanks.client.panel.model.referrals.CodecReferralIncomeData; import _codec.projects.tanks.client.panel.model.referrals.CodecReferralsModelCC; import _codec.projects.tanks.client.panel.model.referrals.VectorCodecReferralIncomeDataLevel1; import _codec.projects.tanks.client.panel.model.referrals.VectorCodecReferralsModelCCLevel1; import _codec.projects.tanks.client.panel.model.rulesupdate.showing.CodecRulesUpdateShowingCC; import _codec.projects.tanks.client.panel.model.rulesupdate.showing.VectorCodecRulesUpdateShowingCCLevel1; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.banner.CodecAndroidBannerModelCC; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.banner.CodecAndroidBannerType; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.banner.VectorCodecAndroidBannerModelCCLevel1; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.banner.VectorCodecAndroidBannerTypeLevel1; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.offers.CodecAndroidSpecialOfferModelCC; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.offers.CodecMediumTimeOfferCC; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.offers.VectorCodecAndroidSpecialOfferModelCCLevel1; import _codec.projects.tanks.client.panel.model.shop.androidspecialoffer.offers.VectorCodecMediumTimeOfferCCLevel1; import _codec.projects.tanks.client.panel.model.shop.challenges.battlepass.CodecBattlePassPackageCC; import _codec.projects.tanks.client.panel.model.shop.challenges.battlepass.VectorCodecBattlePassPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.challenges.toclient.CodecChallengeShopItemsCC; import _codec.projects.tanks.client.panel.model.shop.challenges.toclient.VectorCodecChallengeShopItemsCCLevel1; import _codec.projects.tanks.client.panel.model.shop.clientlayoutkit.CodecCCBundleText; import _codec.projects.tanks.client.panel.model.shop.clientlayoutkit.CodecKitBundleViewCC; import _codec.projects.tanks.client.panel.model.shop.clientlayoutkit.VectorCodecCCBundleTextLevel1; import _codec.projects.tanks.client.panel.model.shop.clientlayoutkit.VectorCodecKitBundleViewCCLevel1; import _codec.projects.tanks.client.panel.model.shop.clientlayoutkit.entity.CodecBundleImage; import _codec.projects.tanks.client.panel.model.shop.clientlayoutkit.entity.VectorCodecBundleImageLevel1; import _codec.projects.tanks.client.panel.model.shop.coinpackage.CodecCoinPackageCC; import _codec.projects.tanks.client.panel.model.shop.coinpackage.VectorCodecCoinPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.crystalpackage.CodecCrystalPackageCC; import _codec.projects.tanks.client.panel.model.shop.crystalpackage.VectorCodecCrystalPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.description.CodecShopItemAdditionalDescriptionCC; import _codec.projects.tanks.client.panel.model.shop.description.VectorCodecShopItemAdditionalDescriptionCCLevel1; import _codec.projects.tanks.client.panel.model.shop.discount.CodecShopDiscountCC; import _codec.projects.tanks.client.panel.model.shop.discount.VectorCodecShopDiscountCCLevel1; import _codec.projects.tanks.client.panel.model.shop.emailrequired.CodecEmailRequiredCC; import _codec.projects.tanks.client.panel.model.shop.emailrequired.VectorCodecEmailRequiredCCLevel1; import _codec.projects.tanks.client.panel.model.shop.enable.paymode.CodecRestrictionByPayModeCC; import _codec.projects.tanks.client.panel.model.shop.enable.paymode.VectorCodecRestrictionByPayModeCCLevel1; import _codec.projects.tanks.client.panel.model.shop.featuring.CodecShopItemFeaturingCC; import _codec.projects.tanks.client.panel.model.shop.featuring.VectorCodecShopItemFeaturingCCLevel1; import _codec.projects.tanks.client.panel.model.shop.goldboxpackage.CodecGoldBoxPackageCC; import _codec.projects.tanks.client.panel.model.shop.goldboxpackage.VectorCodecGoldBoxPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.indemnity.CodecIndemnityCC; import _codec.projects.tanks.client.panel.model.shop.indemnity.VectorCodecIndemnityCCLevel1; import _codec.projects.tanks.client.panel.model.shop.kitpackage.CodecKitPackageCC; import _codec.projects.tanks.client.panel.model.shop.kitpackage.CodecKitPackageItemInfo; import _codec.projects.tanks.client.panel.model.shop.kitpackage.VectorCodecKitPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.kitpackage.VectorCodecKitPackageItemInfoLevel1; import _codec.projects.tanks.client.panel.model.shop.kitview.CodecKitViewResourceCC; import _codec.projects.tanks.client.panel.model.shop.kitview.VectorCodecKitViewResourceCCLevel1; import _codec.projects.tanks.client.panel.model.shop.kitview.localized.CodecKitViewResourceLocalizedCC; import _codec.projects.tanks.client.panel.model.shop.kitview.localized.VectorCodecKitViewResourceLocalizedCCLevel1; import _codec.projects.tanks.client.panel.model.shop.lootbox.CodecLootBoxPackageCC; import _codec.projects.tanks.client.panel.model.shop.lootbox.VectorCodecLootBoxPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.lootboxandpaintkit.CodecLootboxAndPaintCC; import _codec.projects.tanks.client.panel.model.shop.lootboxandpaintkit.VectorCodecLootboxAndPaintCCLevel1; import _codec.projects.tanks.client.panel.model.shop.onetimepurchase.CodecShopItemOneTimePurchaseCC; import _codec.projects.tanks.client.panel.model.shop.onetimepurchase.VectorCodecShopItemOneTimePurchaseCCLevel1; import _codec.projects.tanks.client.panel.model.shop.paintpackage.CodecPaintPackageCC; import _codec.projects.tanks.client.panel.model.shop.paintpackage.VectorCodecPaintPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.premiumpackage.CodecPremiumPackageCC; import _codec.projects.tanks.client.panel.model.shop.premiumpackage.VectorCodecPremiumPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.price.CodecShopItemCC; import _codec.projects.tanks.client.panel.model.shop.price.VectorCodecShopItemCCLevel1; import _codec.projects.tanks.client.panel.model.shop.renameshopitem.CodecRenameShopItemCC; import _codec.projects.tanks.client.panel.model.shop.renameshopitem.VectorCodecRenameShopItemCCLevel1; import _codec.projects.tanks.client.panel.model.shop.shopcategory.CodecShopCategoryCC; import _codec.projects.tanks.client.panel.model.shop.shopcategory.VectorCodecShopCategoryCCLevel1; import _codec.projects.tanks.client.panel.model.shop.shopitemcategory.CodecShopItemCategoryCC; import _codec.projects.tanks.client.panel.model.shop.shopitemcategory.VectorCodecShopItemCategoryCCLevel1; import _codec.projects.tanks.client.panel.model.shop.specialkit.CodecShopKitText; import _codec.projects.tanks.client.panel.model.shop.specialkit.CodecSpecialKitPackageCC; import _codec.projects.tanks.client.panel.model.shop.specialkit.VectorCodecShopKitTextLevel1; import _codec.projects.tanks.client.panel.model.shop.specialkit.VectorCodecSpecialKitPackageCCLevel1; import _codec.projects.tanks.client.panel.model.shop.specialkit.view.singleitem.CodecSingleItemKitViewCC; import _codec.projects.tanks.client.panel.model.shop.specialkit.view.singleitem.VectorCodecSingleItemKitViewCCLevel1; import _codec.projects.tanks.client.panel.model.shopabonement.CodecShopAbonementsCC; import _codec.projects.tanks.client.panel.model.shopabonement.VectorCodecShopAbonementsCCLevel1; import _codec.projects.tanks.client.panel.model.socialnetwork.CodecSocialNetworkPanelCC; import _codec.projects.tanks.client.panel.model.socialnetwork.CodecSocialNetworkPanelParams; import _codec.projects.tanks.client.panel.model.socialnetwork.VectorCodecSocialNetworkPanelCCLevel1; import _codec.projects.tanks.client.panel.model.socialnetwork.VectorCodecSocialNetworkPanelParamsLevel1; import _codec.projects.tanks.client.panel.model.tutorialhints.CodecTutorialHintsCC; import _codec.projects.tanks.client.panel.model.tutorialhints.CodecTutorialHintsData; import _codec.projects.tanks.client.panel.model.tutorialhints.VectorCodecTutorialHintsCCLevel1; import _codec.projects.tanks.client.panel.model.tutorialhints.VectorCodecTutorialHintsDataLevel1; import _codec.projects.tanks.client.panel.model.usercountry.CodecCountryInfo; import _codec.projects.tanks.client.panel.model.usercountry.CodecUserCountryCC; import _codec.projects.tanks.client.panel.model.usercountry.VectorCodecCountryInfoLevel1; import _codec.projects.tanks.client.panel.model.usercountry.VectorCodecUserCountryCCLevel1; import _codec.projects.tanks.client.panel.model.videoads.CodecVideoAdsModelCC; import _codec.projects.tanks.client.panel.model.videoads.VectorCodecVideoAdsModelCCLevel1; import _codec.projects.tanks.client.panel.model.videoads.containers.CodecVideoAdsMobileLootBoxCC; import _codec.projects.tanks.client.panel.model.videoads.containers.VectorCodecVideoAdsMobileLootBoxCCLevel1; import alternativa.osgi.OSGi; import alternativa.osgi.bundle.IBundleActivator; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.codec.OptionalCodecDecorator; import alternativa.protocol.info.CollectionCodecInfo; import alternativa.protocol.info.EnumCodecInfo; import alternativa.protocol.info.TypeCodecInfo; import alternativa.types.Long; import platform.client.fp10.core.registry.ModelRegistry; import projects.tanks.client.panel.model.abonements.ShopAbonementData; import projects.tanks.client.panel.model.abonements.UserAbonementsCC; import projects.tanks.client.panel.model.battleinvite.BattleInviteCC; import projects.tanks.client.panel.model.battleinvite.BattleInviteMessage; import projects.tanks.client.panel.model.battlepass.purchasenotifier.BattlePassPurchaseNotifierCC; import projects.tanks.client.panel.model.bonus.showing.image.BonusImageCC; import projects.tanks.client.panel.model.bonus.showing.info.BonusInfoCC; import projects.tanks.client.panel.model.bonus.showing.items.BonusItemCC; import projects.tanks.client.panel.model.bonus.showing.items.BonusItemsShowingCC; import projects.tanks.client.panel.model.challenge.rewarding.ChallengeRewardsCC; import projects.tanks.client.panel.model.challenge.rewarding.Tier; import projects.tanks.client.panel.model.challenge.rewarding.TierItem; import projects.tanks.client.panel.model.challenge.stars.StarsInfoCC; import projects.tanks.client.panel.model.coin.CoinInfoCC; import projects.tanks.client.panel.model.donationalert.DonationAlertCC; import projects.tanks.client.panel.model.donationalert.types.DonationData; import projects.tanks.client.panel.model.donationalert.types.GoodInfoData; import projects.tanks.client.panel.model.donationalert.user.donation.DonationProfileCC; import projects.tanks.client.panel.model.garage.GarageItemInfo; import projects.tanks.client.panel.model.garage.availableupgrades.AvailableUpgradeItem; import projects.tanks.client.panel.model.garage.availableupgrades.AvailableUpgradesCC; import projects.tanks.client.panel.model.garage.rankupsupplybonus.RankUpSupplyBonusInfo; import projects.tanks.client.panel.model.garage.resistance.ResistancesCC; import projects.tanks.client.panel.model.kitoffer.KitOfferInfo; import projects.tanks.client.panel.model.kitoffer.log.KitOfferAction; import projects.tanks.client.panel.model.mobilequest.profile.MobileQuestProfileCC; import projects.tanks.client.panel.model.mobilequest.quest.MobileQuestCC; import projects.tanks.client.panel.model.mobilequest.quest.MobileQuestReward; import projects.tanks.client.panel.model.payment.CrystalsPaymentCC; import projects.tanks.client.panel.model.payment.PaymentCC; import projects.tanks.client.panel.model.payment.PaymentPackage; import projects.tanks.client.panel.model.payment.modes.PayModeCC; import projects.tanks.client.panel.model.payment.modes.PaymentRequestVariable; import projects.tanks.client.panel.model.payment.modes.android.PurchaseData; import projects.tanks.client.panel.model.payment.modes.braintree.BraintreePaymentCC; import projects.tanks.client.panel.model.payment.modes.description.BottomDescriptionCC; import projects.tanks.client.panel.model.payment.modes.gate2shop.Gate2ShopPaymentCC; import projects.tanks.client.panel.model.payment.modes.paygarden.PayGardenPaymentCC; import projects.tanks.client.panel.model.payment.modes.paygarden.PayGardenProductType; import projects.tanks.client.panel.model.payment.modes.pricerange.PriceRangeCC; import projects.tanks.client.panel.model.payment.modes.qiwi.CountryPhoneInfo; import projects.tanks.client.panel.model.payment.modes.qiwi.QiwiPaymentCC; import projects.tanks.client.panel.model.payment.modes.sms.SMSPayModeCC; import projects.tanks.client.panel.model.payment.modes.sms.types.Country; import projects.tanks.client.panel.model.payment.modes.sms.types.SMSNumber; import projects.tanks.client.panel.model.payment.modes.sms.types.SMSOperator; import projects.tanks.client.panel.model.payment.modes.terminal.TerminalInstance; import projects.tanks.client.panel.model.payment.modes.terminal.TerminalPaymentCC; import projects.tanks.client.panel.model.payment.panel.PaymentButtonCC; import projects.tanks.client.panel.model.payment.types.PaymentRequestUrl; import projects.tanks.client.panel.model.premiumaccount.alert.PremiumAccountAlertCC; import projects.tanks.client.panel.model.presents.PresentsSettingsCC; import projects.tanks.client.panel.model.profile.rename.AndroidRenameCC; import projects.tanks.client.panel.model.profile.useremailpassword.UserEmailCC; import projects.tanks.client.panel.model.profile.userproperties.UserPropertiesCC; import projects.tanks.client.panel.model.profile.usersettings.ClientStoredSettings; import projects.tanks.client.panel.model.quest.QuestTypeEnum; import projects.tanks.client.panel.model.quest.common.specification.QuestLevel; import projects.tanks.client.panel.model.quest.daily.DailyQuestInfo; import projects.tanks.client.panel.model.quest.daily.DailyQuestShowingCC; import projects.tanks.client.panel.model.quest.notifier.QuestNotifierCC; import projects.tanks.client.panel.model.quest.showing.CommonQuestInfo; import projects.tanks.client.panel.model.quest.showing.QuestInfoWithLevel; import projects.tanks.client.panel.model.quest.showing.QuestPrizeInfo; import projects.tanks.client.panel.model.quest.weekly.WeeklyQuestInfo; import projects.tanks.client.panel.model.quest.weekly.WeeklyQuestShowingCC; import projects.tanks.client.panel.model.rankupbonus.alert.RankUpBonusAlertItem; import projects.tanks.client.panel.model.referrals.ReferralIncomeData; import projects.tanks.client.panel.model.referrals.ReferralsModelCC; import projects.tanks.client.panel.model.rulesupdate.showing.RulesUpdateShowingCC; import projects.tanks.client.panel.model.shop.androidspecialoffer.banner.AndroidBannerModelCC; import projects.tanks.client.panel.model.shop.androidspecialoffer.banner.AndroidBannerType; import projects.tanks.client.panel.model.shop.androidspecialoffer.offers.AndroidSpecialOfferModelCC; import projects.tanks.client.panel.model.shop.androidspecialoffer.offers.MediumTimeOfferCC; import projects.tanks.client.panel.model.shop.challenges.battlepass.BattlePassPackageCC; import projects.tanks.client.panel.model.shop.challenges.toclient.ChallengeShopItemsCC; import projects.tanks.client.panel.model.shop.clientlayoutkit.CCBundleText; import projects.tanks.client.panel.model.shop.clientlayoutkit.KitBundleViewCC; import projects.tanks.client.panel.model.shop.clientlayoutkit.entity.BundleImage; import projects.tanks.client.panel.model.shop.coinpackage.CoinPackageCC; import projects.tanks.client.panel.model.shop.crystalpackage.CrystalPackageCC; import projects.tanks.client.panel.model.shop.description.ShopItemAdditionalDescriptionCC; import projects.tanks.client.panel.model.shop.discount.ShopDiscountCC; import projects.tanks.client.panel.model.shop.emailrequired.EmailRequiredCC; import projects.tanks.client.panel.model.shop.enable.paymode.RestrictionByPayModeCC; import projects.tanks.client.panel.model.shop.featuring.ShopItemFeaturingCC; import projects.tanks.client.panel.model.shop.goldboxpackage.GoldBoxPackageCC; import projects.tanks.client.panel.model.shop.indemnity.IndemnityCC; import projects.tanks.client.panel.model.shop.kitpackage.KitPackageCC; import projects.tanks.client.panel.model.shop.kitpackage.KitPackageItemInfo; import projects.tanks.client.panel.model.shop.kitview.KitViewResourceCC; import projects.tanks.client.panel.model.shop.kitview.localized.KitViewResourceLocalizedCC; import projects.tanks.client.panel.model.shop.lootbox.LootBoxPackageCC; import projects.tanks.client.panel.model.shop.lootboxandpaintkit.LootboxAndPaintCC; import projects.tanks.client.panel.model.shop.onetimepurchase.ShopItemOneTimePurchaseCC; import projects.tanks.client.panel.model.shop.paintpackage.PaintPackageCC; import projects.tanks.client.panel.model.shop.premiumpackage.PremiumPackageCC; import projects.tanks.client.panel.model.shop.price.ShopItemCC; import projects.tanks.client.panel.model.shop.renameshopitem.RenameShopItemCC; import projects.tanks.client.panel.model.shop.shopcategory.ShopCategoryCC; import projects.tanks.client.panel.model.shop.shopitemcategory.ShopItemCategoryCC; import projects.tanks.client.panel.model.shop.specialkit.ShopKitText; import projects.tanks.client.panel.model.shop.specialkit.SpecialKitPackageCC; import projects.tanks.client.panel.model.shop.specialkit.view.singleitem.SingleItemKitViewCC; import projects.tanks.client.panel.model.shopabonement.ShopAbonementsCC; import projects.tanks.client.panel.model.socialnetwork.SocialNetworkPanelCC; import projects.tanks.client.panel.model.socialnetwork.SocialNetworkPanelParams; import projects.tanks.client.panel.model.tutorialhints.TutorialHintsCC; import projects.tanks.client.panel.model.tutorialhints.TutorialHintsData; import projects.tanks.client.panel.model.usercountry.CountryInfo; import projects.tanks.client.panel.model.usercountry.UserCountryCC; import projects.tanks.client.panel.model.videoads.VideoAdsModelCC; import projects.tanks.client.panel.model.videoads.containers.VideoAdsMobileLootBoxCC; public class Activator implements IBundleActivator { public static var osgi:OSGi; public function Activator() { super(); } public function start(param1:OSGi) : void { var local4:ICodec = null; osgi = param1; var local2:ModelRegistry = ModelRegistry(OSGi.getInstance().getService(ModelRegistry)); local2.register(Long.getLong(13210116,-2135305231),Long.getLong(1596742393,-1924740812)); local2.register(Long.getLong(1825522664,-327255425),Long.getLong(1680328157,1362081079)); local2.register(Long.getLong(1012815736,604595236),Long.getLong(384306161,1146565800)); local2.register(Long.getLong(804749612,407465188),Long.getLong(854492463,-1622748313)); local2.register(Long.getLong(804749612,407465188),Long.getLong(1015957462,728524153)); local2.register(Long.getLong(804749612,407465188),Long.getLong(548141647,-56956003)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(1068297728,1829837704)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(398876573,1490756518)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(1068297619,291808945)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(1139457794,1130394742)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(1206670376,-1986947351)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(911140643,1907726781)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(1422836744,-825710181)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(193670407,-969155806)); local2.register(Long.getLong(1766933086,508742652),Long.getLong(335218654,-1980586295)); local2.register(Long.getLong(664877248,-2049851574),Long.getLong(427104330,1176974801)); local2.register(Long.getLong(1504901702,408311149),Long.getLong(139084535,228510069)); local2.register(Long.getLong(142490486,-1012948578),Long.getLong(1979487962,1574221041)); local2.register(Long.getLong(2020503521,-1456828147),Long.getLong(1144166575,-1384472857)); local2.register(Long.getLong(462774872,33170034),Long.getLong(1574353768,-896343414)); local2.register(Long.getLong(462774872,33170034),Long.getLong(1574353870,-939206877)); local2.register(Long.getLong(790638048,-212453148),Long.getLong(1759230741,1008086188)); local2.register(Long.getLong(790638048,-212453148),Long.getLong(268614093,535858133)); local2.register(Long.getLong(790638048,-212453148),Long.getLong(1383818686,-1315591703)); local2.register(Long.getLong(790638048,-212453148),Long.getLong(1589408480,-2143336969)); local2.register(Long.getLong(790638048,-212453148),Long.getLong(1383818686,-1315475876)); local2.register(Long.getLong(1515742461,1294189212),Long.getLong(1020345955,1337151235)); local2.register(Long.getLong(1515742461,1294189212),Long.getLong(975242164,1949003173)); local2.register(Long.getLong(1515742461,1294189212),Long.getLong(1157065731,337374157)); local2.register(Long.getLong(1515742461,1294189212),Long.getLong(975242164,1949119000)); local2.register(Long.getLong(1515742461,1294189212),Long.getLong(1878159224,-550346793)); local2.register(Long.getLong(1515742461,1294189212),Long.getLong(532560185,-1848992209)); local2.register(Long.getLong(1515742461,1294189212),Long.getLong(412946160,1704963022)); local2.register(Long.getLong(1511905518,2017080539),Long.getLong(1043577002,1221905182)); local2.register(Long.getLong(1203966282,1135370561),Long.getLong(1961101871,-1859061910)); local2.register(Long.getLong(1703176691,-2087679293),Long.getLong(60052310,1634022030)); local2.register(Long.getLong(1175442844,-1652512683),Long.getLong(1864278356,1633403965)); local2.register(Long.getLong(1118995569,-1424498497),Long.getLong(349570982,87011802)); local2.register(Long.getLong(648458850,1480220388),Long.getLong(1005239660,318507406)); local2.register(Long.getLong(1240219703,-1345063692),Long.getLong(45741248,-1496530658)); local2.register(Long.getLong(1118509469,-35521391),Long.getLong(523922434,-1392224255)); local2.register(Long.getLong(1896396405,832327381),Long.getLong(1261138148,-697586738)); local2.register(Long.getLong(905082594,773468886),Long.getLong(2018754756,-1674743349)); local2.register(Long.getLong(1588065385,-1735921226),Long.getLong(1975169879,-182292227)); local2.register(Long.getLong(963439945,1016496094),Long.getLong(332392596,-133650115)); local2.register(Long.getLong(963439945,1016496094),Long.getLong(1900905132,-1959809828)); local2.register(Long.getLong(176586390,-1429295990),Long.getLong(2063915763,-1081638167)); local2.register(Long.getLong(1456185857,-299115092),Long.getLong(1139481512,922626302)); local2.register(Long.getLong(1004681856,-270220968),Long.getLong(1018287029,-103071689)); local2.register(Long.getLong(1004681856,-270220968),Long.getLong(996435325,2910117)); local2.register(Long.getLong(1004681856,-270220968),Long.getLong(1910558556,-1549323827)); local2.register(Long.getLong(1004681856,-270220968),Long.getLong(996435325,3025944)); local2.register(Long.getLong(662905925,-149486694),Long.getLong(1472761253,1269708281)); local2.register(Long.getLong(952947688,-264256106),Long.getLong(510359375,-1812718807)); local2.register(Long.getLong(952947688,-264256106),Long.getLong(829088188,-1391550065)); local2.register(Long.getLong(969748537,-1870265676),Long.getLong(698903513,383981781)); local2.register(Long.getLong(1881983528,123164696),Long.getLong(849747999,304240905)); local2.register(Long.getLong(111164588,-1792267498),Long.getLong(102939338,2503765)); local2.register(Long.getLong(111164588,-1792267498),Long.getLong(140391626,-1874835949)); local2.register(Long.getLong(1738044130,-258469210),Long.getLong(907995372,2081080733)); local2.register(Long.getLong(1738044130,-258469210),Long.getLong(1916914524,-199552186)); local2.register(Long.getLong(1738044130,-258469210),Long.getLong(1929960861,1764460250)); local2.register(Long.getLong(1738044130,-258469210),Long.getLong(909269845,-241303137)); local2.register(Long.getLong(1394146469,-1218623146),Long.getLong(151939955,1064142569)); local2.register(Long.getLong(1394146469,-1218623146),Long.getLong(890818873,-1142094667)); local2.register(Long.getLong(1938293825,420250171),Long.getLong(726846280,221663080)); local2.register(Long.getLong(1938293825,420250171),Long.getLong(1580394283,1742910237)); local2.register(Long.getLong(897429325,1733728636),Long.getLong(552793109,-485726833)); local2.register(Long.getLong(287111968,-1381886380),Long.getLong(167154466,288991176)); local2.register(Long.getLong(1012007416,-1351622809),Long.getLong(1585320728,11519581)); local2.register(Long.getLong(1479505722,-162721658),Long.getLong(810003174,-1049558551)); local2.register(Long.getLong(1479505722,-162721658),Long.getLong(825297695,-807400147)); local2.register(Long.getLong(740369199,944909632),Long.getLong(742786754,-588207711)); local2.register(Long.getLong(740369199,944909632),Long.getLong(134865479,1344292238)); local2.register(Long.getLong(740369199,944909632),Long.getLong(607961308,438757112)); local2.register(Long.getLong(740369199,944909632),Long.getLong(2070151898,-799055156)); local2.register(Long.getLong(740369199,944909632),Long.getLong(639769619,1507772121)); local2.register(Long.getLong(740369199,944909632),Long.getLong(41003958,-1035229982)); local2.register(Long.getLong(740369199,944909632),Long.getLong(21656026,-1373860270)); local2.register(Long.getLong(740369199,944909632),Long.getLong(702539491,144211585)); local2.register(Long.getLong(740369199,944909632),Long.getLong(1455847234,-1429972580)); local2.register(Long.getLong(740369199,944909632),Long.getLong(1807808543,-1997999313)); local2.register(Long.getLong(440843623,678812097),Long.getLong(64279002,881084048)); local2.register(Long.getLong(440843623,678812097),Long.getLong(1831025596,2175819)); local2.register(Long.getLong(440843623,678812097),Long.getLong(927218296,-2113500728)); local2.register(Long.getLong(440843623,678812097),Long.getLong(1310531887,1919847900)); local2.register(Long.getLong(440843623,678812097),Long.getLong(1830988099,1665874005)); local2.register(Long.getLong(440843623,678812097),Long.getLong(926056233,101502221)); local2.register(Long.getLong(440843623,678812097),Long.getLong(197611464,1577755407)); local2.register(Long.getLong(440843623,678812097),Long.getLong(1971693857,-974448007)); local2.register(Long.getLong(1428989873,1951780812),Long.getLong(810018451,-1328707173)); local2.register(Long.getLong(1428989873,1951780812),Long.getLong(826886748,-1809986386)); local2.register(Long.getLong(1734194361,-1013591761),Long.getLong(27042981,-1604202185)); local2.register(Long.getLong(1734194361,-1013591761),Long.getLong(593457405,1956535921)); local2.register(Long.getLong(1734194361,-1013591761),Long.getLong(396498759,-254486753)); local2.register(Long.getLong(2083723058,-1617932508),Long.getLong(1649960148,-282513245)); local2.register(Long.getLong(2083723058,-1617932508),Long.getLong(881910911,183376780)); local2.register(Long.getLong(2083723058,-1617932508),Long.getLong(68721805,897135658)); local2.register(Long.getLong(2083723058,-1617932508),Long.getLong(2017235952,945739610)); local2.register(Long.getLong(616930387,851653221),Long.getLong(1625498279,-1320504899)); local2.register(Long.getLong(616930387,851653221),Long.getLong(1025488993,-1514758469)); local2.register(Long.getLong(1984500447,-1883224146),Long.getLong(653153520,-1625951208)); local2.register(Long.getLong(1896158207,-814003948),Long.getLong(1620265453,-1623297132)); local2.register(Long.getLong(1159964427,-343700957),Long.getLong(2091301631,441198109)); local2.register(Long.getLong(1159964427,-343700957),Long.getLong(1626332809,1880389982)); local2.register(Long.getLong(856727384,-557476859),Long.getLong(2065306189,-1463079708)); local2.register(Long.getLong(1498317426,618512353),Long.getLong(1756878835,-70934895)); local2.register(Long.getLong(1668161981,-943255745),Long.getLong(240051811,-1135024818)); local2.register(Long.getLong(1668161981,-943255745),Long.getLong(864049549,260374042)); local2.register(Long.getLong(441391263,1266773881),Long.getLong(127084649,413337814)); local2.register(Long.getLong(441391263,1266773881),Long.getLong(1650116493,253304315)); local2.register(Long.getLong(441391263,1266773881),Long.getLong(127086331,1588951154)); local2.register(Long.getLong(1770193848,-618385804),Long.getLong(883847139,2092193755)); local2.register(Long.getLong(439695750,646961384),Long.getLong(964446817,-340367443)); local2.register(Long.getLong(439695750,646961384),Long.getLong(455315457,289812863)); local2.register(Long.getLong(439695750,646961384),Long.getLong(2086735179,-395191971)); local2.register(Long.getLong(439695750,646961384),Long.getLong(1997552645,-744590077)); local2.register(Long.getLong(490510137,-613242056),Long.getLong(427740815,-932994949)); local2.register(Long.getLong(490510137,-613242056),Long.getLong(191744022,-2101440939)); local2.register(Long.getLong(1524013763,797788828),Long.getLong(1971461217,-1044767866)); local2.register(Long.getLong(484417400,-1976122270),Long.getLong(1625272162,1958733747)); local2.register(Long.getLong(484417400,-1976122270),Long.getLong(432115653,1756131906)); local2.register(Long.getLong(1626818804,-815772060),Long.getLong(2097016898,-518819579)); local2.register(Long.getLong(1726595253,-1440123844),Long.getLong(1455720671,844804169)); local2.register(Long.getLong(1726595253,-1440123844),Long.getLong(601148059,-698196692)); local2.register(Long.getLong(549828790,1245365939),Long.getLong(714027445,1471332669)); local2.register(Long.getLong(549828790,1245365939),Long.getLong(120761249,982718383)); local2.register(Long.getLong(549828790,1245365939),Long.getLong(1110576434,1477431942)); var local3:IProtocol = IProtocol(osgi.getService(IProtocol)); local4 = new CodecShopAbonementData(); local3.registerCodec(new TypeCodecInfo(ShopAbonementData,false),local4); local3.registerCodec(new TypeCodecInfo(ShopAbonementData,true),new OptionalCodecDecorator(local4)); local4 = new CodecUserAbonementsCC(); local3.registerCodec(new TypeCodecInfo(UserAbonementsCC,false),local4); local3.registerCodec(new TypeCodecInfo(UserAbonementsCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBattleInviteCC(); local3.registerCodec(new TypeCodecInfo(BattleInviteCC,false),local4); local3.registerCodec(new TypeCodecInfo(BattleInviteCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBattleInviteMessage(); local3.registerCodec(new TypeCodecInfo(BattleInviteMessage,false),local4); local3.registerCodec(new TypeCodecInfo(BattleInviteMessage,true),new OptionalCodecDecorator(local4)); local4 = new CodecBattlePassPurchaseNotifierCC(); local3.registerCodec(new TypeCodecInfo(BattlePassPurchaseNotifierCC,false),local4); local3.registerCodec(new TypeCodecInfo(BattlePassPurchaseNotifierCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBonusImageCC(); local3.registerCodec(new TypeCodecInfo(BonusImageCC,false),local4); local3.registerCodec(new TypeCodecInfo(BonusImageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBonusInfoCC(); local3.registerCodec(new TypeCodecInfo(BonusInfoCC,false),local4); local3.registerCodec(new TypeCodecInfo(BonusInfoCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBonusItemCC(); local3.registerCodec(new TypeCodecInfo(BonusItemCC,false),local4); local3.registerCodec(new TypeCodecInfo(BonusItemCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBonusItemsShowingCC(); local3.registerCodec(new TypeCodecInfo(BonusItemsShowingCC,false),local4); local3.registerCodec(new TypeCodecInfo(BonusItemsShowingCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecChallengeRewardsCC(); local3.registerCodec(new TypeCodecInfo(ChallengeRewardsCC,false),local4); local3.registerCodec(new TypeCodecInfo(ChallengeRewardsCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecTier(); local3.registerCodec(new TypeCodecInfo(Tier,false),local4); local3.registerCodec(new TypeCodecInfo(Tier,true),new OptionalCodecDecorator(local4)); local4 = new CodecTierItem(); local3.registerCodec(new TypeCodecInfo(TierItem,false),local4); local3.registerCodec(new TypeCodecInfo(TierItem,true),new OptionalCodecDecorator(local4)); local4 = new CodecStarsInfoCC(); local3.registerCodec(new TypeCodecInfo(StarsInfoCC,false),local4); local3.registerCodec(new TypeCodecInfo(StarsInfoCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecCoinInfoCC(); local3.registerCodec(new TypeCodecInfo(CoinInfoCC,false),local4); local3.registerCodec(new TypeCodecInfo(CoinInfoCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecDonationAlertCC(); local3.registerCodec(new TypeCodecInfo(DonationAlertCC,false),local4); local3.registerCodec(new TypeCodecInfo(DonationAlertCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecDonationData(); local3.registerCodec(new TypeCodecInfo(DonationData,false),local4); local3.registerCodec(new TypeCodecInfo(DonationData,true),new OptionalCodecDecorator(local4)); local4 = new CodecGoodInfoData(); local3.registerCodec(new TypeCodecInfo(GoodInfoData,false),local4); local3.registerCodec(new TypeCodecInfo(GoodInfoData,true),new OptionalCodecDecorator(local4)); local4 = new CodecDonationProfileCC(); local3.registerCodec(new TypeCodecInfo(DonationProfileCC,false),local4); local3.registerCodec(new TypeCodecInfo(DonationProfileCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecGarageItemInfo(); local3.registerCodec(new TypeCodecInfo(GarageItemInfo,false),local4); local3.registerCodec(new TypeCodecInfo(GarageItemInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecAvailableUpgradeItem(); local3.registerCodec(new TypeCodecInfo(AvailableUpgradeItem,false),local4); local3.registerCodec(new TypeCodecInfo(AvailableUpgradeItem,true),new OptionalCodecDecorator(local4)); local4 = new CodecAvailableUpgradesCC(); local3.registerCodec(new TypeCodecInfo(AvailableUpgradesCC,false),local4); local3.registerCodec(new TypeCodecInfo(AvailableUpgradesCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecRankUpSupplyBonusInfo(); local3.registerCodec(new TypeCodecInfo(RankUpSupplyBonusInfo,false),local4); local3.registerCodec(new TypeCodecInfo(RankUpSupplyBonusInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecResistancesCC(); local3.registerCodec(new TypeCodecInfo(ResistancesCC,false),local4); local3.registerCodec(new TypeCodecInfo(ResistancesCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecKitOfferInfo(); local3.registerCodec(new TypeCodecInfo(KitOfferInfo,false),local4); local3.registerCodec(new TypeCodecInfo(KitOfferInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecKitOfferAction(); local3.registerCodec(new EnumCodecInfo(KitOfferAction,false),local4); local3.registerCodec(new EnumCodecInfo(KitOfferAction,true),new OptionalCodecDecorator(local4)); local4 = new CodecMobileQuestProfileCC(); local3.registerCodec(new TypeCodecInfo(MobileQuestProfileCC,false),local4); local3.registerCodec(new TypeCodecInfo(MobileQuestProfileCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecMobileQuestCC(); local3.registerCodec(new TypeCodecInfo(MobileQuestCC,false),local4); local3.registerCodec(new TypeCodecInfo(MobileQuestCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecMobileQuestReward(); local3.registerCodec(new TypeCodecInfo(MobileQuestReward,false),local4); local3.registerCodec(new TypeCodecInfo(MobileQuestReward,true),new OptionalCodecDecorator(local4)); local4 = new CodecCrystalsPaymentCC(); local3.registerCodec(new TypeCodecInfo(CrystalsPaymentCC,false),local4); local3.registerCodec(new TypeCodecInfo(CrystalsPaymentCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPaymentCC(); local3.registerCodec(new TypeCodecInfo(PaymentCC,false),local4); local3.registerCodec(new TypeCodecInfo(PaymentCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPaymentPackage(); local3.registerCodec(new TypeCodecInfo(PaymentPackage,false),local4); local3.registerCodec(new TypeCodecInfo(PaymentPackage,true),new OptionalCodecDecorator(local4)); local4 = new CodecPayModeCC(); local3.registerCodec(new TypeCodecInfo(PayModeCC,false),local4); local3.registerCodec(new TypeCodecInfo(PayModeCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPaymentRequestVariable(); local3.registerCodec(new TypeCodecInfo(PaymentRequestVariable,false),local4); local3.registerCodec(new TypeCodecInfo(PaymentRequestVariable,true),new OptionalCodecDecorator(local4)); local4 = new CodecPurchaseData(); local3.registerCodec(new TypeCodecInfo(PurchaseData,false),local4); local3.registerCodec(new TypeCodecInfo(PurchaseData,true),new OptionalCodecDecorator(local4)); local4 = new CodecBraintreePaymentCC(); local3.registerCodec(new TypeCodecInfo(BraintreePaymentCC,false),local4); local3.registerCodec(new TypeCodecInfo(BraintreePaymentCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBottomDescriptionCC(); local3.registerCodec(new TypeCodecInfo(BottomDescriptionCC,false),local4); local3.registerCodec(new TypeCodecInfo(BottomDescriptionCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecGate2ShopPaymentCC(); local3.registerCodec(new TypeCodecInfo(Gate2ShopPaymentCC,false),local4); local3.registerCodec(new TypeCodecInfo(Gate2ShopPaymentCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPayGardenPaymentCC(); local3.registerCodec(new TypeCodecInfo(PayGardenPaymentCC,false),local4); local3.registerCodec(new TypeCodecInfo(PayGardenPaymentCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPayGardenProductType(); local3.registerCodec(new EnumCodecInfo(PayGardenProductType,false),local4); local3.registerCodec(new EnumCodecInfo(PayGardenProductType,true),new OptionalCodecDecorator(local4)); local4 = new CodecPriceRangeCC(); local3.registerCodec(new TypeCodecInfo(PriceRangeCC,false),local4); local3.registerCodec(new TypeCodecInfo(PriceRangeCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecCountryPhoneInfo(); local3.registerCodec(new TypeCodecInfo(CountryPhoneInfo,false),local4); local3.registerCodec(new TypeCodecInfo(CountryPhoneInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecQiwiPaymentCC(); local3.registerCodec(new TypeCodecInfo(QiwiPaymentCC,false),local4); local3.registerCodec(new TypeCodecInfo(QiwiPaymentCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecSMSPayModeCC(); local3.registerCodec(new TypeCodecInfo(SMSPayModeCC,false),local4); local3.registerCodec(new TypeCodecInfo(SMSPayModeCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecCountry(); local3.registerCodec(new TypeCodecInfo(Country,false),local4); local3.registerCodec(new TypeCodecInfo(Country,true),new OptionalCodecDecorator(local4)); local4 = new CodecSMSNumber(); local3.registerCodec(new TypeCodecInfo(SMSNumber,false),local4); local3.registerCodec(new TypeCodecInfo(SMSNumber,true),new OptionalCodecDecorator(local4)); local4 = new CodecSMSOperator(); local3.registerCodec(new TypeCodecInfo(SMSOperator,false),local4); local3.registerCodec(new TypeCodecInfo(SMSOperator,true),new OptionalCodecDecorator(local4)); local4 = new CodecTerminalInstance(); local3.registerCodec(new TypeCodecInfo(TerminalInstance,false),local4); local3.registerCodec(new TypeCodecInfo(TerminalInstance,true),new OptionalCodecDecorator(local4)); local4 = new CodecTerminalPaymentCC(); local3.registerCodec(new TypeCodecInfo(TerminalPaymentCC,false),local4); local3.registerCodec(new TypeCodecInfo(TerminalPaymentCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPaymentButtonCC(); local3.registerCodec(new TypeCodecInfo(PaymentButtonCC,false),local4); local3.registerCodec(new TypeCodecInfo(PaymentButtonCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPaymentRequestUrl(); local3.registerCodec(new TypeCodecInfo(PaymentRequestUrl,false),local4); local3.registerCodec(new TypeCodecInfo(PaymentRequestUrl,true),new OptionalCodecDecorator(local4)); local4 = new CodecPremiumAccountAlertCC(); local3.registerCodec(new TypeCodecInfo(PremiumAccountAlertCC,false),local4); local3.registerCodec(new TypeCodecInfo(PremiumAccountAlertCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPresentsSettingsCC(); local3.registerCodec(new TypeCodecInfo(PresentsSettingsCC,false),local4); local3.registerCodec(new TypeCodecInfo(PresentsSettingsCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecAndroidRenameCC(); local3.registerCodec(new TypeCodecInfo(AndroidRenameCC,false),local4); local3.registerCodec(new TypeCodecInfo(AndroidRenameCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecUserEmailCC(); local3.registerCodec(new TypeCodecInfo(UserEmailCC,false),local4); local3.registerCodec(new TypeCodecInfo(UserEmailCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecUserPropertiesCC(); local3.registerCodec(new TypeCodecInfo(UserPropertiesCC,false),local4); local3.registerCodec(new TypeCodecInfo(UserPropertiesCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecClientStoredSettings(); local3.registerCodec(new TypeCodecInfo(ClientStoredSettings,false),local4); local3.registerCodec(new TypeCodecInfo(ClientStoredSettings,true),new OptionalCodecDecorator(local4)); local4 = new CodecQuestTypeEnum(); local3.registerCodec(new EnumCodecInfo(QuestTypeEnum,false),local4); local3.registerCodec(new EnumCodecInfo(QuestTypeEnum,true),new OptionalCodecDecorator(local4)); local4 = new CodecQuestLevel(); local3.registerCodec(new EnumCodecInfo(QuestLevel,false),local4); local3.registerCodec(new EnumCodecInfo(QuestLevel,true),new OptionalCodecDecorator(local4)); local4 = new CodecDailyQuestInfo(); local3.registerCodec(new TypeCodecInfo(DailyQuestInfo,false),local4); local3.registerCodec(new TypeCodecInfo(DailyQuestInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecDailyQuestShowingCC(); local3.registerCodec(new TypeCodecInfo(DailyQuestShowingCC,false),local4); local3.registerCodec(new TypeCodecInfo(DailyQuestShowingCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecQuestNotifierCC(); local3.registerCodec(new TypeCodecInfo(QuestNotifierCC,false),local4); local3.registerCodec(new TypeCodecInfo(QuestNotifierCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecCommonQuestInfo(); local3.registerCodec(new TypeCodecInfo(CommonQuestInfo,false),local4); local3.registerCodec(new TypeCodecInfo(CommonQuestInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecQuestInfoWithLevel(); local3.registerCodec(new TypeCodecInfo(QuestInfoWithLevel,false),local4); local3.registerCodec(new TypeCodecInfo(QuestInfoWithLevel,true),new OptionalCodecDecorator(local4)); local4 = new CodecQuestPrizeInfo(); local3.registerCodec(new TypeCodecInfo(QuestPrizeInfo,false),local4); local3.registerCodec(new TypeCodecInfo(QuestPrizeInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecWeeklyQuestInfo(); local3.registerCodec(new TypeCodecInfo(WeeklyQuestInfo,false),local4); local3.registerCodec(new TypeCodecInfo(WeeklyQuestInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecWeeklyQuestShowingCC(); local3.registerCodec(new TypeCodecInfo(WeeklyQuestShowingCC,false),local4); local3.registerCodec(new TypeCodecInfo(WeeklyQuestShowingCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecRankUpBonusAlertItem(); local3.registerCodec(new TypeCodecInfo(RankUpBonusAlertItem,false),local4); local3.registerCodec(new TypeCodecInfo(RankUpBonusAlertItem,true),new OptionalCodecDecorator(local4)); local4 = new CodecReferralIncomeData(); local3.registerCodec(new TypeCodecInfo(ReferralIncomeData,false),local4); local3.registerCodec(new TypeCodecInfo(ReferralIncomeData,true),new OptionalCodecDecorator(local4)); local4 = new CodecReferralsModelCC(); local3.registerCodec(new TypeCodecInfo(ReferralsModelCC,false),local4); local3.registerCodec(new TypeCodecInfo(ReferralsModelCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecRulesUpdateShowingCC(); local3.registerCodec(new TypeCodecInfo(RulesUpdateShowingCC,false),local4); local3.registerCodec(new TypeCodecInfo(RulesUpdateShowingCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecAndroidBannerModelCC(); local3.registerCodec(new TypeCodecInfo(AndroidBannerModelCC,false),local4); local3.registerCodec(new TypeCodecInfo(AndroidBannerModelCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecAndroidBannerType(); local3.registerCodec(new EnumCodecInfo(AndroidBannerType,false),local4); local3.registerCodec(new EnumCodecInfo(AndroidBannerType,true),new OptionalCodecDecorator(local4)); local4 = new CodecAndroidSpecialOfferModelCC(); local3.registerCodec(new TypeCodecInfo(AndroidSpecialOfferModelCC,false),local4); local3.registerCodec(new TypeCodecInfo(AndroidSpecialOfferModelCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecMediumTimeOfferCC(); local3.registerCodec(new TypeCodecInfo(MediumTimeOfferCC,false),local4); local3.registerCodec(new TypeCodecInfo(MediumTimeOfferCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBattlePassPackageCC(); local3.registerCodec(new TypeCodecInfo(BattlePassPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(BattlePassPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecChallengeShopItemsCC(); local3.registerCodec(new TypeCodecInfo(ChallengeShopItemsCC,false),local4); local3.registerCodec(new TypeCodecInfo(ChallengeShopItemsCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecCCBundleText(); local3.registerCodec(new TypeCodecInfo(CCBundleText,false),local4); local3.registerCodec(new TypeCodecInfo(CCBundleText,true),new OptionalCodecDecorator(local4)); local4 = new CodecKitBundleViewCC(); local3.registerCodec(new TypeCodecInfo(KitBundleViewCC,false),local4); local3.registerCodec(new TypeCodecInfo(KitBundleViewCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecBundleImage(); local3.registerCodec(new TypeCodecInfo(BundleImage,false),local4); local3.registerCodec(new TypeCodecInfo(BundleImage,true),new OptionalCodecDecorator(local4)); local4 = new CodecCoinPackageCC(); local3.registerCodec(new TypeCodecInfo(CoinPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(CoinPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecCrystalPackageCC(); local3.registerCodec(new TypeCodecInfo(CrystalPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(CrystalPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopItemAdditionalDescriptionCC(); local3.registerCodec(new TypeCodecInfo(ShopItemAdditionalDescriptionCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopItemAdditionalDescriptionCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopDiscountCC(); local3.registerCodec(new TypeCodecInfo(ShopDiscountCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopDiscountCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecEmailRequiredCC(); local3.registerCodec(new TypeCodecInfo(EmailRequiredCC,false),local4); local3.registerCodec(new TypeCodecInfo(EmailRequiredCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecRestrictionByPayModeCC(); local3.registerCodec(new TypeCodecInfo(RestrictionByPayModeCC,false),local4); local3.registerCodec(new TypeCodecInfo(RestrictionByPayModeCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopItemFeaturingCC(); local3.registerCodec(new TypeCodecInfo(ShopItemFeaturingCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopItemFeaturingCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecGoldBoxPackageCC(); local3.registerCodec(new TypeCodecInfo(GoldBoxPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(GoldBoxPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecIndemnityCC(); local3.registerCodec(new TypeCodecInfo(IndemnityCC,false),local4); local3.registerCodec(new TypeCodecInfo(IndemnityCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecKitPackageCC(); local3.registerCodec(new TypeCodecInfo(KitPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(KitPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecKitPackageItemInfo(); local3.registerCodec(new TypeCodecInfo(KitPackageItemInfo,false),local4); local3.registerCodec(new TypeCodecInfo(KitPackageItemInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecKitViewResourceCC(); local3.registerCodec(new TypeCodecInfo(KitViewResourceCC,false),local4); local3.registerCodec(new TypeCodecInfo(KitViewResourceCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecKitViewResourceLocalizedCC(); local3.registerCodec(new TypeCodecInfo(KitViewResourceLocalizedCC,false),local4); local3.registerCodec(new TypeCodecInfo(KitViewResourceLocalizedCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecLootBoxPackageCC(); local3.registerCodec(new TypeCodecInfo(LootBoxPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(LootBoxPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecLootboxAndPaintCC(); local3.registerCodec(new TypeCodecInfo(LootboxAndPaintCC,false),local4); local3.registerCodec(new TypeCodecInfo(LootboxAndPaintCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopItemOneTimePurchaseCC(); local3.registerCodec(new TypeCodecInfo(ShopItemOneTimePurchaseCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopItemOneTimePurchaseCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPaintPackageCC(); local3.registerCodec(new TypeCodecInfo(PaintPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(PaintPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecPremiumPackageCC(); local3.registerCodec(new TypeCodecInfo(PremiumPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(PremiumPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopItemCC(); local3.registerCodec(new TypeCodecInfo(ShopItemCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopItemCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecRenameShopItemCC(); local3.registerCodec(new TypeCodecInfo(RenameShopItemCC,false),local4); local3.registerCodec(new TypeCodecInfo(RenameShopItemCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopCategoryCC(); local3.registerCodec(new TypeCodecInfo(ShopCategoryCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopCategoryCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopItemCategoryCC(); local3.registerCodec(new TypeCodecInfo(ShopItemCategoryCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopItemCategoryCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopKitText(); local3.registerCodec(new TypeCodecInfo(ShopKitText,false),local4); local3.registerCodec(new TypeCodecInfo(ShopKitText,true),new OptionalCodecDecorator(local4)); local4 = new CodecSpecialKitPackageCC(); local3.registerCodec(new TypeCodecInfo(SpecialKitPackageCC,false),local4); local3.registerCodec(new TypeCodecInfo(SpecialKitPackageCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecSingleItemKitViewCC(); local3.registerCodec(new TypeCodecInfo(SingleItemKitViewCC,false),local4); local3.registerCodec(new TypeCodecInfo(SingleItemKitViewCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecShopAbonementsCC(); local3.registerCodec(new TypeCodecInfo(ShopAbonementsCC,false),local4); local3.registerCodec(new TypeCodecInfo(ShopAbonementsCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecSocialNetworkPanelCC(); local3.registerCodec(new TypeCodecInfo(SocialNetworkPanelCC,false),local4); local3.registerCodec(new TypeCodecInfo(SocialNetworkPanelCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecSocialNetworkPanelParams(); local3.registerCodec(new TypeCodecInfo(SocialNetworkPanelParams,false),local4); local3.registerCodec(new TypeCodecInfo(SocialNetworkPanelParams,true),new OptionalCodecDecorator(local4)); local4 = new CodecTutorialHintsCC(); local3.registerCodec(new TypeCodecInfo(TutorialHintsCC,false),local4); local3.registerCodec(new TypeCodecInfo(TutorialHintsCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecTutorialHintsData(); local3.registerCodec(new TypeCodecInfo(TutorialHintsData,false),local4); local3.registerCodec(new TypeCodecInfo(TutorialHintsData,true),new OptionalCodecDecorator(local4)); local4 = new CodecCountryInfo(); local3.registerCodec(new TypeCodecInfo(CountryInfo,false),local4); local3.registerCodec(new TypeCodecInfo(CountryInfo,true),new OptionalCodecDecorator(local4)); local4 = new CodecUserCountryCC(); local3.registerCodec(new TypeCodecInfo(UserCountryCC,false),local4); local3.registerCodec(new TypeCodecInfo(UserCountryCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecVideoAdsModelCC(); local3.registerCodec(new TypeCodecInfo(VideoAdsModelCC,false),local4); local3.registerCodec(new TypeCodecInfo(VideoAdsModelCC,true),new OptionalCodecDecorator(local4)); local4 = new CodecVideoAdsMobileLootBoxCC(); local3.registerCodec(new TypeCodecInfo(VideoAdsMobileLootBoxCC,false),local4); local3.registerCodec(new TypeCodecInfo(VideoAdsMobileLootBoxCC,true),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopAbonementDataLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementData,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementData,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopAbonementDataLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementData,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementData,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserAbonementsCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserAbonementsCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserAbonementsCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserAbonementsCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserAbonementsCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserAbonementsCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattleInviteCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattleInviteCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattleInviteMessageLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteMessage,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteMessage,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattleInviteMessageLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteMessage,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattleInviteMessage,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattlePassPurchaseNotifierCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPurchaseNotifierCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPurchaseNotifierCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattlePassPurchaseNotifierCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPurchaseNotifierCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPurchaseNotifierCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusImageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusImageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusImageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusImageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusImageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusImageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusInfoCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusInfoCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusInfoCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusInfoCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusInfoCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusInfoCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusItemCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusItemCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusItemsShowingCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemsShowingCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemsShowingCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBonusItemsShowingCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemsShowingCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BonusItemsShowingCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecChallengeRewardsCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeRewardsCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeRewardsCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecChallengeRewardsCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeRewardsCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeRewardsCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTierItemLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TierItem,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TierItem,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTierItemLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TierItem,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TierItem,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTierLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Tier,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Tier,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTierLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Tier,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Tier,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecStarsInfoCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(StarsInfoCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(StarsInfoCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecStarsInfoCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(StarsInfoCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(StarsInfoCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCoinInfoCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinInfoCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinInfoCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCoinInfoCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinInfoCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinInfoCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDonationAlertCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationAlertCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationAlertCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDonationAlertCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationAlertCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationAlertCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDonationDataLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationData,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationData,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDonationDataLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationData,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationData,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGoodInfoDataLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoodInfoData,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoodInfoData,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGoodInfoDataLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoodInfoData,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoodInfoData,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDonationProfileCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationProfileCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationProfileCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDonationProfileCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationProfileCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DonationProfileCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGarageItemInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GarageItemInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GarageItemInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGarageItemInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GarageItemInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GarageItemInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAvailableUpgradeItemLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradeItem,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradeItem,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAvailableUpgradeItemLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradeItem,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradeItem,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAvailableUpgradesCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradesCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradesCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAvailableUpgradesCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradesCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AvailableUpgradesCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRankUpSupplyBonusInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpSupplyBonusInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpSupplyBonusInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRankUpSupplyBonusInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpSupplyBonusInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpSupplyBonusInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecResistancesCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ResistancesCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ResistancesCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecResistancesCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ResistancesCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ResistancesCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitOfferInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitOfferInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitOfferInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitOfferInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitOfferInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitOfferInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitOfferActionLevel1(false); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(KitOfferAction,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(KitOfferAction,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitOfferActionLevel1(true); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(KitOfferAction,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(KitOfferAction,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMobileQuestProfileCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestProfileCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestProfileCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMobileQuestProfileCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestProfileCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestProfileCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMobileQuestCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMobileQuestCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMobileQuestRewardLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestReward,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestReward,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMobileQuestRewardLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestReward,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MobileQuestReward,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCrystalsPaymentCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalsPaymentCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalsPaymentCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCrystalsPaymentCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalsPaymentCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalsPaymentCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentPackageLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentPackage,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentPackage,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentPackageLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentPackage,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentPackage,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPayModeCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayModeCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayModeCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPayModeCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayModeCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayModeCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentRequestVariableLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestVariable,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestVariable,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentRequestVariableLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestVariable,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestVariable,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPurchaseDataLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PurchaseData,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PurchaseData,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPurchaseDataLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PurchaseData,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PurchaseData,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBraintreePaymentCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BraintreePaymentCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BraintreePaymentCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBraintreePaymentCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BraintreePaymentCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BraintreePaymentCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBottomDescriptionCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BottomDescriptionCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BottomDescriptionCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBottomDescriptionCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BottomDescriptionCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BottomDescriptionCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGate2ShopPaymentCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Gate2ShopPaymentCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Gate2ShopPaymentCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGate2ShopPaymentCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Gate2ShopPaymentCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Gate2ShopPaymentCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPayGardenPaymentCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayGardenPaymentCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayGardenPaymentCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPayGardenPaymentCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayGardenPaymentCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PayGardenPaymentCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPayGardenProductTypeLevel1(false); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(PayGardenProductType,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(PayGardenProductType,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPayGardenProductTypeLevel1(true); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(PayGardenProductType,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(PayGardenProductType,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPriceRangeCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PriceRangeCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PriceRangeCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPriceRangeCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PriceRangeCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PriceRangeCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCountryPhoneInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryPhoneInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryPhoneInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCountryPhoneInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryPhoneInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryPhoneInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQiwiPaymentCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QiwiPaymentCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QiwiPaymentCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQiwiPaymentCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QiwiPaymentCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QiwiPaymentCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSMSPayModeCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSPayModeCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSPayModeCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSMSPayModeCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSPayModeCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSPayModeCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCountryLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Country,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Country,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCountryLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Country,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(Country,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSMSNumberLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSNumber,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSNumber,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSMSNumberLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSNumber,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSNumber,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSMSOperatorLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSOperator,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSOperator,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSMSOperatorLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSOperator,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SMSOperator,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTerminalInstanceLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalInstance,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalInstance,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTerminalInstanceLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalInstance,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalInstance,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTerminalPaymentCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalPaymentCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalPaymentCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTerminalPaymentCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalPaymentCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TerminalPaymentCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentButtonCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentButtonCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentButtonCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentButtonCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentButtonCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentButtonCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentRequestUrlLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestUrl,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestUrl,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaymentRequestUrlLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestUrl,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaymentRequestUrl,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPremiumAccountAlertCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumAccountAlertCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumAccountAlertCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPremiumAccountAlertCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumAccountAlertCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumAccountAlertCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPresentsSettingsCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PresentsSettingsCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PresentsSettingsCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPresentsSettingsCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PresentsSettingsCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PresentsSettingsCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidRenameCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidRenameCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidRenameCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidRenameCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidRenameCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidRenameCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserEmailCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserEmailCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserEmailCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserEmailCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserEmailCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserEmailCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserPropertiesCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserPropertiesCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserPropertiesCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserPropertiesCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserPropertiesCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserPropertiesCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecClientStoredSettingsLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ClientStoredSettings,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ClientStoredSettings,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecClientStoredSettingsLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ClientStoredSettings,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ClientStoredSettings,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestTypeEnumLevel1(false); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestTypeEnum,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestTypeEnum,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestTypeEnumLevel1(true); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestTypeEnum,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestTypeEnum,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestLevelLevel1(false); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestLevel,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestLevel,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestLevelLevel1(true); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestLevel,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(QuestLevel,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDailyQuestInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDailyQuestInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDailyQuestShowingCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestShowingCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestShowingCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecDailyQuestShowingCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestShowingCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(DailyQuestShowingCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestNotifierCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestNotifierCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestNotifierCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestNotifierCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestNotifierCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestNotifierCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCommonQuestInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CommonQuestInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CommonQuestInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCommonQuestInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CommonQuestInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CommonQuestInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestInfoWithLevelLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestInfoWithLevel,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestInfoWithLevel,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestInfoWithLevelLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestInfoWithLevel,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestInfoWithLevel,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestPrizeInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestPrizeInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestPrizeInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecQuestPrizeInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestPrizeInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(QuestPrizeInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecWeeklyQuestInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecWeeklyQuestInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecWeeklyQuestShowingCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestShowingCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestShowingCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecWeeklyQuestShowingCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestShowingCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(WeeklyQuestShowingCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRankUpBonusAlertItemLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpBonusAlertItem,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpBonusAlertItem,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRankUpBonusAlertItemLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpBonusAlertItem,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RankUpBonusAlertItem,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecReferralIncomeDataLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralIncomeData,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralIncomeData,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecReferralIncomeDataLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralIncomeData,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralIncomeData,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecReferralsModelCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralsModelCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralsModelCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecReferralsModelCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralsModelCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ReferralsModelCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRulesUpdateShowingCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RulesUpdateShowingCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RulesUpdateShowingCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRulesUpdateShowingCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RulesUpdateShowingCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RulesUpdateShowingCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidBannerModelCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidBannerModelCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidBannerModelCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidBannerModelCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidBannerModelCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidBannerModelCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidBannerTypeLevel1(false); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(AndroidBannerType,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(AndroidBannerType,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidBannerTypeLevel1(true); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(AndroidBannerType,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new EnumCodecInfo(AndroidBannerType,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidSpecialOfferModelCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidSpecialOfferModelCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidSpecialOfferModelCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecAndroidSpecialOfferModelCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidSpecialOfferModelCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(AndroidSpecialOfferModelCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMediumTimeOfferCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MediumTimeOfferCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MediumTimeOfferCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecMediumTimeOfferCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MediumTimeOfferCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(MediumTimeOfferCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattlePassPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBattlePassPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BattlePassPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecChallengeShopItemsCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeShopItemsCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeShopItemsCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecChallengeShopItemsCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeShopItemsCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ChallengeShopItemsCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCCBundleTextLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CCBundleText,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CCBundleText,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCCBundleTextLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CCBundleText,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CCBundleText,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitBundleViewCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitBundleViewCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitBundleViewCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitBundleViewCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitBundleViewCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitBundleViewCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBundleImageLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BundleImage,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BundleImage,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecBundleImageLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BundleImage,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(BundleImage,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCoinPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCoinPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CoinPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCrystalPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCrystalPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CrystalPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemAdditionalDescriptionCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemAdditionalDescriptionCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemAdditionalDescriptionCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemAdditionalDescriptionCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemAdditionalDescriptionCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemAdditionalDescriptionCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopDiscountCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopDiscountCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopDiscountCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopDiscountCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopDiscountCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopDiscountCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecEmailRequiredCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(EmailRequiredCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(EmailRequiredCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecEmailRequiredCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(EmailRequiredCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(EmailRequiredCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRestrictionByPayModeCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RestrictionByPayModeCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RestrictionByPayModeCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRestrictionByPayModeCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RestrictionByPayModeCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RestrictionByPayModeCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemFeaturingCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemFeaturingCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemFeaturingCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemFeaturingCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemFeaturingCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemFeaturingCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGoldBoxPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoldBoxPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoldBoxPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecGoldBoxPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoldBoxPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(GoldBoxPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecIndemnityCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(IndemnityCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(IndemnityCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecIndemnityCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(IndemnityCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(IndemnityCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitPackageItemInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageItemInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageItemInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitPackageItemInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageItemInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitPackageItemInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitViewResourceCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitViewResourceCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitViewResourceLocalizedCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceLocalizedCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceLocalizedCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecKitViewResourceLocalizedCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceLocalizedCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(KitViewResourceLocalizedCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecLootBoxPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootBoxPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootBoxPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecLootBoxPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootBoxPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootBoxPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecLootboxAndPaintCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootboxAndPaintCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootboxAndPaintCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecLootboxAndPaintCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootboxAndPaintCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(LootboxAndPaintCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemOneTimePurchaseCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemOneTimePurchaseCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemOneTimePurchaseCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemOneTimePurchaseCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemOneTimePurchaseCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemOneTimePurchaseCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaintPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaintPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaintPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPaintPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaintPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PaintPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPremiumPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecPremiumPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(PremiumPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRenameShopItemCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RenameShopItemCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RenameShopItemCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecRenameShopItemCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RenameShopItemCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(RenameShopItemCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopCategoryCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopCategoryCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopCategoryCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopCategoryCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopCategoryCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopCategoryCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemCategoryCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCategoryCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCategoryCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopItemCategoryCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCategoryCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopItemCategoryCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopKitTextLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopKitText,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopKitText,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopKitTextLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopKitText,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopKitText,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSpecialKitPackageCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SpecialKitPackageCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SpecialKitPackageCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSpecialKitPackageCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SpecialKitPackageCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SpecialKitPackageCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSingleItemKitViewCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SingleItemKitViewCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SingleItemKitViewCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSingleItemKitViewCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SingleItemKitViewCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SingleItemKitViewCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopAbonementsCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementsCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementsCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecShopAbonementsCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementsCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(ShopAbonementsCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSocialNetworkPanelCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSocialNetworkPanelCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSocialNetworkPanelParamsLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelParams,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelParams,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecSocialNetworkPanelParamsLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelParams,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(SocialNetworkPanelParams,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTutorialHintsCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTutorialHintsCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTutorialHintsDataLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsData,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsData,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecTutorialHintsDataLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsData,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(TutorialHintsData,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCountryInfoLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryInfo,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryInfo,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecCountryInfoLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryInfo,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(CountryInfo,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserCountryCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserCountryCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserCountryCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecUserCountryCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserCountryCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(UserCountryCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecVideoAdsModelCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsModelCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsModelCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecVideoAdsModelCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsModelCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsModelCC,true),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecVideoAdsMobileLootBoxCCLevel1(false); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsMobileLootBoxCC,false),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsMobileLootBoxCC,false),true,1),new OptionalCodecDecorator(local4)); local4 = new VectorCodecVideoAdsMobileLootBoxCCLevel1(true); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsMobileLootBoxCC,true),false,1),local4); local3.registerCodec(new CollectionCodecInfo(new TypeCodecInfo(VideoAdsMobileLootBoxCC,true),true,1),new OptionalCodecDecorator(local4)); } public function stop(param1:OSGi) : void { } } }
package projects.tanks.client.battlefield.models.user.turnover { import alternativa.osgi.OSGi; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.types.Long; import platform.client.fp10.core.model.IModel; import platform.client.fp10.core.model.impl.Model; public class TankTurnOverModelBase extends Model { private var _protocol:IProtocol = IProtocol(OSGi.getInstance().getService(IProtocol)); protected var server:TankTurnOverModelServer; private var client:ITankTurnOverModelBase = ITankTurnOverModelBase(this); private var modelId:Long = Long.getLong(979293197,-632476978); public function TankTurnOverModelBase() { super(); this.initCodecs(); } protected function initCodecs() : void { this.server = new TankTurnOverModelServer(IModel(this)); } override public function invoke(param1:Long, param2:ProtocolBuffer) : void { var local3:* = param1; switch(false ? 0 : 0) { } } override public function get id() : Long { return this.modelId; } } }
package alternativa.tanks.models.weapon.gauss.state.targetselection { public class TargetFoundData { private var _lockResult:LockResult; private var _isNewTarget:Boolean; public function TargetFoundData(param1:LockResult, param2:Boolean) { super(); this._lockResult = param1; this._isNewTarget = param2; } public function get lockResult() : LockResult { return this._lockResult; } public function get isNewTarget() : Boolean { return this._isNewTarget; } } }
package _codec.projects.tanks.client.tanksservices.model.notifier.rank { import alternativa.osgi.OSGi; import alternativa.osgi.service.clientlog.IClientLog; import alternativa.protocol.ICodec; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.protocol.info.TypeCodecInfo; import alternativa.types.Long; import projects.tanks.client.tanksservices.model.notifier.rank.RankNotifierData; public class CodecRankNotifierData implements ICodec { public static var log:IClientLog = IClientLog(OSGi.getInstance().getService(IClientLog)); private var codec_rank:ICodec; private var codec_userId:ICodec; public function CodecRankNotifierData() { super(); } public function init(param1:IProtocol) : void { this.codec_rank = param1.getCodec(new TypeCodecInfo(int,false)); this.codec_userId = param1.getCodec(new TypeCodecInfo(Long,false)); } public function decode(param1:ProtocolBuffer) : Object { var local2:RankNotifierData = new RankNotifierData(); local2.rank = this.codec_rank.decode(param1) as int; local2.userId = this.codec_userId.decode(param1) as Long; return local2; } public function encode(param1:ProtocolBuffer, param2:Object) : void { if(param2 == null) { throw new Error("Object is null. Use @ProtocolOptional annotation."); } var local3:RankNotifierData = RankNotifierData(param2); this.codec_rank.encode(param1,local3.rank); this.codec_userId.encode(param1,local3.userId); } } }
package platform.client.fp10.core.resource.types { import alternativa.startup.SoundCacheLoader; import flash.events.ErrorEvent; import flash.events.Event; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.media.Sound; import flash.media.SoundLoaderContext; import flash.net.URLRequest; import platform.client.fp10.core.resource.IResourceLoadingListener; import platform.client.fp10.core.resource.Resource; import platform.client.fp10.core.resource.ResourceFlags; import platform.client.fp10.core.resource.ResourceInfo; import platform.client.fp10.core.resource.ResourceStatus; public class SoundResource extends Resource { private var _sound:Sound; public function SoundResource(param1:ResourceInfo) { super(param1); } public function get sound() : Sound { return this._sound; } override public function toString() : String { return "[SoundResource id=" + id + "]"; } override public function load(param1:String, param2:IResourceLoadingListener) : void { super.load(param1,param2); this.doLoad(); } override protected function doReload() : void { if(isLoading) { clearFlags(ResourceFlags.IS_LOADING); this._sound.close(); } this.doLoad(); } private function doLoad() : void { this._sound = new SoundCacheLoader(); this._sound.addEventListener(Event.OPEN,this.onLoadingOpen); this._sound.addEventListener(Event.COMPLETE,this.onLoadComplete); this._sound.addEventListener(IOErrorEvent.IO_ERROR,this.onLoadError); this._sound.addEventListener(SecurityErrorEvent.SECURITY_ERROR,this.onLoadError); this._sound.addEventListener(ProgressEvent.PROGRESS,this.onLoadProgress); this._sound.load(new URLRequest(baseUrl + this.getFileName()),new SoundLoaderContext()); startTimeoutTracking(); status = ResourceStatus.REQUESTED; } private function onLoadingOpen(param1:Event) : void { setFlags(ResourceFlags.IS_LOADING); updateLastActivityTime(); listener.onResourceLoadingStart(this); } private function onLoadComplete(param1:Event) : void { clearFlags(ResourceFlags.IS_LOADING); this._sound.removeEventListener(Event.OPEN,this.onLoadingOpen); this._sound.removeEventListener(Event.COMPLETE,this.onLoadComplete); this._sound.removeEventListener(IOErrorEvent.IO_ERROR,this.onLoadError); this._sound.removeEventListener(SecurityErrorEvent.SECURITY_ERROR,this.onLoadError); this._sound.removeEventListener(ProgressEvent.PROGRESS,this.onLoadProgress); completeLoading(); } private function onLoadProgress(param1:ProgressEvent) : void { updateLastActivityTime(); } private function onLoadError(param1:ErrorEvent) : void { clearFlags(ResourceFlags.IS_LOADING); this._sound = new SoundEmptyWrapper(); completeLoading(); } private function getFileName() : String { return "sound.swf"; } } }
package alternativa.tanks.models.battle.gui.inventory { import alternativa.math.Vector3; public interface IInventoryItemActivator { function requestActivation(param1:InventoryItem) : void; function doActivate(param1:InventoryItem, param2:Vector3) : void; } }
package alternativa.tanks.gui.shop.components.item { import base.DiscreteSprite; public class GridItemBase extends DiscreteSprite { public function GridItemBase() { super(); } public function destroy() : void { } public function get widthInCells() : int { return 1; } public function get forceNewLine() : Boolean { return false; } } }
package projects.tanks.clients.fp10.Prelauncher.locales.BR { import projects.tanks.clients.fp10.Prelauncher.Locale; import projects.tanks.clients.fp10.Prelauncher.controls.bottompanel.PartnerLogo.PartnerLogo; import projects.tanks.clients.fp10.Prelauncher.locales.Locales; import projects.tanks.clients.fp10.Prelauncher.locales.TextLinkPair; public class LocaleBR extends Locale { public function LocaleBR() { super(); this.name = Locales.BR; this.playText = "JOGUE"; this.exitText = "EXIT"; partners.push(PartnerLogo.FB,"https://www.facebook.com/tankionlineptbr"); partners.push(PartnerLogo.TWITTER,"https://twitter.com/tankionlinebr"); partners.push(PartnerLogo.YOUTUBE,"http://www.youtube.com/TankiOnlinePTBR"); partners.push(PartnerLogo.GP,"https://plus.google.com/u/0/115456110754420916823/posts"); this.game = new TextLinkPair("Jogo","http://tankionline.com/br/"); this.materials = new TextLinkPair("Materiais","http://tankionline.com/br/media/"); this.forum = new TextLinkPair("Fórum","http://br.tankiforum.com/"); this.wiki = new TextLinkPair("Wiki","http://br.tankiwiki.com/"); this.ratings = new TextLinkPair("Classificações","http://ratings.tankionline.com/br/"); this.help = new TextLinkPair("Ajuda","http://help.tankionline.com/pt-br/"); this.license = new TextLinkPair("Contrato de licença","http://tankionline.com/br/eula/"); this.aboutCompany = new TextLinkPair("©2017 Tanki Online Europe Ltd. Todos os direitos reservados.",""); this.techSupport = new TextLinkPair("Contate-nos para tratar de quaisquer dificuldades:",""); this.email = new TextLinkPair("support@tankionline.com","mailto:support@tankionline.com"); this.rules = new TextLinkPair("Regras do jogo","http://tankionline.com/br/rules/"); this.confidentialityPolicy = new TextLinkPair("Política de privacidade e cookies","http://tankionline.com/br/privacy/"); } } }
package alternativa.tanks.models.battle.gui.gui.statistics.messages { import mx.core.BitmapAsset; [ExcludeClass] [Embed(source="/_assets/alternativa.tanks.models.battle.gui.gui.statistics.messages.KillMessageOutputLine_shotgunIconClass.png")] public class KillMessageOutputLine_shotgunIconClass extends BitmapAsset { public function KillMessageOutputLine_shotgunIconClass() { super(); } } }
package alternativa.tanks.model.payment { import alternativa.tanks.model.payment.paymentstate.PaymentWindowService; import alternativa.tanks.service.payment.IPaymentPackagesService; import alternativa.tanks.service.payment.IPaymentService; import platform.client.fp10.core.model.ObjectLoadListener; import projects.tanks.client.panel.model.payment.CrystalsPaymentCC; import projects.tanks.client.panel.model.payment.CrystalsPaymentModelBase; import projects.tanks.client.panel.model.payment.ICrystalsPaymentModelBase; [ModelInfo] public class CrystalsPaymentModel extends CrystalsPaymentModelBase implements ICrystalsPaymentModelBase, ObjectLoadListener { [Inject] public static var paymentService:IPaymentService; [Inject] public static var paymentPackagesService:IPaymentPackagesService; [Inject] public static var paymentWindow:PaymentWindowService; public function CrystalsPaymentModel() { super(); } public function objectLoaded() : void { var local1:CrystalsPaymentCC = getInitParam(); paymentPackagesService.init(local1); paymentService.init(local1); } } }
package projects.tanks.clients.flash.commons.models.captcha { import flash.display.Bitmap; import flash.display.Loader; import flash.events.Event; import flash.events.EventDispatcher; import flash.utils.ByteArray; import projects.tanks.client.commons.models.captcha.CaptchaLocation; public class CaptchaParser { public function CaptchaParser() { super(); } public static function parse(param1:Vector.<int>, param2:Function, param3:CaptchaLocation) : void { var loader:Loader = null; var captcha:Vector.<int> = param1; var onBitmapParsedHandler:Function = param2; var location:CaptchaLocation = param3; var byteArray:ByteArray = new ByteArray(); var i:int = 0; while(i < captcha.length) { byteArray.writeByte(captcha[i]); i++; } loader = new Loader(); loader.contentLoaderInfo.addEventListener(Event.COMPLETE,function(param1:Event):void { onBitmapParsedHandler.apply(null,[loader.content as Bitmap,location]); (param1.target as EventDispatcher).removeEventListener(param1.type,arguments.callee); }); loader.loadBytes(byteArray); } } }
package projects.tanks.client.battlefield.models.tankparts.sfx.lighting.entity { public class LightingSFXEntity { private var _effects:Vector.<LightingEffectEntity>; public function LightingSFXEntity(param1:Vector.<LightingEffectEntity> = null) { super(); this._effects = param1; } public function get effects() : Vector.<LightingEffectEntity> { return this._effects; } public function set effects(param1:Vector.<LightingEffectEntity>) : void { this._effects = param1; } public function toString() : String { var local1:String = "LightingSFXEntity ["; local1 += "effects = " + this.effects + " "; return local1 + "]"; } } }
package alternativa.tanks.servermodels { [ModelInterface] public interface IEntrance { function currentState(param1:ILeavableEntranceState) : void; function decideWhereToGoAfterStandAloneCaptcha(param1:ILeavableEntranceState, param2:Boolean) : void; function antiAddiction() : Boolean; } }
package projects.tanks.client.garage.models.item.availabledevices { import alternativa.osgi.OSGi; import alternativa.protocol.IProtocol; import alternativa.protocol.OptionalMap; import alternativa.protocol.ProtocolBuffer; import alternativa.types.Long; import flash.utils.ByteArray; import platform.client.fp10.core.model.IModel; import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.network.command.SpaceCommand; import platform.client.fp10.core.type.IGameObject; import platform.client.fp10.core.type.ISpace; public class AvailableDevicesModelServer { private var protocol:IProtocol; private var protocolBuffer:ProtocolBuffer; private var _loadAvailableDevicesId:Long = Long.getLong(1817536547,413911486); private var model:IModel; public function AvailableDevicesModelServer(param1:IModel) { super(); this.model = param1; var local2:ByteArray = new ByteArray(); this.protocol = IProtocol(OSGi.getInstance().getService(IProtocol)); this.protocolBuffer = new ProtocolBuffer(local2,local2,new OptionalMap()); } public function loadAvailableDevices() : void { ByteArray(this.protocolBuffer.writer).position = 0; ByteArray(this.protocolBuffer.writer).length = 0; ByteArray(this.protocolBuffer.writer).position = 0; if(Model.object == null) { throw new Error("Execute method without model context."); } var local1:SpaceCommand = new SpaceCommand(Model.object.id,this._loadAvailableDevicesId,this.protocolBuffer); var local2:IGameObject = Model.object; var local3:ISpace = local2.space; local3.commandSender.sendCommand(local1); this.protocolBuffer.optionalMap.clear(); } } }
package projects.tanks.client.chat.models.chat.chat { public class ChatAddressMode { public static const PUBLIC_TO_ALL:ChatAddressMode = new ChatAddressMode(0,"PUBLIC_TO_ALL"); public static const PUBLIC_ADDRESSED:ChatAddressMode = new ChatAddressMode(1,"PUBLIC_ADDRESSED"); public static const PRIVATE:ChatAddressMode = new ChatAddressMode(2,"PRIVATE"); private var _value:int; private var _name:String; public function ChatAddressMode(param1:int, param2:String) { super(); this._value = param1; this._name = param2; } public static function get values() : Vector.<ChatAddressMode> { var local1:Vector.<ChatAddressMode> = new Vector.<ChatAddressMode>(); local1.push(PUBLIC_TO_ALL); local1.push(PUBLIC_ADDRESSED); local1.push(PRIVATE); return local1; } public function toString() : String { return "ChatAddressMode [" + this._name + "]"; } public function get value() : int { return this._value; } public function get name() : String { return this._name; } } }
package com.alternativaplatform.projects.tanks.client.garage.item { public class ModificationInfo { public var previewId:String; public var itemProperties:Array; public var crystalPrice:int; public var rankId:int; public function ModificationInfo() { super(); } } }
package platform.client.fp10.core.service.errormessage.errors { public class UnclassifyedError implements ErrorType { private var message:String; public function UnclassifyedError(param1:String) { super(); this.message = param1; } public function getMessage() : String { return this.message; } } }
package alternativa.engine3d.core { import alternativa.engine3d.alternativa3d; import flash.display.DisplayObject; import flash.display.Graphics; import flash.display.Sprite; import flash.geom.ColorTransform; use namespace alternativa3d; public class Canvas extends Sprite { alternativa3d static const defaultColorTransform:ColorTransform = new ColorTransform(); alternativa3d static const collector:Vector.<Canvas> = new Vector.<Canvas>(); alternativa3d static var collectorLength:int = 0; alternativa3d var gfx:Graphics = graphics; alternativa3d var modifiedGraphics:Boolean; alternativa3d var modifiedAlpha:Boolean; alternativa3d var modifiedBlendMode:Boolean; alternativa3d var modifiedColorTransform:Boolean; alternativa3d var modifiedFilters:Boolean; alternativa3d var _numChildren:int = 0; alternativa3d var numDraws:int = 0; alternativa3d var object:Object3D; public function Canvas() { super(); mouseEnabled = false; mouseChildren = false; } alternativa3d function getChildCanvas(param1:Boolean, param2:Boolean, param3:Object3D = null, param4:Number = 1, param5:String = "normal", param6:ColorTransform = null, param7:Array = null) : Canvas { var local8:Canvas = null; var local9:DisplayObject = null; // FFDec bug - original code checks [_numChildren > _numDraws] before calling [getChildAt] while(this.alternativa3d::_numChildren > this.alternativa3d::numDraws) { local9 = getChildAt(this.alternativa3d::_numChildren - 1 - this.alternativa3d::numDraws); if(local9 is Canvas) break; removeChild(local9); --this.alternativa3d::_numChildren; } if(this.alternativa3d::_numChildren > this.alternativa3d::numDraws++) { local8 = local9 as Canvas; if(local8.alternativa3d::modifiedGraphics) { local8.alternativa3d::gfx.clear(); } if(local8.alternativa3d::_numChildren > 0 && !param2) { local8.alternativa3d::remChildren(0); } } else { local8 = alternativa3d::collectorLength > 0 ? alternativa3d::collector[--alternativa3d::collectorLength] : new Canvas(); addChildAt(local8,0); ++this.alternativa3d::_numChildren; } local8.alternativa3d::object = param3; local8.alternativa3d::modifiedGraphics = param1; if(param4 != 1) { local8.alpha = param4; local8.alternativa3d::modifiedAlpha = true; } else if(local8.alternativa3d::modifiedAlpha) { local8.alpha = 1; local8.alternativa3d::modifiedAlpha = false; } if(param5 != "normal") { local8.blendMode = param5; local8.alternativa3d::modifiedBlendMode = true; } else if(local8.alternativa3d::modifiedBlendMode) { local8.blendMode = "normal"; local8.alternativa3d::modifiedBlendMode = false; } if(param6 != null) { param6.alphaMultiplier = param4; local8.transform.colorTransform = param6; local8.alternativa3d::modifiedColorTransform = true; } else if(local8.alternativa3d::modifiedColorTransform) { alternativa3d::defaultColorTransform.alphaMultiplier = param4; local8.transform.colorTransform = alternativa3d::defaultColorTransform; local8.alternativa3d::modifiedColorTransform = false; } if(param7 != null) { local8.filters = param7; local8.alternativa3d::modifiedFilters = true; } else if(local8.alternativa3d::modifiedFilters) { local8.filters = null; local8.alternativa3d::modifiedFilters = false; } return local8; } alternativa3d function remChildren(param1:int) : void { var local2:Canvas = null; while(this.alternativa3d::_numChildren > param1) { local2 = removeChildAt(0) as Canvas; if(local2 != null) { local2.alternativa3d::object = null; if(local2.alternativa3d::modifiedGraphics) { local2.alternativa3d::gfx.clear(); } if(local2.alternativa3d::_numChildren > 0) { local2.alternativa3d::remChildren(0); } var local3:* = alternativa3d::collectorLength++; alternativa3d::collector[local3] = local2; } --this.alternativa3d::_numChildren; } } } }
package alternativa.tanks.models.battle.battlefield { import alternativa.osgi.service.display.IDisplay; import alternativa.tanks.battle.BattleService; import alternativa.tanks.camera.FollowCameraController; import alternativa.tanks.camera.FreeCameraController; import alternativa.tanks.services.battleinput.BattleInputService; import flash.events.KeyboardEvent; import platform.client.fp10.core.type.AutoClosable; public class FreeCameraSupport implements AutoClosable { [Inject] public static var display:IDisplay; [Inject] public static var battleInputService:BattleInputService; [Inject] public static var battleService:BattleService; private var followCameraController:FollowCameraController; private var freeCameraController:FreeCameraController; public function FreeCameraSupport(param1:FollowCameraController) { super(); } private function onKeyDown(param1:KeyboardEvent) : void { } private function toggleFreeCamera() : void { } [Obfuscation(rename="false")] public function close() : void { } } }
package alternativa.tanks.model.item.skins { import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.type.IGameObject; public class AvailableShotSkinsAdapt implements AvailableShotSkins { private var object:IGameObject; private var impl:AvailableShotSkins; public function AvailableShotSkinsAdapt(param1:IGameObject, param2:AvailableShotSkins) { super(); this.object = param1; this.impl = param2; } public function getSkins() : Vector.<IGameObject> { var result:Vector.<IGameObject> = null; try { Model.object = this.object; result = this.impl.getSkins(); } finally { Model.popObject(); } return result; } } }
package assets.combo { import flash.display.BitmapData; [Embed(source="/_assets/assets.combo.combolist_OVER_RIGHT.png")] public dynamic class combolist_OVER_RIGHT extends BitmapData { public function combolist_OVER_RIGHT(param1:int = 5, param2:int = 20) { super(param1,param2); } } }
package { import assets.scroller.ScrollThumbSkin; [Embed(source="/_assets/assets.swf", symbol="symbol815")] public dynamic class ScrollThumb_overSkin extends ScrollThumbSkin { public function ScrollThumb_overSkin() { super(); } } }
package projects.tanks.client.panel.model.shop.specialkit.view.singleitem { public interface ISingleItemKitViewModelBase { } }
package alternativa.tanks.models.weapon.rocketlauncher.sfx { import alternativa.tanks.models.sfx.lighting.LightingSfx; import platform.client.fp10.core.model.ObjectLoadListener; import projects.tanks.client.battlefield.models.tankparts.weapons.rocketlauncher.sfx.IRocketLauncherSfxModelBase; import projects.tanks.client.battlefield.models.tankparts.weapons.rocketlauncher.sfx.RocketLauncherSfxModelBase; [ModelInfo] public class RocketLauncherSfxModel extends RocketLauncherSfxModelBase implements IRocketLauncherSfxModelBase, RocketLauncherSfx, ObjectLoadListener { public function RocketLauncherSfxModel() { super(); } public function objectLoaded() : void { var local1:RocketLauncherSfxData = new RocketLauncherSfxData(getInitParam(),new LightingSfx(getInitParam().lightingSFXEntity)); putData(RocketLauncherSfxData,local1); } public function getSfxData() : RocketLauncherSfxData { return RocketLauncherSfxData(getData(RocketLauncherSfxData)); } } }
package controls.numeric { import controls.base.TankInputBase; import flash.display.Sprite; import flash.events.Event; import flash.events.FocusEvent; import flash.events.KeyboardEvent; import flash.events.MouseEvent; import flash.text.TextFieldType; import flash.text.TextFormatAlign; import flash.ui.Keyboard; import mx.utils.StringUtil; import projects.tanks.clients.fp10.libraries.tanksservices.service.helper.BubbleHelper; import projects.tanks.clients.fp10.libraries.tanksservices.service.helper.HelperAlign; public class NumericEditor extends Sprite { protected static const WIDTH_PER_CHAR:int = 9; public var tf:TankInputBase = new TankInputBase(); protected var _value:Number = 0; private var _step:Number = 1; private var precision:int = 0; private var _enabled:Boolean; private var minValue:Number = 0; private var maxValue:Number = 10; private var isRecentFocus:Boolean; private var thousandsSeparator:Boolean = true; private var bubble:BubbleHelper = new BubbleHelper(); private var lessMinimumMessage:String = null; private var greaterMaximumMessage:String = null; public function NumericEditor(param1:Boolean = false) { super(); this.tf.restrict = "0-9"; this.tf.maxChars = 5; addChild(this.tf); this.setWidth(55); if(!param1) { this.tf.textField.addEventListener(FocusEvent.FOCUS_OUT,this.onFocusOut,false,0,true); this.tf.textField.addEventListener(MouseEvent.CLICK,this.onClick,false,0,true); this.tf.textField.addEventListener(MouseEvent.DOUBLE_CLICK,this.onDoubleClick,false,0,true); this.tf.textField.addEventListener(Event.CHANGE,this.onTextChange,false,0,true); this.tf.textField.addEventListener(KeyboardEvent.KEY_DOWN,this.onKeyDown,false,0,true); this.tf.textField.addEventListener(FocusEvent.FOCUS_IN,this.onFocus,false,0,true); } else { this.tf.textField.type = TextFieldType.DYNAMIC; this.tf.textField.selectable = false; this.tf.textField.mouseEnabled = false; this.tf.textField.mouseWheelEnabled = false; } this.tf.align = TextFormatAlign.RIGHT; this.enabled = true; this.setValue(this._value); this.draw(); } public function setLessMinimumMessage(param1:String) : void { this.lessMinimumMessage = param1; } public function setGreaterMaximumMessage(param1:String) : void { this.greaterMaximumMessage = param1; } protected function onKeyDown(param1:KeyboardEvent) : void { if(param1.keyCode == Keyboard.ENTER) { stage.focus = null; } } private function onClick(param1:MouseEvent) : void { if(this.isRecentFocus) { this.isRecentFocus = false; this.selectAll(); } } private function onDoubleClick(param1:MouseEvent) : void { this.selectAll(); } private function onFocusOut(param1:Event) : void { this.thousandsSeparator = true; this.setValue(this._value,true); this.draw(); } private function onFocus(param1:Event) : void { if(this.tf.value == "—") { this.tf.clear(); } this.thousandsSeparator = false; this.draw(); this.isRecentFocus = true; } private function onTextChange(param1:Event) : void { var local2:Number = NaN; if(stage == null) { return; } if(stage.focus == this.tf.textField) { local2 = Number(this.tf.value); if(!isNaN(local2)) { this._value = local2; this.checkValid(); } else { this.tf.validValue = false; } } else { this.correctValue(); this.draw(); } if(this._enabled) { dispatchEvent(new NumericEditorEvent(NumericEditorEvent.CHANGE,this.tf.validValue,true)); } } private function checkValid() : void { if(this._value < this.minValue) { if(this.isFocused() && this.lessMinimumMessage != null) { this.showBubble(StringUtil.substitute(this.lessMinimumMessage,this.valueToString(this.minValue))); } this.tf.validValue = false; } else if(this._value > this.maxValue) { if(this.isFocused() && this.greaterMaximumMessage != null) { this.showBubble(StringUtil.substitute(this.greaterMaximumMessage,this.valueToString(this.maxValue))); } this.tf.validValue = false; } else { this.tf.validValue = true; this.hideBubble(); } } private function showBubble(param1:String) : void { this.bubble.text = param1; this.bubble.arrowLehgth = height / 2; this.bubble.arrowAlign = HelperAlign.TOP_LEFT; this.bubble.x = x + this.tf.textField.x + this.tf.textField.width - 24; this.bubble.y = y + height + this.bubble.arrowLehgth - 2; if(this.bubble.parent == null) { this.parent.addChild(this.bubble); } this.bubble.draw(this.bubble.size); } private function hideBubble() : void { if(this.bubble.parent != null) { this.bubble.parent.removeChild(this.bubble); } } private function correctValue() : void { this.setValue(Math.max(this.minValue,Math.min(this._value,this.maxValue))); } private function draw() : void { this.tf.value = this.valueToString(this._value); this.checkValid(); } private function valueToString(param1:Number) : String { var local2:String = null; var local3:String = null; if(param1 > 0) { local2 = param1.toFixed(this.precision); if(this.thousandsSeparator) { local3 = ""; if(this.precision > 0) { local3 = local2.substr(local2.length - this.precision - 1); local2 = local2.substr(0,local2.length - this.precision - 1); } while(local2.length > 3) { local3 = " " + local2.substr(local2.length - 3,3) + local3; local2 = local2.substr(0,local2.length - 3); } return local2 + local3; } return local2; } return "-"; } public function set enabled(param1:Boolean) : void { this._enabled = param1; if(this._enabled) { this.tf.textField.selectable = true; this.tf.textField.type = TextFieldType.INPUT; } else { this.tf.textField.selectable = false; this.tf.textField.type = TextFieldType.DYNAMIC; } } public function get intValue() : int { return int(this._value + 0.000001); } public function setValue(param1:Number, param2:Boolean = false) : void { if(this.minValue > param1) { param1 = this.minValue; } if(this.maxValue < param1) { param1 = this.maxValue; } if(this._value != param1) { this._value = param1; this.draw(); if(this._enabled) { dispatchEvent(new NumericEditorEvent(NumericEditorEvent.CHANGE,true,param2)); } } } public function setMaxChars(param1:int) : void { this.tf.maxChars = param1; if(this.tf.width < param1 * WIDTH_PER_CHAR + 3) { this.setWidth(param1 * WIDTH_PER_CHAR + 3); } } public function getValue() : Number { return this._value; } public function setPrecision(param1:int) : void { this.precision = param1; if(this.precision == 0) { this.tf.restrict = "0-9"; } else { this.tf.restrict = "0-9."; } this.draw(); } public function get step() : Number { return this._step; } public function setStep(param1:Number) : void { this._step = param1; } public function setMinValue(param1:Number) : void { this.minValue = param1; this.setValue(this._value); this.checkValid(); } public function setWidth(param1:int) : void { this.tf.width = param1; this.tf.textField.width = param1 - 10; } public function isFocused() : Boolean { return stage != null && stage.focus == this.tf.textField; } public function setMaxValue(param1:Number) : void { this.setMaxChars(Math.max(this.tf.textField.maxChars,this.valueToString(param1).length)); this.maxValue = param1; this.setValue(this._value); this.checkValid(); } public function selectAllIfFocused() : void { if(this.isFocused()) { this.selectAll(); } } public function selectAll() : void { this.tf.textField.setSelection(0,this.tf.value.length); } override public function addEventListener(param1:String, param2:Function, param3:Boolean = false, param4:int = 0, param5:Boolean = true) : void { super.addEventListener(param1,param2,param3,param4,param5); } } }
package projects.tanks.client.garage.models.item.object3ds { import alternativa.types.Long; public class Object3DSCC { private var _resourceId:Long; public function Object3DSCC(param1:Long = null) { super(); this._resourceId = param1; } public function get resourceId() : Long { return this._resourceId; } public function set resourceId(param1:Long) : void { this._resourceId = param1; } public function toString() : String { var local1:String = "Object3DSCC ["; local1 += "resourceId = " + this.resourceId + " "; return local1 + "]"; } } }
package projects.tanks.client.partners.impl.armorgames { import alternativa.osgi.OSGi; import alternativa.protocol.IProtocol; import alternativa.protocol.ProtocolBuffer; import alternativa.types.Long; import platform.client.fp10.core.model.IModel; import platform.client.fp10.core.model.impl.Model; public class ArmorGamesLoginModelBase extends Model { private var _protocol:IProtocol = IProtocol(OSGi.getInstance().getService(IProtocol)); protected var server:ArmorGamesLoginModelServer; private var client:IArmorGamesLoginModelBase = IArmorGamesLoginModelBase(this); private var modelId:Long = Long.getLong(646093752,676236431); public function ArmorGamesLoginModelBase() { super(); this.initCodecs(); } protected function initCodecs() : void { this.server = new ArmorGamesLoginModelServer(IModel(this)); } override public function invoke(param1:Long, param2:ProtocolBuffer) : void { var local3:* = param1; switch(false ? 0 : 0) { } } override public function get id() : Long { return this.modelId; } } }
package alternativa.tanks.model.item.upgradable.calculators { public class BasePropertyCalculator implements PropertyCalculator, PropertyValueCalculator { private var precision:int; private var factor:Number; private var calculator:PropertyValueCalculator; public function BasePropertyCalculator(param1:int, param2:PropertyValueCalculator) { super(); this.calculator = param2; this.precision = param1; this.factor = this.factor = Math.pow(10,-param1); } public function getValue(param1:int) : String { var local2:Number = this.getRoundValue(param1); return this.valueToString(local2); } public function getNumberValue(param1:int) : Number { return this.calculate(param1); } public function getDelta(param1:int) : String { var local3:String = null; var local2:Number = this.round(this.getRoundValue(param1 + 1) - this.getRoundValue(param1)); if(this.calculate(1) - this.calculate(0) < 0) { local3 = "−"; local2 = -local2; } else { local3 = "+"; } return local3 + this.valueToString(local2); } private function valueToString(param1:Number) : String { return param1.toFixed(this.precision); } private function getRoundValue(param1:int) : Number { return this.round(this.calculate(param1)); } private function calculate(param1:int) : Number { return this.calculator.getNumberValue(param1); } private function round(param1:Number) : Number { return Math.round(param1 / this.factor) * this.factor; } public function getPrecision() : int { return this.precision; } } }
package alternativa.tanks.display.usertitle { import mx.core.BitmapAsset; [ExcludeClass] public class ProgressBarSkin_hpRightBgRedCls extends BitmapAsset { public function ProgressBarSkin_hpRightBgRedCls() { super(); } } }
package alternativa.tanks.models.controlpoints.sound { import alternativa.tanks.models.tank.LocalTankParams; import alternativa.tanks.sound.ISoundManager; import flash.media.Sound; import platform.client.fp10.core.resource.types.SoundResource; import projects.tanks.client.battlefield.models.battle.cp.resources.DominationSounds; import projects.tanks.client.battleservice.model.battle.team.BattleTeam; public class Sounds { private var soundManager:ISoundManager; private var sounds:DominationSounds; public function Sounds(param1:ISoundManager, param2:DominationSounds) { super(); this.soundManager = param1; this.sounds = param2; } private static function getSound(param1:SoundResource) : Sound { if(param1 == null) { return null; } return param1.sound; } public function playCaptureStartSound(param1:BattleTeam) : void { var local2:Sound = null; if(param1 == LocalTankParams.teamType) { local2 = getSound(this.sounds.pointCaptureStartPositiveSound); } else { local2 = getSound(this.sounds.pointCaptureStartNegativeSound); } this.soundManager.playSound(local2); } public function playCaptureStopSound(param1:BattleTeam) : void { var local2:Sound = null; if(param1 == LocalTankParams.teamType) { local2 = getSound(this.sounds.pointCaptureStopNegativeSound); } else { local2 = getSound(this.sounds.pointCaptureStopPositiveSound); } this.soundManager.playSound(local2); } public function playCapturingSound(param1:BattleTeam) : void { var local2:Sound = null; if(param1 == LocalTankParams.teamType) { local2 = getSound(this.sounds.pointCapturedPositiveSound); } else { local2 = getSound(this.sounds.pointCapturedNegativeSound); } this.soundManager.playSound(local2); } public function playNeutralizedSound(param1:BattleTeam) : void { var local2:Sound = null; if(param1 == LocalTankParams.teamType) { local2 = getSound(this.sounds.pointNeutralizedNegativeSound); } else { local2 = getSound(this.sounds.pointNeutralizedPositiveSound); } this.soundManager.playSound(local2); } } }
package alternativa.osgi.catalogs { public class ServiceParam { private var _name:String; private var _value:*; public function ServiceParam(param1:String, param2:*) { super(); this._name = param1; this._value = param2; } public function get name() : String { return this._name; } public function get value() : * { return this._value; } } }
package projects.tanks.client.battlefield.models.tankparts.weapons.artillery { public class ArtilleryCC { private var _chargingTime:Number; private var _initialTurretAngle:Number; private var _maxShellSpeed:Number; private var _minShellSpeed:Number; private var _shellGravityCoef:Number; private var _shellRadius:Number; private var _speedsCount:int; public function ArtilleryCC(param1:Number = 0, param2:Number = 0, param3:Number = 0, param4:Number = 0, param5:Number = 0, param6:Number = 0, param7:int = 0) { super(); this._chargingTime = param1; this._initialTurretAngle = param2; this._maxShellSpeed = param3; this._minShellSpeed = param4; this._shellGravityCoef = param5; this._shellRadius = param6; this._speedsCount = param7; } public function get chargingTime() : Number { return this._chargingTime; } public function set chargingTime(param1:Number) : void { this._chargingTime = param1; } public function get initialTurretAngle() : Number { return this._initialTurretAngle; } public function set initialTurretAngle(param1:Number) : void { this._initialTurretAngle = param1; } public function get maxShellSpeed() : Number { return this._maxShellSpeed; } public function set maxShellSpeed(param1:Number) : void { this._maxShellSpeed = param1; } public function get minShellSpeed() : Number { return this._minShellSpeed; } public function set minShellSpeed(param1:Number) : void { this._minShellSpeed = param1; } public function get shellGravityCoef() : Number { return this._shellGravityCoef; } public function set shellGravityCoef(param1:Number) : void { this._shellGravityCoef = param1; } public function get shellRadius() : Number { return this._shellRadius; } public function set shellRadius(param1:Number) : void { this._shellRadius = param1; } public function get speedsCount() : int { return this._speedsCount; } public function set speedsCount(param1:int) : void { this._speedsCount = param1; } public function toString() : String { var local1:String = "ArtilleryCC ["; local1 += "chargingTime = " + this.chargingTime + " "; local1 += "initialTurretAngle = " + this.initialTurretAngle + " "; local1 += "maxShellSpeed = " + this.maxShellSpeed + " "; local1 += "minShellSpeed = " + this.minShellSpeed + " "; local1 += "shellGravityCoef = " + this.shellGravityCoef + " "; local1 += "shellRadius = " + this.shellRadius + " "; local1 += "speedsCount = " + this.speedsCount + " "; return local1 + "]"; } } }
package alternativa.tanks.models.tank.spawn.spawnhandlers.ready2spawn { import alternativa.tanks.battle.events.BattleEventDispatcher; import alternativa.tanks.battle.events.BattleEventSupport; import alternativa.tanks.battle.events.PauseActivationEvent; import alternativa.tanks.battle.events.PauseDeactivationEvent; import alternativa.tanks.battle.events.TankAddedToBattleEvent; import alternativa.tanks.models.tank.ITankModel; import alternativa.tanks.models.tank.bosstate.IBossState; import platform.client.fp10.core.model.impl.Model; import platform.client.fp10.core.type.AutoClosable; import platform.client.fp10.core.type.IGameObject; import projects.tanks.client.battlefield.models.user.bossstate.BossRelationRole; import projects.tanks.client.battlefield.models.user.spawn.TankSpawnerModelServer; public class LocalReadyToSpawnHandler implements ReadyToSpawnHandler, AutoClosable { [Inject] public static var battleEventDispatcher:BattleEventDispatcher; private var localUser:IGameObject; private var server:TankSpawnerModelServer; private var battleEventSupport:BattleEventSupport; private var isPauseActive:Boolean; private var isSpawnCommandScheduled:Boolean; public function LocalReadyToSpawnHandler(param1:IGameObject, param2:TankSpawnerModelServer) { super(); this.localUser = param1; this.server = param2; this.battleEventSupport = new BattleEventSupport(battleEventDispatcher); this.battleEventSupport.addEventHandler(PauseActivationEvent,this.onPauseActivated); this.battleEventSupport.addEventHandler(PauseDeactivationEvent,this.onPauseDeactivated); this.battleEventSupport.addEventHandler(TankAddedToBattleEvent,this.onTankAddedToBattle); this.battleEventSupport.activateHandlers(); } private function onPauseActivated(param1:Object) : void { this.isPauseActive = true; } private function onPauseDeactivated(param1:Object) : void { this.isPauseActive = false; if(this.isSpawnCommandScheduled) { this.sendReadyToSpawnCommand(); } } private function onTankAddedToBattle(param1:TankAddedToBattleEvent) : void { if(param1.tank.getUser() == this.localUser) { this.isSpawnCommandScheduled = false; } } public function handleReadyToSpawn() : void { var local1:ITankModel = ITankModel(this.localUser.adapt(ITankModel)); local1.removeTankFromBattle(); var local2:BossRelationRole = IBossState(this.localUser.adapt(IBossState)).role(); if(this.isPauseActive && local2 == BossRelationRole.VICTIM) { this.isSpawnCommandScheduled = true; } else { this.sendReadyToSpawnCommand(); } } private function sendReadyToSpawnCommand() : void { this.isSpawnCommandScheduled = false; Model.object = this.localUser; this.server.readyToSpawnCommand(); Model.popObject(); } [Obfuscation(rename="false")] public function close() : void { this.localUser = null; this.server = null; this.battleEventSupport.deactivateHandlers(); this.battleEventSupport = null; } } }
package alternativa.tanks.model.payment.shop.emailrequired { [ModelInterface] public interface ShopItemEmailRequired { function isEmailRequired() : Boolean; } }
package alternativa.tanks.models.weapon.terminator { import alternativa.math.Vector3; import alternativa.tanks.battle.BattleUtils; import alternativa.tanks.battle.objects.tank.Tank; import alternativa.tanks.battle.objects.tank.WeaponPlatform; import alternativa.tanks.models.weapon.AllGlobalGunParams; import alternativa.tanks.models.weapon.railgun.RailgunData; import alternativa.tanks.models.weapon.railgun.RailgunShotResult; import alternativa.tanks.models.weapon.railgun.RailgunUtils; import alternativa.tanks.models.weapon.rocketlauncher.Rocket; import alternativa.tanks.models.weapon.rocketlauncher.sfx.RocketLauncherEffects; import alternativa.tanks.models.weapon.rocketlauncher.weapon.RocketLauncherWeaponState; import alternativa.tanks.models.weapon.rocketlauncher.weapon.salvo.RocketLauncherPriorityCalculator; import alternativa.tanks.models.weapon.rocketlauncher.weapon.salvo.RocketTargetPoint; import alternativa.tanks.models.weapon.terminator.state.PrimaryShotState; import alternativa.tanks.models.weapon.terminator.state.SecondaryShotState; import alternativa.tanks.models.weapons.common.CommonLocalWeapon; import alternativa.tanks.models.weapons.shell.ShellWeaponCommunication; import alternativa.tanks.models.weapons.targeting.PenetratingTargetingSystem; import alternativa.tanks.models.weapons.targeting.TargetingSystem; import alternativa.tanks.models.weapons.targeting.direction.sector.SectorDirectionCalculator; import alternativa.tanks.models.weapons.targeting.priority.TargetingPriorityCalculator; import alternativa.tanks.models.weapons.targeting.processor.SingleTargetDirectionProcessor; import flash.utils.getTimer; import projects.tanks.client.battlefield.models.tankparts.weapon.railgun.RailgunCC; import projects.tanks.client.battlefield.models.tankparts.weapons.rocketlauncher.RocketLauncherCC; import projects.tanks.client.garage.models.item.properties.ItemProperty; public class TerminatorWeapon extends CommonLocalWeapon implements ITerminatorWeapon { private static var shotId:int; private static var PRIMARY_BARRELS:* = 2; private static var SECONDARY_BARRELS:* = 6; private static const secondaryShotDirection:Vector3 = new Vector3(); private var commonWeapon:TerminatorCommonWeapon; private var needReleaseTrigger:Boolean; private var openingTrigger:Boolean; private var primaryNextShotTime:int; private var primaryNextChargeTime:int; private var primaryCurrentBarrel:int; private var secondaryNextShotTime:int; private var secondaryCurrentBarrel:int; private var secondaryTarget:RocketTargetPoint; private var primaryTargetingSystem:TargetingSystem; private var secondaryTargetingSystem:TargetingSystem; private var primaryShotState:RocketLauncherWeaponState; private var secondaryShotState:RocketLauncherWeaponState; private var currentState:RocketLauncherWeaponState; private var stunnedStatus:Number; private var stunned:Boolean; public function TerminatorWeapon(param1:RailgunData, param2:TerminatorCommonWeapon) { super(true); this.commonWeapon = param2; this.primaryTargetingSystem = new PenetratingTargetingSystem(param2.user,param2.weaponObject,param1.getWeakeningCoeff()); this.secondaryTarget = new RocketTargetPoint(); var local3:* = this.getSecondaryParams().shotRange; var local4:TargetingPriorityCalculator = new TargetingPriorityCalculator(new RocketLauncherPriorityCalculator(param2.weaponObject,this.secondaryTarget,local3)); this.secondaryTargetingSystem = new TargetingSystem(new SectorDirectionCalculator(param2.user,param2.weaponObject,local3,local4),new SingleTargetDirectionProcessor(param2.user,local3),local4); this.secondaryTargetingSystem.getProcessor().setShotFromMuzzle(); this.secondaryTargetingSystem = this.secondaryTargetingSystem; this.reset(); } override public function init(param1:WeaponPlatform) : void { super.init(param1); this.commonWeapon.init(param1,gunParams); this.primaryShotState = new PrimaryShotState(this,this.commonWeapon.weaponObject.getReloadTimeMS(),this.getPrimaryParams().chargingTimeMsec); this.secondaryShotState = new SecondaryShotState(this,getWeaponPlatform(),this.commonWeapon.weaponObject.rocketLauncherObject,this.getSecondaryParams()); this.switchToPrimary(); } private function switchToPrimary() : void { this.currentState = this.primaryShotState; } private function switchToSecondary() : void { this.currentState = this.secondaryShotState; } private function getPrimaryParams() : RailgunCC { return this.commonWeapon.initParam.primaryCC; } private function getSecondaryParams() : RocketLauncherCC { return this.commonWeapon.initParam.secondaryCC; } override public function getStatus() : Number { if(this.stunned) { return this.stunnedStatus; } return this.currentState.getStatus(); } override public function runLogic(param1:int, param2:int) : void { if(this.needReleaseTrigger) { this.needReleaseTrigger = false; super.releaseTrigger(); } this.currentState.update(param1); } public function switchToSecondaryState(param1:int) : void { this.switchToSecondary(); this.currentState.start(param1); } public function secondaryOpen(param1:int) : void { if(!this.openingTrigger) { this.openingTrigger = true; this.commonWeapon.effects.createOpenEffect(); this.commonWeapon.weaponObject.secondaryOpen(param1); } } public function secondaryHide(param1:int) : void { if(this.openingTrigger) { this.commonWeapon.effects.createHideEffect(); this.commonWeapon.weaponObject.secondaryHide(param1); this.openingTrigger = false; } } override public function releaseTrigger() : void { this.needReleaseTrigger = true; } private function updateNextPrimaryShootTime(param1:int) : void { this.primaryNextChargeTime = param1 + this.getPrimaryParams().chargingTimeMsec; this.primaryNextShotTime = this.primaryNextChargeTime + this.commonWeapon.weaponObject.getReloadTimeMS(); } private function updateNextSecondaryShotTime(param1:int) : void { this.secondaryNextShotTime = param1 + this.getSecondaryParams().salvoReloadTime; } public function startCharging(param1:int) : void { this.updateNextPrimaryShootTime(param1); this.commonWeapon.createPrimaryChargeEffects(this.primaryCurrentBarrel); this.commonWeapon.weaponObject.primaryCharge(param1,this.primaryCurrentBarrel); } public function resetPrimaryNextShotTime() : void { this.primaryNextShotTime = getTimer(); } public function getPrimaryNextChargeTime() : int { return this.primaryNextChargeTime; } public function getPrimaryNextShotTime() : int { return this.primaryNextShotTime; } public function shootPrimary(param1:int) : void { var local2:RailgunShotResult = null; this.updateNextPrimaryShootTime(param1); getWeaponPlatform().getAllGunParams(gunParams,this.primaryCurrentBarrel); getWeaponPlatform().getBody().addWorldForceScaled(gunParams.barrelOrigin,gunParams.direction,-this.commonWeapon.weaponObject.commonData().getRecoilForce()); getWeaponPlatform().addDust(); if(BattleUtils.isTurretAboveGround(getWeaponPlatform().getBody(),gunParams)) { local2 = new RailgunShotResult(); local2.setFromTargetingResult(this.primaryTargetingSystem.target(gunParams)); if(local2.hitPoints.length > 0) { this.applyPrimaryImpactToTargets(local2); } this.createPrimaryShotEffect(local2,gunParams); this.commonWeapon.weaponObject.primaryShot(param1,local2.getStaticHitPoint(),local2.targets,local2.hitPoints,this.primaryCurrentBarrel); } else { this.commonWeapon.weaponObject.primaryDummyShot(param1,this.primaryCurrentBarrel); } this.primaryCurrentBarrel = (this.primaryCurrentBarrel + 1) % PRIMARY_BARRELS; } private function applyPrimaryImpactToTargets(param1:RailgunShotResult) : void { var local4:Tank = null; var local2:Number = 1; var local3:int = 0; while(local3 < param1.targets.length) { local4 = param1.targets[local3].tank; local4.applyWeaponHit(param1.hitPoints[local3],param1.shotDirection,this.commonWeapon.weaponObject.commonData().getImpactForce() * local2); local2 *= this.getPrimaryParams().weakeningCoeff; local3++; } } public function shootSecondary(param1:int, param2:Number) : void { this.updateNextPrimaryShootTime(param1); this.updateNextSecondaryShotTime(param1); this.releaseTrigger(); getWeaponPlatform().getAllGunParams(gunParams,PRIMARY_BARRELS + this.secondaryCurrentBarrel); var local3:Vector3 = BattleUtils.tmpVector; local3.cross2(gunParams.elevationAxis,gunParams.direction).normalize(); var local4:Number = Math.sqrt(1 - param2 * param2); secondaryShotDirection.copy(local3).scale(param2).addScaled(local4,gunParams.direction); if(BattleUtils.isTurretAboveGround(getWeaponPlatform().getBody(),gunParams)) { if(this.secondaryTarget.hasTarget()) { this.getShellCommunication().tryToShootWithTarget(param1,PRIMARY_BARRELS + this.secondaryCurrentBarrel,shotId,secondaryShotDirection,this.secondaryTarget.getTank(),this.secondaryTarget.getLocalPoint()); } this.launchRocket(); } else { this.getShellCommunication().tryToDummyShoot(param1,PRIMARY_BARRELS + this.secondaryCurrentBarrel); } this.commonWeapon.createSecondaryShotEffects(PRIMARY_BARRELS + this.secondaryCurrentBarrel); this.secondaryCurrentBarrel = this.secondaryCurrentBarrel >= SECONDARY_BARRELS - 1 ? 0 : this.secondaryCurrentBarrel + 1; } private function getShellCommunication() : ShellWeaponCommunication { return this.commonWeapon.weaponObject.rocketLauncherObject.shellCommunication(); } private function launchRocket() : void { var local1:Rocket = Rocket(battleService.getObjectPool().getObject(Rocket)); local1.init(this.getSecondaryParams(),this.commonWeapon.weaponObject.rocketLauncherObject,this.secondaryTarget,PRIMARY_BARRELS + this.secondaryCurrentBarrel,this.commonWeapon.effects.rocketLauncherEffects); local1.addToGame(gunParams,secondaryShotDirection,getWeaponPlatform().getBody(),false,shotId++); } override public function reset() : void { super.reset(); this.commonWeapon.resetEffects(); this.secondaryTarget.resetTarget(); this.primaryCurrentBarrel = 0; this.secondaryCurrentBarrel = 0; this.switchToPrimary(); } override public function getResistanceProperty() : ItemProperty { return ItemProperty.TERMINATOR_RESISTANCE; } public function getTarget() : RocketTargetPoint { return this.secondaryTarget; } public function getTargetingSystem() : TargetingSystem { return this.secondaryTargetingSystem; } override protected function start(param1:int) : void { super.start(param1); this.currentState.start(param1); } override protected function stop(param1:int, param2:Boolean) : void { this.currentState.stop(param1); super.stop(param1,param2); } public function getEffects() : RocketLauncherEffects { return this.commonWeapon.effects.rocketLauncherEffects; } public function onEndingOfSalvo(param1:int) : void { super.reset(); this.releaseTrigger(); this.switchToPrimary(); this.secondaryHide(param1); } override public function disable(param1:Boolean) : void { super.disable(param1); this.commonWeapon.effects.railgunEffects.stopEffects(); } private function createPrimaryShotEffect(param1:RailgunShotResult, param2:AllGlobalGunParams) : void { var local3:Vector3 = param1.getStaticHitPoint(); if(local3 == null && param1.targets.length > 0) { local3 = RailgunUtils.getDistantPoint(param2.barrelOrigin,param1.shotDirection); } this.commonWeapon.effects.createRecoilEffect(this.primaryCurrentBarrel); this.commonWeapon.effects.railgunEffects.createShotTrail(param2.muzzlePosition,local3,param2.direction); this.commonWeapon.effects.railgunEffects.createStaticHitMark(param2.barrelOrigin,param1.getStaticHitPoint()); if(local3 == null) { return; } if(param1.hasStaticHit) { this.commonWeapon.effects.railgunEffects.createStaticHitEffect(param2.muzzlePosition,param1.staticHitPoint,param1.staticHitNormal); } if(param1.targets.length > 0) { this.commonWeapon.effects.railgunEffects.createTargetHitEffects(param2.muzzlePosition,local3,param1.hitPoints,param1.targets); } } public function canShoot(param1:int) : Boolean { return isShooting() && param1 >= this.secondaryNextShotTime; } public function salvoShoot(param1:int, param2:Number) : void { this.shootSecondary(param1,param2); } override public function destroy() : void { super.destroy(); this.switchToPrimary(); this.secondaryTarget = null; this.secondaryTargetingSystem = null; this.commonWeapon.destroy(); this.commonWeapon = null; } public function isBuffed() : Boolean { return false; } override public function stun() : void { var local1:int = int(battleService.getPhysicsTime()); var local2:Boolean = this.currentState == this.primaryShotState && PrimaryShotState(this.primaryShotState).isCharging(); var local3:Boolean = this.currentState == this.secondaryShotState && !SecondaryShotState(this.secondaryShotState).salvoStarted(local1); this.stunnedStatus = local2 || local3 ? 1 : this.getStatus(); if(local2) { PrimaryShotState(this.primaryShotState).stopCharging(); PrimaryShotState(this.primaryShotState).resetNextShotTime(); } this.commonWeapon.effects.forceClosing(); this.commonWeapon.weaponObject.secondaryHide(local1); this.openingTrigger = false; this.currentState.weaponStunned(local1); this.switchToPrimary(); this.stunned = true; } override public function calm(param1:int) : void { this.currentState = this.primaryShotState; PrimaryShotState(this.primaryShotState).stopCharging(); this.primaryNextShotTime += param1; this.stunned = false; } } }
package alternativa.protocol.type { public class Byte { public function Byte() { super(); } } }
package controls.rangicons { import mx.core.BitmapAsset; [ExcludeClass] public class RangIconNormal_p1 extends BitmapAsset { public function RangIconNormal_p1() { super(); } } }