コード例 #1
0
 protected virtual void OnNoShield(NoShieldEventArgs e)
 {
     if (NoShield != null)
     {
         NoShield(this, e);
     }
 }
コード例 #2
0
        private NoShieldEventArgs OnNoShieldForOut()
        {
            NoShieldEventArgs args = new NoShieldEventArgs();

            OnNoShield(args);

            return(args);
        }
コード例 #3
0
        private NoShieldEventArgs OnNoShield(int damage, int hp)
        {
            NoShieldEventArgs args = new NoShieldEventArgs(damage, hp);

            OnNoShield(args);

            return(args);
        }