示例#1
0
        public override void Leave()
        {
            _Binder.Unbind <INormalSkill>(this);
            _Binder.Unbind <IMoveController>(_MoveController);

            _Binder.Unbind <IInventoryController>(this);
        }
示例#2
0
        void IStage.Leave()
        {
            _Player.SetSkillVelocity(0, 0);
            if (_Caster.CanDisarm())
            {
                _Binder.Unbind <IBattleSkill>(this);
            }
            _Binder.Unbind <IMoveController>(_MoveController);

            _Binder.Unbind <ICastSkill>(this);
            _Player.CastEnd(_Caster.Data.Id);
        }
        void IStage.Leave()
        {
            _Machine.Termination();
            _Updater.Shutdown();

            _DifferenceNoticer.Set(new IIndividual[0]);
            _DifferenceNoticer.JoinEvent -= this._BroadcastJoin;
            _DifferenceNoticer.LeftEvent -= this._BroadcastLeft;

            _Binder.Unbind <IEmotion>(this);
            _Binder.Unbind <IDevelopActor>(_Player);
            _Binder.Unbind <IPlayerProperys>(this);
            _Gate.Left(_Player);
        }
示例#4
0
 void IBootable.Shutdown()
 {
     _SaveRecord();
     _Binder.Unbind <IAccountStatus>(this);
     _Machine.Termination();
     _Binder.BreakEvent -= _Quit;
 }
        void IStage.Leave()
        {
            _Binder.Unbind <IFishStageQueryer>(this);

            _StageMachine.Termination();
            _StageMachine = null;

            OnDoneEvent.Invoke();
        }
        private void _Detach(Account account)
        {
            if (account.HasCompetnce(Account.COMPETENCE.ACCOUNT_FINDER))
            {
                _Binder.Unbind <IAccountFinder>(_Storage);
                _Binder.Unbind <IGameRecorder>(_Storage);
            }

            if (account.HasCompetnce(Account.COMPETENCE.ACCOUNT_MANAGER))
            {
                _Binder.Unbind <IAccountManager>(_Storage);
            }

            _Binder.Unbind <ITradeNotes>(_Storage);
            _Binder.Unbind <IFormulaFarmRecorder>(_Storage);
            _Binder.Unbind <IFormulaPlayerRecorder>(_Storage);

            _Binder.Unbind <IStorageCompetences>(this);
        }
 void IStage.Leave()
 {
     _Status.Termination();
     _Binder.Unbind <IBagNotifier>(_Player.Bag);
     _Binder.Unbind <IEquipmentNotifier>(_Player.Equipment);
 }
 void IStage.Leave()
 {
     _Binder.Unbind <IMakeSkill>(this);
 }
示例#9
0
 void IStage.Leave()
 {
     _Binder.Unbind <IBoardData>(_GameZone);
     _Binder.Unbind <IPlayer>(_GameZone);
     _Binder.Unbind <IPosition>(_GameZone);
 }
示例#10
0
文件: Agent.cs 项目: kof1016/DataFlow
 private void _Unbind <TSoul>(TSoul soul)
 {
     Binder.Unbind(soul);
 }
示例#11
0
 void IStage.Leave()
 {
     _Binder.Unbind <IVerify>(this);
 }
示例#12
0
 void IStage.Leave()
 {
     _Binder.Unbind <IBoardData>(_GameZone);
 }
示例#13
0
 void IStage.Leave()
 {
     // ReSharper disable once ArrangeThisQualifier
     _Binder.Unbind <ILevelSelector>(this);
 }
示例#14
0
 void IStage.Leave()
 {
     _FishStage.OnTotalHitResponseEvent -= _FishStage_OnTotalHitResponseEvent;
     _Binder.Unbind <IPlayer>(this);
 }
示例#15
0
 void IBootable.Shutdown()
 {
     _Binder.Unbind <IInput>(this);
 }
示例#16
0
 void IStage.Leave()
 {
     _Binder.Unbind <IPosition>(_GameZone);
 }
示例#17
0
 void IStage.Leave()
 {
     _Binder.Unbind <IJumpMap>(this);
 }
示例#18
0
 void IStage.Leave()
 {
     _Binder.Unbind <IVerify>(_Verify);
     _Verify.OnDoneEvent -= DoneEvent;
 }