public MyWeaponEffect(string action, string dummy, string particle)
            {
                this.Dummy = dummy;
                this.Particle = particle;

                foreach (WeaponEffectAction act in Enum.GetValues(typeof(WeaponEffectAction)))
                {
                    if (act.ToString().Equals(action))
                    {
                        Action = act;
                        break;
                    }
                }
            }
Пример #2
0
            public MyWeaponEffect(string action, string dummy, string particle)
            {
                this.Dummy    = dummy;
                this.Particle = particle;

                foreach (WeaponEffectAction act in Enum.GetValues(typeof(WeaponEffectAction)))
                {
                    if (act.ToString().Equals(action))
                    {
                        Action = act;
                        break;
                    }
                }
            }