예제 #1
0
 protected override void OnHook( MessageConstants.ExecuteCommandHook hookData )
 {
     Development.TODO( "麻痺の実装." );
     var eventHolder = Instantiate( this.refEventHolder );
     hookData.Executer.InsertEventHolder( eventHolder );
     this.internalIsHooked = true;
 }
예제 #2
0
 void OnEndExecuteCommand( MessageConstants.ExecuteCommandHook hookData )
 {
     if( !hookData.Hooked && this.InternalIsHooked )
     {
         this.OnHook( hookData );
         hookData.Hook();
     }
 }
 public void OnExecuteCommand( MessageConstants.ExecuteCommandHook hook )
 {
     if( this.refConditioner.Condition )
     {
         hook.Executer.InsertEventHolder( this.refPositiveEventHolder );
     }
     else
     {
         hook.Executer.InsertEventHolder( this.refNegativeEventHolder );
     }
 }
예제 #4
0
 protected abstract void OnHook( MessageConstants.ExecuteCommandHook hookData );
 public void OnExecuteCommand( MessageConstants.ExecuteCommandHook hook )
 {
     var member = AllPartyManager.Instance.ActiveTimeMaxBattleCharacter;
     refAttackData.CalcurlateNumber( member );
 }
 public void OnExecuteCommand( MessageConstants.ExecuteCommandHook hook )
 {
     hook.Executer.InsertEventHolder( this.refEventHolder );
 }
 public void OnExecuteCommand( MessageConstants.ExecuteCommandHook hook )
 {
     var selectCommandData = AllPartyManager.Instance.ActiveTimeMaxBattleCharacter.SelectCommandData;
     var instance = Instantiate( selectCommandData.AbilityData.PrefabSetTarget );
     hook.Executer.InsertEventHolder( instance );
 }
 public void OnExecuteCommand( MessageConstants.ExecuteCommandHook hook )
 {
     Application.LoadLevel( sceneName );
 }