Esempio n. 1
0
    protected Presenter()
    {
        if (this is IPresenterInit)
        {
            var init = this as IPresenterInit;
            init.Init();
        }

        Fish.AddLisenter(BroadcastType.BeforeLogin, OnReset);
        Fish.AddLisenter(BroadcastType.LoginOk, OnLoginOk);
        Fish.AddLisenter(BroadcastType.SwitchAccount, OnSwitchAccount);
    }
Esempio n. 2
0
 public override void Enter()
 {
     PleaseWait.Instance.Hide(PleaseWait.WaitType.NetLink);
     isDisconnected = false;
     Fish.AddLisenter(BroadcastType.ApplicationUnPause, OnApplicationUnPause);
 }