//-------------------------------------------------------- 
 | 
//    [Author]:           第二世界 
 | 
//    [  Date ]:           Wednesday, January 17, 2018 
 | 
//-------------------------------------------------------- 
 | 
using UnityEngine; 
 | 
using System.Collections; 
 | 
using UnityEngine.UI; 
 | 
using System; 
 | 
  
 | 
namespace Snxxz.UI 
 | 
{ 
 | 
  
 | 
    public class LootPreciousFrameWin : OneLevelWin 
 | 
    { 
 | 
        #region Built-in 
 | 
  
 | 
        protected override void AddListeners() 
 | 
        { 
 | 
            base.AddListeners(); 
 | 
            SetFunctionListener(1, ShowRidingPetContention); 
 | 
            SetFunctionListener(3, AllianceBoss); 
 | 
        }  
 | 
  
 | 
        protected override void OnPreClose() 
 | 
        { 
 | 
            CloseSubWindows(); 
 | 
        } 
 | 
        #endregion 
 | 
  
 | 
        private void ShowRidingPetContention()  
 | 
        {  
 | 
            CloseSubWindows();  
 | 
            WindowCenter.Instance.Open<RidingPetContentionWin>();  
 | 
            functionOrder = 1;  
 | 
        } 
 | 
  
 | 
        private void AllianceBoss()  
 | 
        {  
 | 
            CloseSubWindows();  
 | 
            WindowCenter.Instance.Open<AllianceBossEntranceWin>();  
 | 
            functionOrder = 3;  
 | 
        } 
 | 
    } 
 | 
} 
 |