找回密码
 点一下
查看: 3000|回复: 17

星际2BN界面部分反编译代码

[复制链接]
发表于 2010-2-21 19:40:48 | 显示全部楼层 |阅读模式
反编译方法:
1, 用MPQ工具从Battle.net.MPQ中解压出Battle.net.gfx
2, 用winhex修改Battle.net.gfx的前三字节为大写的ASCII: "CWS"
3, 用swf反编译工具进行反编译(我这里用的是asv)

还好我会一点点flex和xml.
无标题.png

关于地图部分从网络获取地图列表的代码修改一下, 改成本地获取然后重新编译应该就OK了

新建文件夹.rar

984 KB, 下载次数: 44

发表于 2010-2-21 19:42:20 | 显示全部楼层
什么东西?
回复

使用道具 举报

发表于 2010-2-21 19:45:09 | 显示全部楼层
本地化破解口巴?
回复

使用道具 举报

发表于 2010-2-21 19:46:40 | 显示全部楼层
看到几个关键字,网络获取+修改+本地获取。
回复

使用道具 举报

发表于 2010-2-21 19:46:59 | 显示全部楼层
奇怪这个是从哪里挖出来的……
回复

使用道具 举报

发表于 2010-2-21 19:48:02 | 显示全部楼层
java?
回复

使用道具 举报

发表于 2010-2-21 19:49:34 | 显示全部楼层
actionscript……据说GFx用的是2.0……
回复

使用道具 举报

发表于 2010-2-21 19:50:37 | 显示全部楼层
java貌似没function这种东西的吧
回复

使用道具 举报

发表于 2010-2-21 20:23:12 | 显示全部楼层
这个好像是用什么工具dump出来的~
as是flash的脚本语言吧。

可惜没学过flash~
回复

使用道具 举报

发表于 2010-2-21 21:24:04 | 显示全部楼层
这个是AS3吧,是不是网络通信部分是用flash做的
回复

使用道具 举报

发表于 2010-2-21 22:30:19 | 显示全部楼层
。。。。囧……我还研究了半天试图搞个评估版。。。
回复

使用道具 举报

发表于 2010-2-22 01:08:15 | 显示全部楼层
GFX用的AS2,不支持AS3并且不能存为FLASH8以后的版本
回复

使用道具 举报

发表于 2010-2-22 10:39:15 | 显示全部楼层
地图部分应该在这里面吧~~

[codes=actionscript]
// Sprite 21879

#initclip
if (!SC2.Dashboard.Lobby.MatchSettings) {
    if (!SC2) {
        _global.SC2 = new Object ()
        }
    if (!SC2.Dashboard) {
        _global.SC2.Dashboard = new Object ()
        }
    if (!SC2.Dashboard.Lobby) {
        _global.SC2.Dashboard.Lobby = new Object ()
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        } extends LIBRARY.Interfaces.Notebook.PageMovieClip
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.onLoad = function  () {
        this.m_title.text = Strings.LOBBY_MATCH_SETTINGS
        this.m_scrollBar.addEventListener("scroll",this,"ScrollbarChanged")
        this.m_zoomButton.addEventListener("click",this,"ZoomButtonClicked")
        this.m_thumbnailParams = new SC2.Generics.MapThumbnailParams()
        static var m_loaded:Boolean = true
        if ((SC2.Singletons.Game.S2GameLobby.GetPhase() >= Protocol.BSN.Battlenet.Client.S2GameDefines.Statics.GAMEPHASE_LOBBY) &&  (SC2.Singletons.Game.S2GameLobby.GetFullLink() != undefined)) {
            SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle()
            SC2.Singletons.Maps.S2Maps.GetS2Map(SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle().m_id,SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle().m_version,new LIBRARY.Utilities.Callback(this.onLoadMapCallback,this))
            }
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.onLoadMapCallback = function  (success) {
        this.m_mapInfo = success.m_mapInfo
        this.m_thumbnailParams.FillFromS2MapInfo(this.m_mapInfo)
        this.m_mapName.text = BattlenetAPI.GetMapHeaderString(this.m_mapInfo.m_handle,this.m_mapInfo.m_mapName)
        this.m_author.text = BATTLENET.Utilities.Name.FormatFullToonName(this.m_mapInfo.m_authorName.m_name)
        this.m_genres.m_textField.text = Strings.GAMES_GENRE
        this.m_genres.m_dropdown.updateLabel = this.m_locUpdateLabelFunc
        this.m_genres.m_dropdown.addEventListener("change",this,"GenreChanged")
        this.m_gameTypes.m_textField.text = Strings.GAMES_GAMETYPE
        this.m_gameTypes.m_dropdown.updateLabel = this.m_locUpdateLabelFunc
        SC2.Singletons.Maps.S2Maps.CreateGenreList(this.m_mapInfo)
        this.m_genres.m_dropdown.dataProvider = SC2.Singletons.Maps.S2Maps.CreateGenreList(this.m_mapInfo)
        if (!SC2.Singletons.Game.S2GameLobby.IsPrivate()) {
            this.m_genres.m_dropdown.disabled = true
            }
        if (!SC2.Singletons.Game.S2GameLobby.IsPrivate()) {
            this.m_gameTypes.m_dropdown.disabled = true
            }
        new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[SC2.Singletons.Game.S2GameLobby.GetVariantIndex()].m_variantId)
        new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[SC2.Singletons.Game.S2GameLobby.GetVariantIndex()].m_variantId).genre
        0
        break //Goto(736)
        0++
        while (0++ < SC2.Singletons.Maps.S2Maps.CreateGenreList(this.m_mapInfo).length){
            if (SC2.Singletons.Maps.S2Maps.CreateGenreList(this.m_mapInfo)[0++].m_genre == new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[SC2.Singletons.Game.S2GameLobby.GetVariantIndex()].m_variantId).genre) {
                this.m_genres.m_dropdown.selectedIndex = 0++
                break //Goto(762)
                }
            }
        this.m_gameTypes.m_dropdown.dataProvider
        0
        break //Goto(779)
        0++
        while (0++ < this.m_gameTypes.m_dropdown.dataProvider.length){
            if (this.m_gameTypes.m_dropdown.dataProvider[0++].m_index == SC2.Singletons.Game.S2GameLobby.GetVariantIndex()) {
                this.m_gameTypes.m_dropdown.selectedIndex = 0++
                this.SetGameTypeTooltip(Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT(this.m_gameTypes.m_dropdown.selectedItem))
                break //Goto(840)
                }
            }
        this.m_gameTypes.m_dropdown.addEventListener("change",this,"GameTypeChanged")
        this.Layout()
        static var m_doneInitialLayout:Boolean = true
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.ActivatePage = function  () {
        this.m_pageImplementation.ActivatePage()
        static var _visible:Boolean = true
        this.Layout()
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.DeactivatePage = function  () {
        this.m_pageImplementation.DeactivatePage()
        static var _visible:Boolean = false
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.Layout = function  () {
        if (!this.m_loaded) {
            return undefined
            }
        SC2.Singletons.Game.S2GameLobby.GetGameSlot()
        SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()
        2
        this.m_gameTypes
        static var m_ignoreDropdownCallback:Boolean = true
        if (SC2.Singletons.Game.S2GameLobby.IsPrivate() &&  (SC2.Singletons.Game.S2GameLobby.IsHost() &&  (!SC2.Singletons.Game.S2GameLobby.IsAttribsLocked()))) {
            this.m_genres.m_dropdown.disabled = false
            this.m_gameTypes.m_dropdown.disabled = false
            } else {
            this.m_genres.m_dropdown.disabled = true
            this.m_gameTypes.m_dropdown.disabled = true
            }
        0
        break //Goto(1024)
        0++
        while (0++ < SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances().length){
            SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()
            SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++]
            if (SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].IsVisible()) {
                SC2.Singletons.Game.S2GameLobby.GetAttribute(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress())
                this.m_gameAttributeDropdowns[SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()]
                if (this.m_gameAttributeDropdowns[SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()] == undefined) {
                    this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth())
                    this.m_gameAttributeDropdowns[SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()] = this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth())
                    var that = this
                    static var m_loaded:Boolean = false
                    this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth()).m_attribute = SC2.Singletons.Game.S2GameLobby.GetAttribute(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress())
                    this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth()).m_currentInstance = SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++]
                    this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth()).onLoad = function  () {
                        this.m_dropdown.updateLabel = that.m_locUpdateLabelFunc
                        this.m_dropdown.dataProvider = this.m_attribute.GetOptions()
                        delete(this.m_attribute)
                        this.m_dropdown.selectedIndex = this.m_currentInstance.GetEntryIndex()
                        this.m_dropdown.addEventListener("change",that,"GameAttributeChanged")
                        this.m_dropdown.disabled = (!(this.m_currentInstance.IsChangeable() &&  SC2.Singletons.Game.S2GameLobby.IsPrivate())) ||  SC2.Singletons.Game.S2GameLobby.IsAttribsLocked()
                        delete(this.m_currentInstance)
                        static var m_loaded:Boolean = true
                        }
                    }
                this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth())._x = this.m_gameTypes._x
                this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth())._y = this.m_gameTypes._y + this.m_clipSpacing
                this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth()).m_textField.text = SC2.Singletons.Game.S2GameLobby.GetAttribute(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()).GetVisual() + ":"
                if (this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth()).m_loaded == true) {
                    this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth()).m_dropdown.selectedIndex = SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetEntryIndex()
                    this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth()).m_dropdown.disabled = !(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].IsChangeable() &&  SC2.Singletons.Game.S2GameLobby.IsPrivate())
                    }
                2++
                this.m_genres.duplicateMovieClip(SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress(),this.m_mainDropDownHolder.getNextHighestDepth())
                } else {
                this.m_gameAttributeDropdowns[SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()]
                if (this.m_gameAttributeDropdowns[SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()] != undefined) {
                    this.m_gameAttributeDropdowns[SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()].m_dropdown.removeEventListener("change",this,"GameAttributeChanged")
                    this.m_gameAttributeDropdowns[SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress()].removeMovieClip()
                    delete(this.m_gameAttributeDropdowns.SC2.Singletons.Game.S2GameLobby.GetGameSlot().GetSortedInstances()[0++].GetAddress())
                    }
                }
            }
        (2++) * this.m_clipSpacing
        if ((2++) * this.m_clipSpacing > this.m_mask._height) {
            this.m_scrollBar.setScrollProperties(20,0,((2++) * this.m_clipSpacing) - this.m_mask._height)
            this.m_scrollBar._visible = true
            } else {
            this.m_scrollBar._visible = false
            }
        static var m_ignoreDropdownCallback:Boolean = false
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.PopulateGameTypes = function  () {
        new Array ()
        this.m_mapInfo.m_variants
        0
        break //Goto(1395)
        0++
        while (0++ < this.m_mapInfo.m_variants.length){
            this.m_mapInfo.m_variants[0++]
            new SC2.Containers.Maps.S2MapHandle(this.m_mapInfo.m_variants[0++].m_mapHandle.m_id,this.m_mapInfo.m_variants[0++].m_mapHandle.m_version)
            new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[0++].m_variantId,new SC2.Containers.Maps.S2MapHandle(this.m_mapInfo.m_variants[0++].m_mapHandle.m_id,this.m_mapInfo.m_variants[0++].m_mapHandle.m_version))
            if (this.m_genres.m_dropdown.selectedItem.m_genre == new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[0++].m_variantId,new SC2.Containers.Maps.S2MapHandle(this.m_mapInfo.m_variants[0++].m_mapHandle.m_id,this.m_mapInfo.m_variants[0++].m_mapHandle.m_version)).genre) {
                if (new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[0++].m_variantId,new SC2.Containers.Maps.S2MapHandle(this.m_mapInfo.m_variants[0++].m_mapHandle.m_id,this.m_mapInfo.m_variants[0++].m_mapHandle.m_version)).gameType == "Custom") {
                    this.m_mapInfo.m_variants[0++]
                    } else {
                    new Array ().push(this.m_mapInfo.m_variants[0++])
                    }
                }
            }
        if (this.m_mapInfo.m_variants[0++] != undefined) {
            new Array ().push(this.m_mapInfo.m_variants[0++])
            }
        this.m_gameTypes.m_dropdown.dataProvider = new Array ()
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.SetGameTypeTooltip = function  (variant) {
        if (variant.m_variantDescription != undefined) {
            this.m_gameTypes.m_dropdown.SetTooltip(BattlenetAPI.GetMapHeaderString(variant.m_mapHandle,variant.m_variantDescription))
            } else {
            this.m_gameTypes.m_dropdown.SetTooltip(undefined)
            }
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.ZoomButtonClicked = function  () {
        new SC2.Dialogs.PopupMapDialogInit()
        new SC2.Dialogs.PopupMapDialogInit().m_thumbnailParams = this.m_thumbnailParams
        new SC2.Dialogs.PopupMapDialogInit().m_depthRule = LIBRARY.Interfaces.Windows.Containers.WindowBaseInit.ALWAYS_ON_TOP
        new SC2.Dialogs.PopupMapDialogInit().m_listeners = [this]
        LIBRARY.Interfaces.Windows.WindowManager.CreateWindow("Windows-WindowDialog",new SC2.Dialogs.PopupMapDialogInit(),false)
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.GenreChanged = function  (event) {
        if (this.m_ignoreDropdownCallback) {
            return undefined
            }
        switch(this.m_genres.m_dropdown.selectedItem.m_genre){
            case Melee :
                break //Goto(1665)
            case CoopSkirmish :
                break //Goto(1665)
            default :
                break //Goto(1665)
            }
        this.m_genres.m_dropdown.SetTooltip(Strings.GAMES_GENRE_MELEE_TOOLTIP)
        this.m_genres.m_dropdown.SetTooltip(Strings.GAMES_GENRE_COOP_TOOLTIP)
        this.m_genres.m_dropdown.SetTooltip(Strings.GAMES_GENRE_OTHER_TOOLTIP)
        this.PopulateGameTypes()
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.GameTypeChanged = function  (event) {
        if (this.m_ignoreDropdownCallback) {
            return undefined
            }
        event.data
        this.SetGameTypeTooltip(event.data)
        BATTLENET.Invoke.S2GameLobby.VariantChange(event.data.m_index)
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.GameAttributeChanged = function  (event) {
        if (this.m_ignoreDropdownCallback) {
            return undefined
            }
        BATTLENET.Invoke.S2GameLobby.ChangeGameAttribute(event.data)
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.ScrollbarChanged = function  (event) {
        this.m_mainDropDownHolder._y = this.m_dropDownHolderYCoord - event.position
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.PhaseLockSlots = function  () {
        this.Layout()
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.LobbyGameIsNowOpen = function  () {
        if ((!this.m_loaded) ||  (!this._visible)) {
            return undefined
            }
        this.m_genres.m_dropdown.disabled = true
        this.m_gameTypes.m_dropdown.disabled = true
        this.Layout()
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.LobbyNeedsLayout = function  () {
        if ((!this.m_loaded) ||  (!this._visible)) {
            return undefined
            }
        this.Layout()
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.LobbyHost = function  () {
        if ((!this.m_loaded) ||  (!this._visible)) {
            return undefined
            }
        if (SC2.Singletons.Game.S2GameLobby.IsHost() &&  SC2.Singletons.Game.S2GameLobby.IsPrivate()) {
            this.m_genres.m_dropdown.disabled = false
            this.m_gameTypes.m_dropdown.disabled = false
            } else {
            this.m_genres.m_dropdown.disabled = true
            this.m_gameTypes.m_dropdown.disabled = true
            }
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.LobbyInfo = function  () {
        if ((!this.m_loaded) ||  (this.m_doneInitialLayout)) {
            return undefined
            }
        SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle()
        SC2.Singletons.Maps.S2Maps.GetS2Map(SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle().m_id,SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle().m_version,new LIBRARY.Utilities.Callback(this.onLoadMapCallback,this))
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.LobbyVariantChangeNotify = function  (variantIndex) {
        if ((!this.m_loaded) ||  (!this._visible)) {
            return undefined
            }
        static var m_ignoreDropdownCallback:Boolean = true
        this.m_mapInfo.m_variants[SC2.Singletons.Game.S2GameLobby.GetVariantIndex()]
        new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[SC2.Singletons.Game.S2GameLobby.GetVariantIndex()].m_variantId,SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle())
        0
        break //Goto(2039)
        0++
        while (0++ < this.m_genres.m_dropdown.dataProvider.length){
            if (this.m_genres.m_dropdown.dataProvider[0++].m_genre == new SC2.Containers.Maps.S2MapVariantId(this.m_mapInfo.m_variants[SC2.Singletons.Game.S2GameLobby.GetVariantIndex()].m_variantId,SC2.Singletons.Game.S2GameLobby.GetFullLink().GetPrimaryHandle()).genre) {
                this.m_genres.m_dropdown.selectedIndex = 0++
                break //Goto(2079)
                }
            }
        this.PopulateGameTypes()
        0
        break //Goto(2092)
        0++
        while (0++ < this.m_gameTypes.m_dropdown.dataProvider.length){
            if (this.m_gameTypes.m_dropdown.dataProvider[0++].m_index == this.m_mapInfo.m_variants[SC2.Singletons.Game.S2GameLobby.GetVariantIndex()].m_index) {
                this.m_gameTypes.m_dropdown.selectedIndex = 0++
                break //Goto(2132)
                }
            }
        static var m_ignoreDropdownCallback:Boolean = false
        }
    _global.SC2.Dashboard.Lobby.MatchSettings = function  () {
        super[undefined]()
        this.m_gameAttributeDropdowns = new Object ()
        this.m_locUpdateLabelFunc = function  () {
            if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                }
                else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                    this.selectedItem
                    new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                    new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                    this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                    }
                    else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                        this.label = this.selectedItem
                        }
                        else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                            this.label = String(this.selectedItem.m_visual)
                            } else {
                            LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                            }
            }
        this.m_genres = this.m_mainDropDownHolder.m_genres
        this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
        this.m_scrollBar.position = 0
        this.m_scrollBar._visible = false
        this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
        this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
        static var m_ignoreDropdownCallback:Boolean = false
        static var m_loaded:Boolean = false
        static var m_doneInitialLayout:Boolean = false
        SC2.Singletons.Game.S2GameLobby.AddListener(this)
        Mouse.addListener(this)
        }.prototype.onMouseWheel = function  (delta, target) {
        if (this._visible &&  (this.hitTest(_root._xmouse,_root._ymouse,false) &&  (this.m_scrollBar._visible))) {
            Mouse.getTopMostEntity()
            while (Mouse.getTopMostEntity()){
                if (Mouse.getTopMostEntity() == this) {
                    (delta) * this.m_scrollBar.availableHeight / this.SCROLLBAR_INCREMENTS
                    this.m_scrollBar.position = this.m_scrollBar.position - ((delta) * this.m_scrollBar.availableHeight / this.SCROLLBAR_INCREMENTS)
                    break //Goto(2218)
                    }
                Mouse.getTopMostEntity()._parent
                }
            }
        }
    ASSetPropFlags (_global.SC2.Dashboard.Lobby.MatchSettings = function  () {
            super[undefined]()
            this.m_gameAttributeDropdowns = new Object ()
            this.m_locUpdateLabelFunc = function  () {
                if (this.selectedItem instanceof BATTLENET.Containers.Game.Attributes.Option) {
                    BATTLENET.Containers.Game.Attributes.Option(this.selectedItem)
                    this.label = BATTLENET.Containers.Game.Attributes.Option(this.selectedItem).GetVisual()
                    }
                    else if (this.selectedItem instanceof Protocol.BSN.Battlenet.Event.S2Maps.S2MapVariantInfo_STRUCT) {
                        this.selectedItem
                        new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)
                        new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version))
                        this.label = new SC2.Containers.Maps.S2MapVariantId(this.selectedItem.m_variantId,new SC2.Containers.Maps.S2MapHandle(this.selectedItem.m_mapHandle.m_id,this.selectedItem.m_mapHandle.m_version)).gameTypeLocalizedString
                        }
                        else if (this.selectedItem instanceof String ||  (typeof(this.selectedItem) == "string")) {
                            this.label = this.selectedItem
                            }
                            else if (this.selectedItem.m_visual instanceof String ||  (typeof(this.selectedItem.m_visual) == "string")) {
                                this.label = String(this.selectedItem.m_visual)
                                } else {
                                LIBRARY.Utilities.Log.Fail("Dashboard.Lobby.MatchSettings.m_locUpdateLabelFunc: unknown selectedItem type: LIBRARY.Utilities.Log type=3",LIBRARY.Utilities.StringDisplayFormat.Serialize(this.selectedItem,true),typeof(this.selectedItem))
                                }
                }
            this.m_genres = this.m_mainDropDownHolder.m_genres
            this.m_gameTypes = this.m_mainDropDownHolder.m_gameTypes
            this.m_scrollBar.position = 0
            this.m_scrollBar._visible = false
            this.m_dropDownHolderYCoord = this.m_mainDropDownHolder._y
            this.m_clipSpacing = this.m_gameTypes._y - this.m_genres._y
            static var m_ignoreDropdownCallback:Boolean = false
            static var m_loaded:Boolean = false
            static var m_doneInitialLayout:Boolean = false
            SC2.Singletons.Game.S2GameLobby.AddListener(this)
            Mouse.addListener(this)
            }.prototype,null,1)
    static var SCROLLBAR_INCREMENTS:Number = 10
    }
#endinitclip

[/codes]
回复

使用道具 举报

发表于 2010-2-22 11:51:27 | 显示全部楼层
完全看不懂..........
回复

使用道具 举报

发表于 2010-2-22 11:56:47 | 显示全部楼层
感觉好熟悉啊!
回复

使用道具 举报

发表于 2010-2-22 12:34:14 | 显示全部楼层
都长得差不多.
回复

使用道具 举报

发表于 2010-2-22 13:01:52 | 显示全部楼层
马甲你的代码标签还是错的= =开头少了s
不过代码标签很有可能表示不认得actionscript………………
回复

使用道具 举报

发表于 2010-2-23 21:40:56 | 显示全部楼层
界面果然很多是用 SWF文件……  从 Installer Tome 1.mpq 里解出的

Repack-MPQ\\fileset.base#Mods#Core.SC2Mod#Base.SC2Data\\UI\\Flash
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-4-25 10:06 , Processed in 0.109692 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表