|
|
namespace vnxbqy.UI
|
{
|
public class SecretPlaceActWin : OneLevelWin
|
{
|
|
protected override void BindController()
|
{
|
base.BindController();
|
}
|
|
protected override void AddListeners()
|
{
|
base.AddListeners();
|
SetFunctionListener(0, OpenAct);
|
SetFunctionListener(1, OpenRank);
|
SetFunctionListener(2, OpenLogin);
|
SetFunctionListener(3, OpenMission);
|
SetFunctionListener(4, OpenGift);
|
}
|
|
protected override void OnActived()
|
{
|
base.OnActived();
|
}
|
|
|
protected override void OnPreOpen()
|
{
|
base.OnPreOpen();
|
}
|
|
protected override void OnPreClose()
|
{
|
base.OnPreClose();
|
}
|
|
|
private void OpenAct()
|
{
|
CloseSubWindows();
|
WindowCenter.Instance.Open<SecretPlaceXBActWin>();
|
functionOrder = 0;
|
}
|
|
private void OpenLogin()
|
{
|
CloseSubWindows();
|
WindowCenter.Instance.Open<LoginActWin>(fixParentName: "SecretPlaceActWin");
|
functionOrder = 2;
|
}
|
|
private void OpenMission()
|
{
|
CloseSubWindows();
|
WindowCenter.Instance.Open<MissionActWin>(fixParentName: "SecretPlaceActWin");
|
functionOrder = 3;
|
}
|
|
private void OpenGift()
|
{
|
CloseSubWindows();
|
WindowCenter.Instance.Open<RechargeGiftAct31Win>(fixParentName: "SecretPlaceActWin");
|
functionOrder = 4;
|
}
|
|
private void OpenRank()
|
{
|
CloseSubWindows();
|
WindowCenter.Instance.Open<SecretPlaceRankWin>();
|
functionOrder = 1;
|
}
|
|
|
}
|
}
|