Commit 2ff842d7 authored by Maxim Schedriviy's avatar Maxim Schedriviy

Merge branch 'master' into 'master'

sync decompiled swfs

See merge request !130
parents e6ced0b5 fa6acc74
Pipeline #123966591 passed with stage
in 0 seconds
This diff is collapsed.
......@@ -5,10 +5,11 @@ package lesta.unbound2.type_system
public var value:Number = 0.0;
public var units:int = 0;
public var units:int;
public function UbNumber()
{
this.units = UbUnits.NONE;
super();
}
}
......
......@@ -304,7 +304,8 @@ package net.wg.gui.battle.random.views.teamBasesPanel
private function createBar() : void
{
var _loc1_:TeamCaptureBar = App.utils.classFactory.getComponent(Linkages.CAPTURE_BAR_LINKAGE,TeamCaptureBar);
var _loc1_:TeamCaptureBar = null;
_loc1_ = App.utils.classFactory.getComponent(Linkages.CAPTURE_BAR_LINKAGE,TeamCaptureBar);
_loc1_.visible = false;
_loc1_.x = 0;
this._cachedBars.push(_loc1_);
......
......@@ -70,6 +70,7 @@ package net.wg.gui.battle.random.views.teamBasesPanel
private function drawGraphic() : void
{
var _loc4_:* = NaN;
var _loc5_:* = NaN;
if(this._bitmapSrcPrefix == Values.EMPTY_STR || this._colorType == Values.EMPTY_STR)
{
return;
......@@ -84,7 +85,7 @@ package net.wg.gui.battle.random.views.teamBasesPanel
_loc3_.beginFill(13762560);
_loc3_.beginBitmapFill(_loc2_);
_loc4_ = _loc2_.width;
var _loc5_:Number = _loc2_.height;
_loc5_ = _loc2_.height;
var _loc6_:Number = 0;
var _loc7_:Number = 0;
this.x = -_loc4_ >> 1;
......
......@@ -37,7 +37,7 @@ package net.wg.gui.battle.tutorial.views.tutorial.utils.tween
{
super();
_flowFactory = TweenFlowFactory.getInstance();
this._params = new Vector.<TutorialTweener>();
this._params = new Vector.<TweenParams>();
this._isExternalLinkToInstance = param1;
}
......
......@@ -157,6 +157,11 @@ package net.wg.gui.battle.views.postmortemPanel
invalidate(INVALID_PLAYER_INFO_POSITION);
}
private function updateDeadReason(param1:Event) : void
{
this.updateElementsPosition();
}
protected function updatePlayerInfoPosition() : void
{
this.playerInfoTF.y = -PLAYER_INFO_DELTA_Y - (App.appHeight >> 1);
......@@ -180,10 +185,5 @@ package net.wg.gui.battle.views.postmortemPanel
this._userName.visible = param1;
}
}
private function updateDeadReason(param1:Event) : void
{
this.updateElementsPosition();
}
}
}
......@@ -62,7 +62,7 @@ package net.wg.gui.components.controls.price
private var _actionMode:String = "enabled";
private var _actionState:String;
private var _actionState:String = "percentBG";
private var _bigFonts:Boolean = false;
......@@ -89,7 +89,6 @@ package net.wg.gui.components.controls.price
public function CompoundPrice()
{
this._classFactory = App.utils.classFactory;
this._actionState = ACTION_STATE_SIMPLE;
this._priceIconOffset = new Point(0,0);
this._priceActionOffset = new Point(0,0);
super();
......
......@@ -27,13 +27,12 @@ package net.wg.gui.components.controls.price
public var valueTF:TextField = null;
private var _state:String;
private var _state:String = "camouflage";
private var _data:PriceVO = null;
public function Discount()
{
this._state = ONLY_BG_STATE;
super();
}
......
......@@ -96,7 +96,7 @@ package net.wg.gui.components.controls.price
private var _actionMode:String = "enabled";
private var _actionState:String;
private var _actionState:String = "percentBG";
private var _iconAlign:String = "right";
......@@ -128,7 +128,6 @@ package net.wg.gui.components.controls.price
public function Price()
{
this._actionState = ACTION_STATE_SIMPLE;
this._iconOffset = new Point(0,0);
this._actionOffset = new Point(0,0);
this._toolTipMgr = App.toolTipMgr;
......
......@@ -32,6 +32,7 @@ package net.wg.gui.components.popovers
override public function invokeLayout() : Object
{
var _loc1_:PopOver = null;
var _loc2_:IUIComponentEx = null;
var _loc3_:TextField = null;
var _loc4_:* = 0;
......@@ -39,7 +40,7 @@ package net.wg.gui.components.popovers
var _loc6_:MovieClip = null;
var _loc7_:* = 0;
var _loc8_:* = 0;
var _loc1_:PopOver = PopOver(target);
_loc1_ = PopOver(target);
if(_loc1_)
{
_loc2_ = _loc1_.wrapperContent;
......
......@@ -80,10 +80,9 @@ package net.wg.gui.components.questProgress
override public function init(param1:IQPInitData) : void
{
var _loc2_:* = false;
super.init(param1);
this.descrTf.visible = StringUtils.isNotEmpty(param1.description);
_loc2_ = StringUtils.isNotEmpty(param1.multiplier);
var _loc2_:Boolean = StringUtils.isNotEmpty(param1.multiplier);
this.multiplierTf.visible = _loc2_;
this.multiplierIcon.visible = _loc2_;
this.descrTf.htmlText = param1.description;
......
......@@ -28,10 +28,11 @@ package net.wg.gui.components.questProgress.components.headerProgress
override protected function onDataUpdate(param1:IHeaderProgressData, param2:int) : void
{
var _loc3_:* = 0;
super.onDataUpdate(param1,param2);
this.conditionIcon.source = param1.conditionIcon;
App.utils.commons.updateTextFieldSize(headerTf,true,false);
var _loc3_:int = valueTitleTf.width + headerTf.width + SEPARATOR_GAP + HEADER_TF_GAP + CONDITION_ICON_WIDTH + CONDITION_ICON_GAP;
_loc3_ = valueTitleTf.width + headerTf.width + SEPARATOR_GAP + HEADER_TF_GAP + CONDITION_ICON_WIDTH + CONDITION_ICON_GAP;
if(_loc3_ < param2)
{
this.conditionIcon.x = (param2 - _loc3_ >> 1) + CONDITION_ICON_START_X;
......
......@@ -30,11 +30,13 @@ package net.wg.gui.components.tooltips.layout
var _loc6_:DisplayObject = null;
var _loc7_:PaddingVO = null;
var _loc8_:* = false;
var _loc9_:* = 0;
var _loc10_:* = 0;
var _loc2_:Vector.<BlockDataItemVO> = param1.data.blocks;
var _loc3_:int = _loc2_.length;
var _loc4_:int = param1.data.layoutGap;
var _loc9_:int = _loc3_ > 0?-_loc4_:0;
var _loc10_:* = 0;
_loc9_ = _loc3_ > 0?-_loc4_:0;
_loc10_ = 0;
var _loc11_:* = 0;
var _loc12_:* = 0;
while(_loc12_ < _loc3_)
......
......@@ -10,8 +10,6 @@ package net.wg.infrastructure.managers.impl
public class CommonsBattle extends CommonsBase
{
private static const IGR_TYPE_PREMIUM:int = 2;
public function CommonsBattle()
{
super();
......@@ -104,15 +102,5 @@ package net.wg.infrastructure.managers.impl
param1.textColor = _loc9_;
return _loc11_;
}
override public function getFullPlayerName(param1:IUserProps, param2:Boolean = false) : String
{
if(param1.isAnonymized && param2)
{
return param1.prefix + param1.fakeName + param1.suffix;
}
var _loc3_:String = (param1.igrType == IGR_TYPE_PREMIUM?IMG_TAG_OPEN_PREMIUM:IMG_TAG_OPEN_BASIC) + param1.igrVspace + IMG_TAG_CLOSE;
return param1.prefix + param1.userName + (param1.clanAbbrev?CLAN_TAG_OPEN + param1.clanAbbrev + CLAN_TAG_CLOSE:Values.EMPTY_STR) + (param1.region?Values.SPACE_STR + param1.region:Values.EMPTY_STR) + (param1.igrType > 0?Values.SPACE_STR + _loc3_:Values.EMPTY_STR) + param1.suffix;
}
}
}
......@@ -5,10 +5,11 @@ package lesta.unbound2.type_system
public var value:Number = 0.0;
public var units:int = 0;
public var units:int;
public function UbNumber()
{
this.units = UbUnits.NONE;
super();
}
}
......
......@@ -5,10 +5,11 @@ package lesta.unbound2.type_system
public var value:Number = 0.0;
public var units:int = 0;
public var units:int;
public function UbNumber()
{
this.units = UbUnits.NONE;
super();
}
}
......
......@@ -83,8 +83,8 @@ diff -Naur lobby.orig/net/wg/gui/lobby/battleResults/components/BattleResultImag
- if(this.vehicleIcon.visible = param1)
+ if(this.vehicleIcon.visible == param1)
{
- _loc4_ = BattleResultImageSwitcherView.getPreset(param3);
+ //_loc4_ = BattleResultImageSwitcherView.getPreset(param3);
- _loc4_ = VehicleIconPreset.getPreset(param3);
+ //_loc4_ = VehicleIconPreset.getPreset(param3);
App.utils.asserter.assertNotNull(_loc4_,"Icon preset for level: " + param3 + Errors.WASNT_FOUND);
this.vehicleIcon.source = RES_SHOP.getVehicleIcon(_loc4_.size,param2);
this.vehicleIcon.scaleX = this.vehicleIcon.scaleY = _loc4_.scale;
......@@ -139,7 +139,7 @@ diff -Naur lobby.orig/net/wg/gui/lobby/hangar/Hangar.as lobby/net/wg/gui/lobby/h
diff -Naur lobby.orig/net/wg/gui/lobby/hangar/ammunitionPanel/AmmunitionPanel.as lobby/net/wg/gui/lobby/hangar/ammunitionPanel/AmmunitionPanel.as
--- lobby.orig/net/wg/gui/lobby/hangar/ammunitionPanel/AmmunitionPanel.as 2020-02-28 20:16:18.177148500 +0200
+++ lobby/net/wg/gui/lobby/hangar/ammunitionPanel/AmmunitionPanel.as 2020-02-28 20:19:21.853659000 +0200
@@ -1050,12 +1050,14 @@
@@ -1042,12 +1042,14 @@
private function animationCompleteHandler(param1:Event) : void
{
......@@ -173,7 +173,7 @@ diff -Naur lobby.orig/net/wg/gui/lobby/header/LobbyHeader.as lobby/net/wg/gui/lo
diff -Naur lobby.orig/net/wg/gui/lobby/header/headerButtonBar/HeaderButtonContentItem.as lobby/net/wg/gui/lobby/header/headerButtonBar/HeaderButtonContentItem.as
--- lobby.orig/net/wg/gui/lobby/header/headerButtonBar/HeaderButtonContentItem.as 2020-02-28 20:16:08.282924900 +0200
+++ lobby/net/wg/gui/lobby/header/headerButtonBar/HeaderButtonContentItem.as 2020-02-28 20:19:21.895951000 +0200
@@ -324,11 +324,21 @@
@@ -323,11 +323,21 @@
this._needUpdateFontSize = param1;
}
......
This diff is collapsed.
......@@ -5,10 +5,11 @@ package lesta.unbound2.type_system
public var value:Number = 0.0;
public var units:int = 0;
public var units:int;
public function UbNumber()
{
this.units = UbUnits.NONE;
super();
}
}
......
......@@ -19,11 +19,12 @@ package net.wg.gui.components.common.containers
override public function invokeLayout() : Object
{
var _loc1_:DisplayObject = null;
var _loc6_:* = 0;
var _loc2_:int = _target.numChildren;
var _loc3_:* = 0;
var _loc4_:int = this._paddingGap?_loc2_ + 1:_loc2_ - 1;
var _loc5_:uint = (this._availableSize - gap * _loc4_) / _loc2_;
var _loc6_:int = this._paddingGap?gap:0;
_loc6_ = this._paddingGap?gap:0;
var _loc7_:* = 0;
while(_loc7_ < _loc2_)
{
......
......@@ -62,7 +62,7 @@ package net.wg.gui.components.controls.price
private var _actionMode:String = "enabled";
private var _actionState:String;
private var _actionState:String = "percentBG";
private var _bigFonts:Boolean = false;
......@@ -89,7 +89,6 @@ package net.wg.gui.components.controls.price
public function CompoundPrice()
{
this._classFactory = App.utils.classFactory;
this._actionState = ACTION_STATE_SIMPLE;
this._priceIconOffset = new Point(0,0);
this._priceActionOffset = new Point(0,0);
super();
......
......@@ -27,13 +27,12 @@ package net.wg.gui.components.controls.price
public var valueTF:TextField = null;
private var _state:String;
private var _state:String = "camouflage";
private var _data:PriceVO = null;
public function Discount()
{
this._state = ONLY_BG_STATE;
super();
}
......
......@@ -96,7 +96,7 @@ package net.wg.gui.components.controls.price
private var _actionMode:String = "enabled";
private var _actionState:String;
private var _actionState:String = "percentBG";
private var _iconAlign:String = "right";
......@@ -128,7 +128,6 @@ package net.wg.gui.components.controls.price
public function Price()
{
this._actionState = ACTION_STATE_SIMPLE;
this._iconOffset = new Point(0,0);
this._actionOffset = new Point(0,0);
this._toolTipMgr = App.toolTipMgr;
......
......@@ -32,6 +32,7 @@ package net.wg.gui.components.popovers
override public function invokeLayout() : Object
{
var _loc1_:PopOver = null;
var _loc2_:IUIComponentEx = null;
var _loc3_:TextField = null;
var _loc4_:* = 0;
......@@ -39,7 +40,7 @@ package net.wg.gui.components.popovers
var _loc6_:MovieClip = null;
var _loc7_:* = 0;
var _loc8_:* = 0;
var _loc1_:PopOver = PopOver(target);
_loc1_ = PopOver(target);
if(_loc1_)
{
_loc2_ = _loc1_.wrapperContent;
......
......@@ -80,10 +80,9 @@ package net.wg.gui.components.questProgress
override public function init(param1:IQPInitData) : void
{
var _loc2_:* = false;
super.init(param1);
this.descrTf.visible = StringUtils.isNotEmpty(param1.description);
_loc2_ = StringUtils.isNotEmpty(param1.multiplier);
var _loc2_:Boolean = StringUtils.isNotEmpty(param1.multiplier);
this.multiplierTf.visible = _loc2_;
this.multiplierIcon.visible = _loc2_;
this.descrTf.htmlText = param1.description;
......
......@@ -28,10 +28,11 @@ package net.wg.gui.components.questProgress.components.headerProgress
override protected function onDataUpdate(param1:IHeaderProgressData, param2:int) : void
{
var _loc3_:* = 0;
super.onDataUpdate(param1,param2);
this.conditionIcon.source = param1.conditionIcon;
App.utils.commons.updateTextFieldSize(headerTf,true,false);
var _loc3_:int = valueTitleTf.width + headerTf.width + SEPARATOR_GAP + HEADER_TF_GAP + CONDITION_ICON_WIDTH + CONDITION_ICON_GAP;
_loc3_ = valueTitleTf.width + headerTf.width + SEPARATOR_GAP + HEADER_TF_GAP + CONDITION_ICON_WIDTH + CONDITION_ICON_GAP;
if(_loc3_ < param2)
{
this.conditionIcon.x = (param2 - _loc3_ >> 1) + CONDITION_ICON_START_X;
......
......@@ -49,10 +49,9 @@ package net.wg.gui.components.tooltips
private function layoutComponents() : void
{
var _loc2_:uint = 0;
var _loc4_:DisplayObject = null;
var _loc1_:uint = 0;
_loc2_ = 5;
var _loc2_:uint = 5;
var _loc3_:* = 0;
while(_loc3_ < numChildren)
{
......
......@@ -3,9 +3,9 @@ package net.wg.gui.components.tooltips
import flash.text.TextField;
import net.wg.gui.components.controls.UILoaderAlt;
import net.wg.data.managers.ITooltipProps;
import net.wg.gui.components.tooltips.VO.FortDivisionVO;
import net.wg.gui.components.tooltips.VO.ToolTipBlockVO;
import net.wg.gui.components.tooltips.VO.ToolTipBlockResultVO;
import net.wg.gui.components.tooltips.VO.FortDivisionVO;
import flash.text.TextFieldAutoSize;
import net.wg.gui.components.tooltips.helpers.Utils;
import flash.text.StyleSheet;
......@@ -60,16 +60,18 @@ package net.wg.gui.components.tooltips
override protected function redraw() : void
{
var _loc1_:* = NaN;
var _loc3_:FortDivisionVO = null;
var _loc4_:* = NaN;
var _loc6_:ToolTipBlockVO = null;
var _loc7_:* = NaN;
var _loc8_:ToolTipBlockResultVO = null;
_loc1_ = 320;
var _loc2_:Separator = null;
separators = new Vector.<Separator>();
var _loc3_:FortDivisionVO = new FortDivisionVO(_data);
_loc3_ = new FortDivisionVO(_data);
contentMargin.bottom = 24;
topPosition = bgShadowMargin.top + contentMargin.top;
var _loc4_:Number = bgShadowMargin.left + contentMargin.left;
_loc4_ = bgShadowMargin.left + contentMargin.left;
var _loc5_:Number = bgShadowMargin.horizontal + contentMargin.horizontal;
this._headerTF.autoSize = TextFieldAutoSize.LEFT;
this._headerTF.htmlText = Utils.instance.htmlWrapper(_loc3_.name,Utils.instance.COLOR_HEADER,18,"$TitleFont");
......
......@@ -4,8 +4,8 @@ package net.wg.gui.components.tooltips
import net.wg.gui.components.controls.UILoaderAlt;
import flash.display.Sprite;
import net.wg.data.managers.ITooltipProps;
import net.wg.utils.ICommons;
import net.wg.gui.components.tooltips.VO.LadderVO;
import net.wg.utils.ICommons;
import flash.text.TextFieldAutoSize;
import net.wg.gui.components.tooltips.helpers.Utils;
import org.idmedia.as3commons.util.StringUtils;
......@@ -80,17 +80,17 @@ package net.wg.gui.components.tooltips
override protected function redraw() : void
{
var _loc1_:ICommons = null;
var _loc2_:* = NaN;
var _loc4_:* = NaN;
_loc1_ = App.utils.commons;
var _loc3_:LadderVO = null;
var _loc5_:* = NaN;
var _loc1_:ICommons = App.utils.commons;
this.whiteBg.visible = false;
_loc2_ = MIN_WIDTH;
separators = new Vector.<Separator>();
var _loc3_:LadderVO = new LadderVO(_data);
_loc3_ = new LadderVO(_data);
topPosition = bgShadowMargin.top + contentMargin.top | 0;
_loc4_ = bgShadowMargin.left + contentMargin.left;
var _loc5_:Number = bgShadowMargin.horizontal + contentMargin.horizontal;
var _loc4_:Number = bgShadowMargin.left + contentMargin.left;
_loc5_ = bgShadowMargin.horizontal + contentMargin.horizontal;
this.headerTF.autoSize = TextFieldAutoSize.LEFT;
this.headerTF.htmlText = _loc3_.name;
_loc1_.updateTextFieldSize(this.headerTF);
......
......@@ -3,9 +3,9 @@ package net.wg.gui.components.tooltips
import flash.text.TextField;
import flash.display.Sprite;
import net.wg.gui.components.tooltips.helpers.Utils;
import net.wg.gui.components.tooltips.VO.ToolTipTankClassVO;
import net.wg.gui.components.tooltips.VO.ToolTipStatusColorsVO;
import net.wg.gui.components.tooltips.VO.ToolTipBlockResultVO;
import net.wg.gui.components.tooltips.VO.ToolTipTankClassVO;
import flash.text.TextFormat;
import flash.text.TextFormatAlign;
import net.wg.utils.ILocale;
......@@ -42,8 +42,6 @@ package net.wg.gui.components.tooltips
override protected function redraw() : void
{
var _loc1_:ToolTipTankClassVO = null;
var _loc2_:* = NaN;
var _loc13_:String = null;
var _loc14_:String = null;
var _loc15_:String = null;
......@@ -52,8 +50,8 @@ package net.wg.gui.components.tooltips
topPosition = bgShadowMargin.top + contentMargin.top;
blockResults = new Vector.<ToolTipBlockResultVO>();
separators = new Vector.<Separator>();
_loc1_ = new ToolTipTankClassVO(_data);
_loc2_ = bgShadowMargin.left + contentMargin.left;
var _loc1_:ToolTipTankClassVO = new ToolTipTankClassVO(_data);
var _loc2_:Number = bgShadowMargin.left + contentMargin.left;
var _loc3_:TextFormat = new TextFormat();
_loc3_.leading = -2;
_loc3_.align = TextFormatAlign.LEFT;
......
......@@ -53,7 +53,6 @@ package net.wg.gui.components.tooltips
override protected function redraw() : void
{
var _loc6_:* = NaN;
var _loc9_:ToolTipBlockVO = null;
var _loc10_:String = null;
var _loc11_:String = null;
......@@ -65,7 +64,7 @@ package net.wg.gui.components.tooltips
var _loc3_:uint = 0;
var _loc4_:uint = 0;
var _loc5_:Number = 300;
_loc6_ = bgShadowMargin.left + contentMargin.left;
var _loc6_:Number = bgShadowMargin.left + contentMargin.left;
var _loc7_:ILocale = App.utils.locale;
App.utils.asserter.assertNotNull(_loc7_,"App.utils.locale is Null");
var _loc8_:PrivateQuestsVO = new PrivateQuestsVO(_data);
......
......@@ -94,13 +94,11 @@ package net.wg.gui.components.tooltips
private function onIcoLoadedCompleteHandler(param1:UILoaderEvent) : void
{
var _loc2_:* = NaN;
var _loc3_:* = NaN;
if(this.seasonsIco.hasEventListener(UILoaderEvent.COMPLETE))
{
this.seasonsIco.removeEventListener(UILoaderEvent.COMPLETE,this.onIcoLoadedCompleteHandler);
}
_loc2_ = contentMargin.left;
var _loc2_:Number = contentMargin.left;
this.seasonsIco.x = contentMargin.left + bgShadowMargin.left;
this.seasonsIco.y = contentMargin.top + bgShadowMargin.top;
this.headerTF.x = this.seasonsIco.x + this.seasonsIco.width + _loc2_;
......@@ -108,7 +106,7 @@ package net.wg.gui.components.tooltips
this.headerTF.width = this._TOOLTIP_WIDTH - this.headerTF.x - contentMargin.right;
background.width = this._TOOLTIP_WIDTH;
background.height = Math.max(this.headerTF.textHeight,this.seasonsIco.height) + contentMargin.top + bgShadowMargin.top + contentMargin.bottom + bgShadowMargin.bottom;
_loc3_ = 1;
var _loc3_:Number = 1;
this.whiteBg.x = bgShadowMargin.left + _loc3_;
this.whiteBg.y = bgShadowMargin.top;
this.whiteBg.width = this._TOOLTIP_WIDTH - bgShadowMargin.horizontal - _loc3_ * 2;
......
......@@ -3,8 +3,8 @@ package net.wg.gui.components.tooltips
import flash.text.TextField;
import flash.display.Sprite;
import net.wg.infrastructure.base.UIComponentEx;
import net.wg.utils.ILocale;
import net.wg.gui.rally.vo.VehicleVO;
import net.wg.utils.ILocale;
import flash.text.TextFieldAutoSize;
import net.wg.gui.components.tooltips.helpers.Utils;
......@@ -52,9 +52,10 @@ package net.wg.gui.components.tooltips
override protected function redraw() : void
{
var _loc2_:VehicleVO = null;
var _loc3_:Separator = null;
var _loc1_:ILocale = App.utils.locale;
var _loc2_:VehicleVO = new VehicleVO(_data);
_loc2_ = new VehicleVO(_data);
separators = new Vector.<Separator>();
this.headerTF.autoSize = TextFieldAutoSize.LEFT;
this.headerTF.htmlText = _loc1_.makeString(TOOLTIPS.SELECTEDVEHICLE_HEADER);
......@@ -92,7 +93,8 @@ package net.wg.gui.components.tooltips
private function addSuitableVehicleBlockItem(param1:VehicleVO, param2:Number) : Number
{
var _loc3_:SuitableVehicleBlockItem = App.utils.classFactory.getComponent("SuitableVehicleBlockItemUI",SuitableVehicleBlockItem);
var _loc3_:SuitableVehicleBlockItem = null;
_loc3_ = App.utils.classFactory.getComponent("SuitableVehicleBlockItemUI",SuitableVehicleBlockItem);
this._vehicleBlockItems.push(_loc3_);
_loc3_.setData(App.utils.nations.getNationIcon(param1.nationID),param1.level,param1.smallIconPath,"../maps/icons/filters/tanks/" + param1.type + ".png",param1.shortUserName);
_loc3_.x = contentMargin.left + bgShadowMargin.left;
......
......@@ -30,9 +30,10 @@ package net.wg.gui.components.tooltips
override protected function redraw() : void
{
var _loc2_:* = 0;
var _loc3_:ILocale = null;
var _loc1_:SortieDivisionVO = new SortieDivisionVO(_data);
var _loc2_:int = bgShadowMargin.left + contentMargin.left;
_loc2_ = bgShadowMargin.left + contentMargin.left;
_loc3_ = App.utils.locale;
separators = new Vector.<Separator>();
this.headerTF.text = _loc3_.makeString(_loc1_.divisions[0].divisName);
......
......@@ -5,8 +5,8 @@ package net.wg.gui.components.tooltips
import net.wg.gui.cyberSport.controls.CSVehicleButton;
import net.wg.infrastructure.base.UIComponentEx;
import net.wg.data.managers.ITooltipProps;
import net.wg.gui.components.tooltips.VO.SuitableVehicleVO;
import net.wg.utils.ILocale;
import net.wg.gui.components.tooltips.VO.SuitableVehicleVO;
import flash.text.TextFieldAutoSize;
import net.wg.data.constants.generated.TOOLTIPS_CONSTANTS;
import net.wg.gui.components.tooltips.helpers.Utils;
......@@ -90,6 +90,7 @@ package net.wg.gui.components.tooltips
override protected function redraw() : void
{
var _loc1_:ILocale = null;
var _loc2_:SuitableVehicleVO = null;
var _loc4_:uint = 0;
var _loc5_:uint = 0;
......@@ -97,7 +98,7 @@ package net.wg.gui.components.tooltips
var _loc7_:* = 0;
var _loc8_:uint = 0;
var _loc9_:TextField = null;
var _loc1_:ILocale = App.utils.locale;
_loc1_ = App.utils.locale;
_loc2_ = new SuitableVehicleVO(_data);
var _loc3_:Separator = null;
separators = new Vector.<Separator>();
......
......@@ -6,13 +6,13 @@ package net.wg.gui.components.tooltips
import net.wg.gui.components.tooltips.VO.TankmenVO;
import net.wg.data.managers.ITooltipProps;
import net.wg.gui.events.</