}        // End Method

        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        // Private Method
        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        // Protected Method
        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// イベント『CostMultiplierChanged』のデータを転送します
        /// </summary>
        /// <param name="e">NumEventArgs</param>
        protected virtual void OnCostMultiplierChanged(NumEventArgs e)
        {
            // この1行で済むらしい……?
            CostMultiplierChanged?.Invoke(this, e);
        }        // End Method
Exemple #2
0
        }        // End Method

        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        // Control Method
        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// HPのStatus Costが変更された時に発生するイベント
        /// </summary>
        /// <param name="sender">object</param>
        /// <param name="e">EventArgsとJobStatusBasicParts StatusCostの値Value</param>
        private void JobStatusHP_CostMultiplierChanged(object sender, NumEventArgs e)
        {
            StatusCost[0] = e.Value;
            CalcStatusCost();
        }        // End Method
Exemple #3
0
        }        // End Method

        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        // Private Method
        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        // Protected Method
        //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// イベント『CostMultiplierChanged』のデータを転送します
        /// </summary>
        /// <param name="e">NumEventArgs</param>
        protected virtual void OnBaseValueChanged(NumEventArgs e)
        {
            // この1行で済むらしい……?
            BaseValueChanged?.Invoke(this, e);
        }        // End Method